aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/CheckBox.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/controls/CheckBox.qml')
-rw-r--r--src/imports/controls/CheckBox.qml11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/imports/controls/CheckBox.qml b/src/imports/controls/CheckBox.qml
index 20d8ef1c..4b7af3b1 100644
--- a/src/imports/controls/CheckBox.qml
+++ b/src/imports/controls/CheckBox.qml
@@ -67,7 +67,16 @@ T.CheckBox {
x: (parent.width - width) / 2
y: (parent.height - height) / 2
source: "qrc:/qt-project.org/imports/Qt/labs/controls/images/check.png"
- visible: control.checked
+ visible: control.checkState === Qt.Checked
+ }
+
+ Rectangle {
+ x: (parent.width - width) / 2
+ y: (parent.height - height) / 2
+ width: 16
+ height: 3
+ color: "#353637"
+ visible: control.checkState === Qt.PartiallyChecked
}
}
//! [indicator]