They might all be working; I'm getting myriad strange behaviors..
Here's the problem that I have:
-I have a widget that's similar to a dialog (in that it can rest over other widgets)
-It uses a translucent background
-If I use QDialog properties (via set window flags) the clicks that go to the translucent part of the widget pass through as a user (or I) would expect them to. This is important be cause this *can* rest over other widgets. The problem with QDialog properties is getting this widget to move with the window is a pain.
-If I used QWidget properties then the object moves with the window but the translucent portion absorbs clicks
I wanted to be lazy about dealing with moving the widgets around together, so I went the QWidget direction assuming i'd be able to pass my clicks/mousemoves/releases through the first widget via a filter. This has not been successful. I'm looking into the properties of QDialogs and QWidgets to figure out the differences so I can make maybe a hybrid of their properties, but that's the best idea I have at the moment.
EDIT:
Maybe using a mask of the widget (since it has a transparent/nonexistent background) would produce an alpha I could use to ignore mouse signals..




Reply With Quote
Bookmarks