Qudi
|
A class to test gui module loading. More...
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') | |
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.
def testgui.TestGui.__init__ | ( | self, | |
config, | |||
kwargs | |||
) |
Create a TestWindow object.
dict | config: configuration dictionary |
dict | kwargs: further optional arguments |