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? -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Qt Software
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel