diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2017-11-08 14:23:11 +0100 |
---|---|---|
committer | Jani Heikkinen <jani.heikkinen@qt.io> | 2017-11-10 11:02:51 +0000 |
commit | 2eb1d259c6441faa62dc1834664e71995dca9165 (patch) | |
tree | 1aa9d86ae5abe2a1cbf96fd8bd6d94931f24e45a /src/imports/controls/designer/ControlSection.qml | |
parent | d92fdd989fb0355f866356625cf7f68f06cf8280 (diff) |
Update Quick Designer supportv5.9.3
Add a lot of missing controls and properties.
Change-Id: I7c0ff3cc7fd7220e338d78cac575091ff12abf48
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'src/imports/controls/designer/ControlSection.qml')
-rw-r--r-- | src/imports/controls/designer/ControlSection.qml | 37 |
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 + } + } } } |