Qudi
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
testgui.TestGui Class Reference

A class to test gui module loading. More...

Inheritance diagram for testgui.TestGui:
Inheritance graph
[legend]
Collaboration diagram for testgui.TestGui:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, config, kwargs)
 Create a TestWindow object. More...
 
def on_activate (self)
 This creates all the necessary UI elements.
 
def on_deactivate (self)
 
def handleButton (self)
 Change style of buttons.
 
def handleButtonError (self)
 Produce an exception for testing.
 
def getState (self)
 

Public Attributes

 cwdget
 
 button
 
 buttonerror
 
 checkbutton
 
 layout
 

Static Public Attributes

 buttonText = ConfigOption('text', 'No Text configured')
 
 infoOption = ConfigOption('info', 'Info Option', missing='info')
 
 warningOption = ConfigOption('warning', 'Warning Option', missing='warn')
 
 errorOption = ConfigOption('error', missing='error')
 

Detailed Description

A class to test gui module loading.

This class does not implement a show() method to test the error thrown by GUIBase when this function is not implemented.

Constructor & Destructor Documentation

◆ __init__()

def testgui.TestGui.__init__ (   self,
  config,
  kwargs 
)

Create a TestWindow object.

Parameters
dictconfig: configuration dictionary
dictkwargs: further optional arguments

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