[Development] QPixmap::fill( const QWidget *, ... )

Uwe Rathmann Uwe.Rathmann at tigertal.de
Tue Apr 10 23:08:32 CEST 2012


On 04/10/2012 09:43 PM, Andreas Aardal Hanssen wrote:
> Den 21:10 10. april 2012 skrev Uwe Rathmann <Uwe.Rathmann at tigertal.de 
> <mailto:Uwe.Rathmann at tigertal.de>> følgende:
>
>
> You want to take a screenshot of the widget from within the widget's 
> own paintEvent?

No, I need a replacement for QPixmap::fill() - like you can see in the 
title. Please have a look at my previous mail, where I already wrote 
down why there are situations, where the way how Qt fills the background 
is not satisfying.

Basically I would like to see a replacement for QPixmap::fill()  - f.e. 
QWidget::fillPixmap( QPixmap &, ... ) -  similar to what has been done 
by moving QPixmap::grabWidget() to QWidget::grab. This way your new 
modularization should work and no functionality is lost.

Uwe



More information about the Development mailing list