RadioButtonStyle
Provides custom styling for RadioButton More...
This type was introduced in QtQuick.Controls.Styles 1.0.
Properties
Detailed Description
Example:
RadioButton { text: "Radio Button" style: RadioButtonStyle { indicator: Rectangle { implicitWidth: 16 implicitHeight: 16 radius: 9 border.color: control.activeFocus ? "darkblue" : "gray" border.width: 1 Rectangle { anchors.fill: parent visible: control.checked color: "#555" radius: 9 anchors.margins: 4 } } } }
Property Documentation
read-onlycontrol : RadioButton |
The RadioButton attached to this style.
indicator : Component |
This defines the indicator button.
label : Component |
This defines the text label.
spacing : int |
The spacing between indicator and label.