8.5.8.9. pymodaq_gui.utils.shared_ui module
- class pymodaq_gui.utils.shared_ui.MenuToolbarNames(*values)[source]
Bases:
StrEnum- FILE = 'file'
- HELP = 'help'
- RUNTIME = 'runtime'
- SETTINGS = 'settings'
- TOOLBARS = 'toolbars'
- TOOLS = 'tools'
- VIEW = 'view'
- class pymodaq_gui.utils.shared_ui.PymodaqUpdateTableWidget[source]
Bases:
QTableWidgetA class to represent PyMoDAQ and its subpackages available updates as a table.
Methods
setHorizontalHeaderLabels(self, labels)sizeHint()append_row
- class pymodaq_gui.utils.shared_ui.SharedUI(widget, show=True, title=None)[source]
Bases:
CustomAppThis class is a UI wrapper that incorporates all base functionalities one want in a main PyMoDAQ app including default menu and toolbar with settings, log, help… shortcuts
Methods
affect_application(app)Affect the given application to this SharedUI and add the App QMenus to the QMainWindow menubar reordering/merging them if necessary
quit_fun()Quit the current instance of DashBoard and close on cascade move and detector modules.
setup_menus_and_toolbars([menubar])Create the menubar object and toolbars:
check_update
hide
restart_fun
show
show_about
show_config
show_help
show_log
- affect_application(app)[source]
Affect the given application to this SharedUI and add the App QMenus to the QMainWindow menubar reordering/merging them if necessary