PDA

View Full Version : Identifying Mouse Moved in contextMenuEvent



mqt
2nd May 2014, 14:05
I am trying to overload contextMenuEvent(QContextMenuEvent *e) in my class. Is there any way to know if context menu is invoked just by right click or by dragging the right mouse? I don't want context menu to be invoked when the right mouse is dragged. Currently it is invoked whenever I drag right mouse and release. Thanks in advance for help.