[Qt-interest] How to disable QWidget auto fill background before paintEvent?

Dong Tiger idlecat511 at gmail.com
Thu May 14 16:35:18 CEST 2009


Hi,

I know Qt::WA_NoSystemBackground is for this purpose. It does work if
composition is disabled and it also works with Qt4.3 when composition is
enabled. But with Qt4.5 and composition enabled, the widget will be
automatically filled with transparent background before paintEvent being
called. But I don't want to repaint the whole widget.

Any idea? TIA.

--
Tiger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090514/749f13b6/attachment.html 


More information about the Qt-interest-old mailing list