Context menu using C ++ / Qt

I wrote C ++ code to display the video and I want to set the context menu on the video screen, as it happens in the vlc player. But what happens when I right-click on the border of the screen, the popup does not appear in the central widget. It is advisable that if you click it anywhere, a pop-up should appear, but this does not happen.

Please help me..

Thanx in advance

+3
source share
1 answer

It looks like you have a video player built into the widget (most likely the main frame), and that you linked the right click to the main widget.

, , ( ), , , , . , .

+1

All Articles