Qudi
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
laser.LaserGUI Class Reference

FIXME Please document. More...

Inheritance diagram for laser.LaserGUI:
Inheritance graph
[legend]
Collaboration diagram for laser.LaserGUI:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, config, kwargs)
 
def on_activate (self)
 Definition and initialisation of the GUI plus staring the measurement.
 
def on_deactivate (self)
 Deactivate the module properly.
 
def show (self)
 Make window visible and put it above all other windows.
 
def restoreDefaultView (self)
 Restore the arrangement of DockWidgets to the default.
 
def updateViews (self)
 Keep plot views for left and right axis identical when resizing the plot widget. More...
 
def changeLaserState (self, on)
 Disable laser power button and give logic signal. More...
 
def changeShutterState (self, on)
 Disable laser shutter button and give logic signal. More...
 
def changeControlMode (self, buttonId)
 Process signal from laser control mode radio button group. More...
 
def updateButtonsEnabled (self)
 Logic told us to update our button states, so set the buttons accordingly. More...
 
def updateGui (self)
 Update labels, the plot and button states with new data. More...
 
def updateFromSpinBox (self)
 The user has changed the spinbox, update all other values from that. More...
 
def updateFromSlider (self)
 The user has changed the slider, update all other values from that. More...
 

Public Attributes

 curves
 
 plot1
 
 plot2
 
 sliderProxy
 

Static Public Attributes

 laserlogic = Connector(interface='LaserLogic')
 declare connectors
 
 sigLaser = QtCore.Signal(bool)
 
 sigShutter = QtCore.Signal(bool)
 
 sigPower = QtCore.Signal(float)
 
 sigCurrent = QtCore.Signal(float)
 
 sigCtrlMode = QtCore.Signal(ControlMode)
 

Detailed Description

FIXME Please document.

Member Function Documentation

◆ changeControlMode()

def laser.LaserGUI.changeControlMode (   self,
  buttonId 
)

Process signal from laser control mode radio button group.

◆ changeLaserState()

def laser.LaserGUI.changeLaserState (   self,
  on 
)

Disable laser power button and give logic signal.

Logic reaction to that signal will enable the button again.

◆ changeShutterState()

def laser.LaserGUI.changeShutterState (   self,
  on 
)

Disable laser shutter button and give logic signal.

Logic reaction to that signal will enable the button again.

◆ updateButtonsEnabled()

def laser.LaserGUI.updateButtonsEnabled (   self)

Logic told us to update our button states, so set the buttons accordingly.

◆ updateFromSlider()

def laser.LaserGUI.updateFromSlider (   self)

The user has changed the slider, update all other values from that.

◆ updateFromSpinBox()

def laser.LaserGUI.updateFromSpinBox (   self)

The user has changed the spinbox, update all other values from that.

◆ updateGui()

def laser.LaserGUI.updateGui (   self)

Update labels, the plot and button states with new data.

◆ updateViews()

def laser.LaserGUI.updateViews (   self)

Keep plot views for left and right axis identical when resizing the plot widget.


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