Qudi
|
Public Member Functions | |
def | __init__ (self, args, kwargs) |
Constructor. More... | |
def | accept_state_change_callback (self) |
Returns state changing callback function. More... | |
def | accept_state_change_callback (self, value) |
Sets state changing callback function. More... | |
def | nextCheckState (self) |
Protected functions that calls the callback. | |
def qtwidgets.checkbox.CheckBox.__init__ | ( | self, | |
args, | |||
kwargs | |||
) |
Constructor.
See QCheckBox for details.
def qtwidgets.checkbox.CheckBox.accept_state_change_callback | ( | self | ) |
Returns state changing callback function.
The callback function has the following signature: bool bool) where new_state is a boolean with the new state if accepted and the return value is True for acceptance and False for denial.
def qtwidgets.checkbox.CheckBox.accept_state_change_callback | ( | self, | |
value | |||
) |
Sets state changing callback function.
The callback function has the following signature: bool bool) where new_state is a boolean with the new state if accepted and the return value is True for acceptance and False for denial.