Qudi
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
managergui.ModuleListItem Class Reference

This class represents a module widget in the Qudi module list. More...

Inheritance diagram for managergui.ModuleListItem:
Inheritance graph
[legend]
Collaboration diagram for managergui.ModuleListItem:
Collaboration graph
[legend]

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)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __init__()

def managergui.ModuleListItem.__init__ (   self,
  manager,
  basename,
  modulename 
)

Create a module widget.

Parameters
strbasename: module category
strmodulename: unique module name

Member Function Documentation

◆ checkModuleState()

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.


The documentation for this class was generated from the following file: