8.6.8.11. pymodaq_gui.utils.shared_ui module

class pymodaq_gui.utils.shared_ui.PymodaqUpdateTableWidget[source]

Bases: QTableWidget

A class to represent PyMoDAQ and its subpackages available updates as a table.

Methods

append_row

setHorizontalHeaderLabels

sizeHint

append_row(package, current_version, available_version)[source]
setHorizontalHeaderLabels(labels)[source]
sizeHint()[source]
staticMetaObject = PySide6.QtCore.QMetaObject("PymodaqUpdateTableWidget" inherits "QTableWidget": )
class pymodaq_gui.utils.shared_ui.SharedUI(widget, show=True, title=None)[source]

Bases: CustomApp

This 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

connect_things()

quit_fun()

Quit the current instance of DashBoard and close on cascade move and detector modules.

setup_actions()

setup_docks_and_widgets()

setup_menus_and_toolbars([menubar])

Create the menubar object and toolbars:

check_update

hide

restart_fun

show

show_about

show_app_help

show_changelog

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

check_update(show=True)[source]
connect_things()[source]
hide()[source]
quit_fun()[source]

Quit the current instance of DashBoard and close on cascade move and detector modules.

See also

quit_fun

restart_fun(ask=False)[source]
setup_actions()[source]
setup_docks_and_widgets()[source]
setup_menus_and_toolbars(menubar=None)[source]

Create the menubar object and toolbars:

show(show=True)[source]
show_about()[source]
show_app_help()[source]
show_changelog()[source]
show_config(config)[source]
show_help()[source]
show_log()[source]
staticMetaObject = PySide6.QtCore.QMetaObject("SharedUI" inherits "CustomApp": )
pymodaq_gui.utils.shared_ui.main()[source]