aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/designer/ButtonSection.qml
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2017-11-08 14:23:11 +0100
committerJani Heikkinen <jani.heikkinen@qt.io>2017-11-10 11:02:51 +0000
commit2eb1d259c6441faa62dc1834664e71995dca9165 (patch)
tree1aa9d86ae5abe2a1cbf96fd8bd6d94931f24e45a /src/imports/controls/designer/ButtonSection.qml
parentd92fdd989fb0355f866356625cf7f68f06cf8280 (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/ButtonSection.qml')
-rw-r--r--src/imports/controls/designer/ButtonSection.qml63
1 files changed, 2 insertions, 61 deletions
diff --git a/src/imports/controls/designer/ButtonSection.qml b/src/imports/controls/designer/ButtonSection.qml
index 05834fdf..15e23df9 100644
--- a/src/imports/controls/designer/ButtonSection.qml
+++ b/src/imports/controls/designer/ButtonSection.qml
@@ -40,22 +40,12 @@ import QtQuick.Layouts 1.0
Section {
id: section
+ caption: qsTr("Button")
SectionLayout {
Label {
- text: qsTr("Text")
- tooltip: qsTr("The text displayed on the %1.").arg(section.caption.toLowerCase())
- }
- SecondColumnLayout {
- LineEdit {
- backendValue: backendValues.text
- Layout.fillWidth: true
- }
- }
-
- Label {
text: qsTr("Highlighted")
- tooltip: qsTr("Whether the %1 is highlighted.").arg(section.caption.toLowerCase())
+ tooltip: qsTr("Whether the button is highlighted.")
}
SecondColumnLayout {
CheckBox {
@@ -64,54 +54,5 @@ Section {
Layout.fillWidth: true
}
}
-
- Label {
- visible: checkable
- text: qsTr("Checkable")
- tooltip: qsTr("Whether the %1 is checkable.").arg(section.caption.toLowerCase())
- }
- SecondColumnLayout {
- CheckBox {
- text: backendValues.checkable.valueToString
- backendValue: backendValues.checkable
- Layout.fillWidth: true
- }
- }
-
- Label {
- text: qsTr("Checked")
- tooltip: qsTr("Whether the %1 is checked.").arg(section.caption.toLowerCase())
- }
- SecondColumnLayout {
- CheckBox {
- text: backendValues.checked.valueToString
- backendValue: backendValues.checked
- Layout.fillWidth: true
- }
- }
-
- Label {
- text: qsTr("Exclusive")
- tooltip: qsTr("Whether the %1 is exclusive.").arg(section.caption.toLowerCase())
- }
- SecondColumnLayout {
- CheckBox {
- text: backendValues.autoExclusive.valueToString
- backendValue: backendValues.autoExclusive
- Layout.fillWidth: true
- }
- }
-
- Label {
- text: qsTr("Repeat")
- tooltip: qsTr("Whether the %1 repeats while pressed and held down.").arg(section.caption.toLowerCase())
- }
- SecondColumnLayout {
- CheckBox {
- text: backendValues.autoRepeat.valueToString
- backendValue: backendValues.autoRepeat
- Layout.fillWidth: true
- }
- }
}
}