|
|
Is it possible to create an "event dead" widget in Qt, i.e. a widget you can
paint on but that does not react on (especially) user action like keyboard or
mouse events?
My main problem is the DnD functionality.
While e.g. setting a mask on the widget masks all mouse events in the masked
area as well (as expected) and thus also allows to set the keyboard focus
properly, the DnD events aren't masked and while i was able to send down
mouse events of the non masked area to the below widgets (region comaration +
QCoreApplication::sendEvent()) the DnD events are allways pushed back upwards
to the widget that should have been "event dead" resulting in a recursion.
I can of course catch the recursion, but that won't help me as still the lower
widgets won't handle the DnD events....
I know that recent X versions support eventshaping (like XShape) but have no
idea about Windows and Mac (or what will happen if i apply this to the Qt
widgets)
Thanks,
Thomas
--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/
|
|