[Qt-interest] Events on Transparent Window
Sean Hayes
sean.t.hayes at vanderbilt.edu
Fri Feb 11 17:28:17 CET 2011
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110211/2a1613ef/attachment.html
More information about the Qt-interest-old
mailing list