The Button class inherits QPushButton Qt class.
Widget's input value
A string or any object that can be converted to a string. If the string starts with "+" or "-" character, the button can be checked. "+" sets the button's state to checked, "-" to unchecked. If the button is checkable the value can be True or False.
Widget's attributes
Widget's output value
If the button is checkable, the output value is a boolean indicating the checked state. If the button is not checkable, the output value corresponds to the button label.