schrodinger.application.msv.gui.menu module

schrodinger.application.msv.gui.menu.MSV_MAESTRO_MENU

alias of MaestroMsvMenuBar

class schrodinger.application.msv.gui.menu.MaestroMenuBarActions

Bases: schrodinger.application.msv.gui.menu.MenuBarActions

class schrodinger.application.msv.gui.menu.MaestroMsvMenuBar(*args, **kwargs)

Bases: schrodinger.application.msv.gui.menu.MsvMenuBar

class schrodinger.application.msv.gui.menu.MenuAction(label, tooltip=None, shortcut=None, checkable=False, icon_path=None)

Bases: PyQt5.QtWidgets.QAction

class schrodinger.application.msv.gui.menu.MenuBarActions

Bases: object

MenuBarActions provides a namespace for all the actions on the menu bar

iteritems()
itervalues()
class schrodinger.application.msv.gui.menu.MsvMenuBar(*args, **kwargs)

Bases: PyQt5.QtWidgets.QMenuBar

canRedoChanged(can_redo)

Update the menu state depending on whether redo is available

canUndoChanged(can_undo)

Update the menu state depending on whether undo is available

onRedoTextChanged(redo_text)

Update the Red menu action text to reflect the current redo action.

Parameters:redo_text (str) – Text of the current redo action
onUndoTextChanged(undo_text)

Update the Undo menu action text to reflect the current undo action.

Parameters:undo_text (str) – Text of the current undo action
class schrodinger.application.msv.gui.menu.SortMenuAction(label, key, reverse=False, **kwargs)

Bases: schrodinger.application.msv.gui.menu.MenuAction

A menu action that changes the table sorting.