Qudi
Public Member Functions | List of all members
qtwidgets.checkbox.CheckBox Class Reference
Inheritance diagram for qtwidgets.checkbox.CheckBox:
Inheritance graph
[legend]
Collaboration diagram for qtwidgets.checkbox.CheckBox:
Collaboration graph
[legend]

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.
 

Constructor & Destructor Documentation

◆ __init__()

def qtwidgets.checkbox.CheckBox.__init__ (   self,
  args,
  kwargs 
)

Constructor.

See QCheckBox for details.

Member Function Documentation

◆ accept_state_change_callback() [1/2]

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.

◆ accept_state_change_callback() [2/2]

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.


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