CheckBoxStyle
Provides custom styling for CheckBox More...
This type was introduced in QtQuick.Controls.Styles 1.0.
Properties
Detailed Description
Example:
CheckBox { text: "Check Box" style: CheckBoxStyle { indicator: Rectangle { implicitWidth: 16 implicitHeight: 16 radius: 3 border.color: control.activeFocus ? "darkblue" : "gray" border.width: 1 Rectangle { visible: control.checked color: "#555" border.color: "#333" radius: 1 anchors.margins: 4 anchors.fill: parent } } } }
Property Documentation
indicator : Component |
This defines the indicator button.
label : Component |
This defines the text label.
spacing : int |
The spacing between indicator and label.