[Qt-interest] Blocked events on title bar right click.
Jay Caldwell
Jay.Caldwell at cea.com.au
Wed Dec 23 05:10:36 CET 2009
Following up:
I can now make the ContextMenu not be shown by setting
Qt::CustomizeWindowHint. Now events flow if the user lets go of the
right mouse button on the NonClientArea (i.e. Tilte Bar) but are still
blocked if the user holds down the right mouse button.
Thanks,
Jay
________________________________
From: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] On Behalf Of Jay Caldwell
Sent: Wednesday, 23 December 2009 10:52 AM
To: qt-interest at trolltech.com
Subject: [Qt-interest] Blocked events on title bar right click.
Hi All,
We are having an issue where events are being blocked when a dialog box
title bar is right clicked. Right clicking the title bar pops up the
"Move, Size, Minimise, Maximise, Close" menu box.
We have tried to use the event filter to catch the event and force it to
process all events via QCoreApplication::processEvents
(QEventLoop::AllEvents ) to no avail. So we printed to std out all the
event types to see what the last event is whilst right clicking on the
title bar. There was no event at all once the right click was carried
out. We were expecting a right click event at least.
So as a work around, is there a way to stop this menu from being popped
up? Or is there another solution?
Cheers,
Jay.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091223/74564977/attachment.html
More information about the Qt-interest-old
mailing list