aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/designer/ControlSection.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/ControlSection.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/ControlSection.qml')
-rw-r--r--src/imports/controls/designer/ControlSection.qml37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/imports/controls/designer/ControlSection.qml b/src/imports/controls/designer/ControlSection.qml
index 7ecb5760..90dd3816 100644
--- a/src/imports/controls/designer/ControlSection.qml
+++ b/src/imports/controls/designer/ControlSection.qml
@@ -55,6 +55,31 @@ Section {
}
Label {
+ text: qsTr("Focus Policy")
+ tooltip: qsTr("Focus policy of the control.")
+ }
+ SecondColumnLayout {
+ ComboBox {
+ backendValue: backendValues.focusPolicy
+ model: [ "TabFocus", "ClickFocus", "StrongFocus", "WheelFocus", "NoFocus" ]
+ scope: "Qt"
+ Layout.fillWidth: true
+ }
+ }
+
+ Label {
+ text: qsTr("Hover")
+ tooltip: qsTr("Whether control accepts hover evets.")
+ }
+ SecondColumnLayout {
+ CheckBox {
+ text: backendValues.hoverEnabled.valueToString
+ backendValue: backendValues.hoverEnabled
+ Layout.fillWidth: true
+ }
+ }
+
+ Label {
text: qsTr("Spacing")
tooltip: qsTr("Spacing between internal elements of the control.")
}
@@ -67,5 +92,17 @@ Section {
Layout.fillWidth: true
}
}
+
+ Label {
+ text: qsTr("Wheel")
+ tooltip: qsTr("Whether control accepts wheel evets.")
+ }
+ SecondColumnLayout {
+ CheckBox {
+ text: backendValues.wheelEnabled.valueToString
+ backendValue: backendValues.wheelEnabled
+ Layout.fillWidth: true
+ }
+ }
}
}