diff options
author | J-P Nurmi <jpnurmi@theqtcompany.com> | 2016-01-26 10:01:25 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@theqtcompany.com> | 2016-01-28 09:29:47 +0000 |
commit | eebd3759a789bcc62efed3cfde5123c44e958457 (patch) | |
tree | ef537870bd5d174d4db01344e530bc1196844268 /src/imports/controls/designer/SwitchSpecifics.qml | |
parent | 2ed9dc9cbb6fbf3a68780b48a456ce3ef9bf82c0 (diff) |
QML Designer: add a bunch of missing controls and properties
Change-Id: I29e286b9df08fc531f053158da379c5d6898bada
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'src/imports/controls/designer/SwitchSpecifics.qml')
-rw-r--r-- | src/imports/controls/designer/SwitchSpecifics.qml | 29 |
1 files changed, 2 insertions, 27 deletions
diff --git a/src/imports/controls/designer/SwitchSpecifics.qml b/src/imports/controls/designer/SwitchSpecifics.qml index 63fdb4bf..e1626eb0 100644 --- a/src/imports/controls/designer/SwitchSpecifics.qml +++ b/src/imports/controls/designer/SwitchSpecifics.qml @@ -41,34 +41,9 @@ import QtQuick.Layouts 1.0 Column { width: parent.width - Section { - width: parent.width + ButtonSection { caption: qsTr("Switch") - - SectionLayout { - Label { - text: qsTr("Text") - tooltip: qsTr("The text displayed on the switch.") - } - SecondColumnLayout { - LineEdit { - backendValue: backendValues.text - Layout.fillWidth: true - } - } - - Label { - text: qsTr("Checked") - tooltip: qsTr("The checked state of the switch.") - } - SecondColumnLayout { - CheckBox { - text: backendValues.checked.valueToString - backendValue: backendValues.checked - Layout.fillWidth: true - } - } - } + width: parent.width } ControlSection { |