[Qt-interest] Transparent QGraphicsProxyWidget

Aron Bierbaum aronbierbaum at gmail.com
Sun Feb 21 17:31:06 CET 2010


We have an application that uses stylesheets to set the background
color of widgets to be transparent before adding to
QGraphicsProxyWidgets and a QGraphicsScene. This allows us to have
semi-transparent windows moving around the canvas so that we can see
what is behind them. Recently we have upgraded from 4.6.0 to 4.6.2 and
we now see some rendering artifacts when caching the graphics items.
It appears that the pixmap that we are caching into doesn't get
completely cleared before re-drawing. Since the background is
semi-transparent this results in rendering artifacts. Does anyone know
how to account for this in 4.6.2 so that we get the same behavior as
we saw with 4.6.0? I have attached a simple example showing the issues
we are seeing.

Thank you,
Aron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: transparent.zip
Type: application/zip
Size: 1040 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100221/0534f951/attachment.zip 


More information about the Qt-interest-old mailing list