QT window context menu prevents EVENT_RBUTTONDOWN mouse event

asked 2013-09-09 02:26:04 -0600

Green gravatar image

Hi, all

I just tried opencv with QT windows, it looks good. However, whenever I clicked the right mouse key on the displayed image it brings up context menu ("actions"), it prevents my customized mouse event with right button. Is there a way to disable the context menu popup? Thanks.

edit retag flag offensive close merge delete

Comments

In what environment did you work on?

itay gravatar imageitay ( 2013-09-09 03:03:25 -0600 )edit

ubuntu 12.04, I guess it is the problem with my QT environment. Now another problem I have is that my application does not respond to keyboard event trigged by upper case letters. I build opencv 2.4.6.1 with QT support on. Thanks for help.

Green gravatar imageGreen ( 2013-09-09 11:17:09 -0600 )edit