4.19. Radio widget class

The Radio class inherits QRadioButton Qt class.

Widget's input value

A string or any object that can be converted to a string. If the string is prefixed with a "+" character, the radio button is checked. The string is used as the radio button's label. The value can also be a boolean value that changes the checked state.

Widget's attributes

The group that the radio button belong to. Only one radio button in a group can be checked at a time.

Widget's output value

A boolean value indicating the radio button state.