[Development] QPixmap::fill( const QWidget *, ... )
Samuel Rødal
samuel.rodal at nokia.com
Tue Apr 10 18:47:37 CEST 2012
On 04/10/2012 06:40 PM, ext Uwe Rathmann wrote:
> void QPixmap::fill(const QWidget *, ... );
>
> In the documentation it is qualified as obsolete - left for
> compatibility issues only - but in fact it is not implemented at all.
>
> I could copy and strip down the code from Qt 4.8 ( fortunately this is
> possible using public APIs only ), but of course I would prefer to find
> the functionality in Qt 5 somewhere.
What's your use case? Maybe QWidget::render() with DrawWindowBackground
and no DrawChildren can be used instead?
The QPixmap::fill(const QWidget *...) function was not possible to
implement as in 4.8 since QPixmap is now part of QtGui whereas QWidget
is part of QtWidgets.
--
Samuel
More information about the Development
mailing list