On Wednesday 08 July 2009 23:49:43 Aaron J. Seigo wrote: > On Wednesday 08 July 2009, Jacopo De Simoi wrote: > > On Wednesday 08 July 2009 19:41:30 Aaron J. Seigo wrote: > > > On Wednesday 08 July 2009, you wrote: > > > > QPainter from paintEvent.. here is the result: > > > > http://imagebin.ca/view/TFWmBq.html > > > > > > to be clear, the problem we're seeing in that screenshot is what exactly? > > > the colouring of the fade out or the positioning of it? > > > > The problem is that the dialog itself becomes transparent, and fades into > > the desktop; it's like there's a hole in the dialog, whereas we would like > > that just the items become transparent and fade into the background of the > > dialog, as we manage to have if we let QGV::render paint items on a pixmap > > and then put a gradient on it before drawing it using the painter... > > perhaps you are using the wrong compositing setting when painting? it sounds > like you aren't blending it with the contents but rather doing sth like > QPainter::CompositionMode_Source? I'm using destinationIn, basically I copied from your piece of code for the items, however I'll check with other CompositionModes
> > _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel