Qudi
|
This class represents a module widget in the Qudi module list. More...
Public Member Functions | |
def | __init__ (self, manager, basename, modulename) |
Create a module widget. More... | |
def | loadButtonClicked (self) |
Send signal to load and activate this module. | |
def | reloadButtonClicked (self) |
Send signal to reload this module. | |
def | deactivateButtonClicked (self) |
Send signal to deactivate this module. | |
def | cleanupButtonClicked (self) |
Send signal to deactivate this module. | |
def | checkModuleState (self) |
Get the state of this module and update visual indications in the GUI. More... | |
Public Attributes | |
manager | |
name | |
base | |
Static Public Attributes | |
sigLoadThis = QtCore.Signal(str, str) | |
sigReloadThis = QtCore.Signal(str, str) | |
sigDeactivateThis = QtCore.Signal(str, str) | |
sigCleanupStatus = QtCore.Signal(str, str) | |
This class represents a module widget in the Qudi module list.
str str sigLoadThis: gives signal with base and name of module to be loaded str str sigReloadThis: gives signal with base and name of module to be reloaded str str sigStopThis: gives signal with base and name of module to be deactivated
def managergui.ModuleListItem.__init__ | ( | self, | |
manager, | |||
basename, | |||
modulename | |||
) |
Create a module widget.
str | basename: module category |
str | modulename: unique module name |
def managergui.ModuleListItem.checkModuleState | ( | self | ) |
Get the state of this module and update visual indications in the GUI.
Modules cannot be unloaded, but they can be deactivated.
Once loaded, the "load <module>" button will remain checked and its text will be updated to indicate that loading is no longer possible.