Molara-Lab / Molara

Molara is a Python package for the visualization of chemical structures such as molecules or crystals. It provides a graphical user interface for importing structures from output files of popular computational chemistry software as well as for creating custom structures.
GNU General Public License v3.0
14 stars 1 forks source link

Right-click context menu in gui #518

Open adrianusler opened 3 weeks ago

adrianusler commented 3 weeks ago

When right-clicking the StructureWidget (or openGLWidget), it would be nice to have a context menu in which one can change display settings.

adrianusler commented 3 weeks ago

https://stackoverflow.com/questions/20930764/how-to-add-a-right-click-menu-to-each-cell-of-qtableview-in-pyqt

https://stackoverflow.com/questions/60057613/context-menu-events-not-working-in-qopenglwindow