About the right click on mainwindow's toolbar

Operating system:windows10 64 bit
Slicer version:4.11
Expected behavior:
Actual behavior:
When i was right clicked the toolbars on mainwindow, a menu manager the toolbars like ‘module panel’,‘load/save’…was poped up. And i want to know where is code about the event on slicer source code…

image
This is controlled by Qt which is the GUI framework dependency used by Slicer. Therefore it is not something in the Slicer source code.

You can see information about a QMainWindow’s toolbar pop-up menu at: https://doc.qt.io/qt-5/qmainwindow.html#createPopupMenu

1 Like

thanks for your help!