Donner
22nd February 2011, 18:25
Hey,
is there a way of disabling certain triggers that cause the QContextMenuEvent being sent to a widget?
For instance, I don't want the context menu to open when the user presses the right mouse button, but I do want it to open when the context-menu-key on the keyboard is being pressed.
How can I do that?
Thank you very much for your help! :)
D.
is there a way of disabling certain triggers that cause the QContextMenuEvent being sent to a widget?
For instance, I don't want the context menu to open when the user presses the right mouse button, but I do want it to open when the context-menu-key on the keyboard is being pressed.
How can I do that?
Thank you very much for your help! :)
D.