Qudi
|
Class which customize QRadioButton behaviour. More...
Public Member Functions | |
def | __init__ (self, args) |
def | isReadOnly (self) |
Check the current state of the Radiobox. More... | |
def | mousePressEvent (self, event) |
Handle what happens on press event of the mouse. More... | |
def | mouseReleaseEvent (self, event) |
Handle what happens on release of the mouse. More... | |
def | keyPressEvent (self, event) |
def | setReadOnly (self, state) |
Set the Readonly state. More... | |
Static Public Attributes | |
readOnly = QtCore.pyqtProperty(bool, isReadOnly, setReadOnly) | |
Class which customize QRadioButton behaviour.
The following customization have been applied:
def qtwidgets.qradiobutton_custom.CustomQRadioButton.isReadOnly | ( | self | ) |
Check the current state of the Radiobox.
def qtwidgets.qradiobutton_custom.CustomQRadioButton.mousePressEvent | ( | self, | |
event | |||
) |
Handle what happens on press event of the mouse.
event | QEvent of a Mouse Release action |
def qtwidgets.qradiobutton_custom.CustomQRadioButton.mouseReleaseEvent | ( | self, | |
event | |||
) |
Handle what happens on release of the mouse.
event | QEvent of a Mouse Release action |
def qtwidgets.qradiobutton_custom.CustomQRadioButton.setReadOnly | ( | self, | |
state | |||
) |
Set the Readonly state.
bool | state: True or False, for having a readonly QRadioButton. |