[Qt-interest] Events on Transparent Window
Atlant Schmidt
aschmidt at dekaresearch.com
Fri Feb 11 17:38:24 CET 2011
Sean:
Sorry - our replies "crossed in the mail"; please ignore my latest.
Atlant
________________________________
From: qt-interest-bounces+aschmidt=dekaresearch.com at qt.nokia.com [mailto:qt-interest-bounces+aschmidt=dekaresearch.com at qt.nokia.com] On Behalf Of Atlant Schmidt
Sent: Friday, February 11, 2011 11:37
To: 'Sean Hayes'; Oliver.Knoll
Cc: qt-interest
Subject: Re: [Qt-interest] Events on Transparent Window
Sean:
I'll say it again: instead of making the window fully transparent, make it
infinitesimally opaque so that it isn't transparent to mouse clicks.
Atlant
________________________________
From: qt-interest-bounces+aschmidt=dekaresearch.com at qt.nokia.com [mailto:qt-interest-bounces+aschmidt=dekaresearch.com at qt.nokia.com] On Behalf Of Sean Hayes
Sent: Friday, February 11, 2011 11:28
To: Oliver.Knoll
Cc: qt-interest
Subject: Re: [Qt-interest] Events on Transparent Window
Oliver,
> Setting full transparency causes Windows to send the event directly to
> the window underneath, defeating the purpose. Any ideas on how to
> force the transparent window to receve events? I have tried this with QWidget::setWindowOpacity(0).
I am completely shooting into the blue here, but in my case setting QGraphicsItem#setShapeMode() to the value 'QGraphicsPixmapItem::BoundingRectShape' helped.
Thanks for your suggestion. I think that would work nicely in the QGraphicsView. However, I am not using one. I am using standard QWidgets, which do not have a shape method.
Cheers,
Sean
Click here<https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg==> to report this email as spam.
________________________________
This e-mail and the information, including any attachments, it contains are intended to be a confidential communication only to the person or entity to whom it is addressed and may contain information that is privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the sender and destroy the original message.
Thank you.
Please consider the environment before printing this email.
________________________________
This e-mail and the information, including any attachments, it contains are intended to be a confidential communication only to the person or entity to whom it is addressed and may contain information that is privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the sender and destroy the original message.
Thank you.
Please consider the environment before printing this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110211/26a9ccc6/attachment.html
More information about the Qt-interest-old
mailing list