I want to right click menu from line edit and date time edit Control. How I can do this.
Thanks in advance.
I want to right click menu from line edit and date time edit Control. How I can do this.
Thanks in advance.
But do you want to disable such menu or create one?
Try withOriginally Posted by safknw
Qt Code:
object->setContextMenuPolicy ( Qt::NoContextMenu);To copy to clipboard, switch view to plain text mode
A camel can go 14 days without drink,
I can't!!!
This is not working on Qt3.3.4 (suse 9.2)Originally Posted by mcosta
Any other way to disable Context Menu.
Next time, please, add information about the version in the first post, so you won't waste others time.Originally Posted by safknw
You can try to install an event filter that consumes QContextMenuEvents.Originally Posted by safknw
Bookmarks