[Qt4-preview-feedback] QGraphicsItem::ItemIgnoresParentOpacity
Phil Hannent
phil at hannent.co.uk
Thu Feb 12 17:25:41 CET 2009
http://doc.trolltech.com/4.5/qgraphicsitem.html
Hello,
I have a graphics application for creating interactive whiteboard presentations,
its a merger of PowerPoint/Impress and a paint package.
I wanted to create a mode where I set the MainWindow's opacity to 10% and still
have GraphicsItems at 100% opacity, so you could annotate over another
application.
I was hoping that the QGraphicsItem::ItemIgnoresParentOpacity flag would allow
me to set that on the QGraphicsItem and not have it inherit the opacity.
However it does not work that way, the graphics items still have the same
opacity as the mainwindow.
Is that a bug or does that flag only apply between QGraphicsItems?
I am using 4.5-rc1 on MSVC++ 2008
Regards
Phil Hannent
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
Url : http://lists.qt.nokia.com/pipermail/qt4-feedback/attachments/20090212/59edf917/attachment.bin
More information about the Qt4-feedback
mailing list