[Qt-interest] How to draw a line on the mainwindow

David Boddie david.boddie at nokia.com
Fri Feb 6 13:55:21 CET 2009


Alexandre Beraud wrote:

> I don't know exactly why theQt::WA_TransparentForMouseEvents attribute
> is not documented and maybe not officialy supported.

I don't think there is a good reason why it isn't documented, so it will be
documented in future releases:

  http://doc.trolltech.com/4.5-snapshot/qt.html#WidgetAttribute-enum

> Anyway it's the 
> only way to do it as far as I know. I would add to your tutorial that
> the widget should be raised() every time there is a risk that another
> widget is added over it.

That might well be necessary in some situations. More experimentation is
required. Please feel free to add your notes to the QtCentre Wiki! :-)

David
-- 
David Boddie
Senior Technical Writer
Nokia, Qt Software



More information about the Qt-interest-old mailing list