Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Opencv 2.4.9 highgui +qt: howto disable menu (right click context)

Hello all,

I'm looking for a way to disable the context menu when right clicking on namedWindow (see http://docs.opencv.org/modules/highgui/doc/qt_new_functions.html for clarification)

The reason is, I want to use the right mouse button for some user interaction but the menu keeps popping up and is therefore disturbing havily.

I also tried to identifiy the part of opencv source code (QT_window.cpp) where the callback function with rightbuttonup is set - as you might guess, unsuccessfully.

Thank you for any help.

Kind regards AR