[Qt-interest] Two window interaction.
Ulf-Alexander v. Ceumern-Lindenstjerna
ceumern at vrmagic.com
Thu Nov 26 14:16:34 CET 2009
Try QWidget::setAttribute(Qt::WA_TransparentForMouseEvents)
I read about that in Qt Quarterly some time ago.
See:
http://doc.trolltech.com/4.5/qt.html#WidgetAttribute-enum
cheers, Ulf
> -----Original Message-----
> From: qt-interest-bounces at trolltech.com [mailto:qt-interest-
> bounces at trolltech.com] On Behalf Of manish.s.sharma at nokia.com
> Sent: Thursday, November 26, 2009 2:04 PM
> To: qt-interest at trolltech.com
> Subject: [Qt-interest] Two window interaction.
>
> Hi All,
>
> I have two QWidget w1 and w2. W2 shown on top of w1 overlapping
> completely w1. W2's some part is transparent and we can see some part
> of w1 widgets through w2. Is it possible that if I click on the
> transparent part of w2, event goes to w1 widget? (w2 and w1 doesn't
> have any parent and child relationship).
>
> Regards,
> Manish
>
>
More information about the Qt-interest-old
mailing list