aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/designer/DialSpecifics.qml
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2017-11-21 10:59:33 +0100
committerLiang Qi <liang.qi@qt.io>2017-11-21 10:59:33 +0100
commit1265fef3b290665272d3aacd0ba5213c43bad89d (patch)
tree92bc01468d3888bfa01baf7cbf01a3ece6e8c4d0 /src/imports/controls/designer/DialSpecifics.qml
parentfe4505386f7136f9475099901b4770bfb566818d (diff)
parent2eb1d259c6441faa62dc1834664e71995dca9165 (diff)
Merge remote-tracking branch 'origin/5.9.3' into 5.10.0v5.10.0-rc3v5.10.0-rc2v5.10.0-rc1v5.10.0
Diffstat (limited to 'src/imports/controls/designer/DialSpecifics.qml')
-rw-r--r--src/imports/controls/designer/DialSpecifics.qml29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/imports/controls/designer/DialSpecifics.qml b/src/imports/controls/designer/DialSpecifics.qml
index 52bba078..6c9bda34 100644
--- a/src/imports/controls/designer/DialSpecifics.qml
+++ b/src/imports/controls/designer/DialSpecifics.qml
@@ -55,6 +55,7 @@ Column {
minimumValue: Math.min(backendValues.from.value, backendValues.to.value)
maximumValue: Math.max(backendValues.from.value, backendValues.to.value)
decimals: 2
+ stepSize: 0.1
backendValue: backendValues.value
Layout.fillWidth: true
}
@@ -69,6 +70,7 @@ Column {
maximumValue: 9999999
minimumValue: -9999999
decimals: 2
+ stepSize: 0.1
backendValue: backendValues.from
Layout.fillWidth: true
}
@@ -83,6 +85,7 @@ Column {
maximumValue: 9999999
minimumValue: -9999999
decimals: 2
+ stepSize: 0.1
backendValue: backendValues.to
Layout.fillWidth: true
}
@@ -97,10 +100,36 @@ Column {
maximumValue: 9999999
minimumValue: -9999999
decimals: 2
+ stepSize: 0.1
backendValue: backendValues.stepSize
Layout.fillWidth: true
}
}
+
+ Label {
+ text: qsTr("Snap Mode")
+ tooltip: qsTr("The snap mode of the dial.")
+ }
+ SecondColumnLayout {
+ ComboBox {
+ backendValue: backendValues.orientation
+ model: [ "NoSnap", "SnapOnRelease", "SnapAlways" ]
+ scope: "Dial"
+ Layout.fillWidth: true
+ }
+ }
+
+ Label {
+ text: qsTr("Live")
+ tooltip: qsTr("Whether the dial provides live value updates.")
+ }
+ SecondColumnLayout {
+ CheckBox {
+ text: backendValues.live.valueToString
+ backendValue: backendValues.live
+ Layout.fillWidth: true
+ }
+ }
}
}