From a05e63d7b0d277a1fc99761311e6a007789147ac Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Mon, 27 May 2013 10:17:43 +0200 Subject: [PATCH] QmlDesigner.Controls: updating sheets for Controls Updating sheets for QtQuick.Controls: * Adding enabled to Button * Adding translation to CheckBox * Adding translation to RadioButton Change-Id: I7d312c19e14cd7d653f0878cbae8af66641aa7f7 Reviewed-by: Thomas Hartmann --- .../componentsplugin/Controls/ButtonSpecifics.qml | 15 +++++++++++++++ .../Controls/CheckBoxSpecifics.qml | 1 + .../Controls/RadioButtonSpecifics.qml | 1 + 3 files changed, 17 insertions(+) diff --git a/src/plugins/qmldesigner/componentsplugin/Controls/ButtonSpecifics.qml b/src/plugins/qmldesigner/componentsplugin/Controls/ButtonSpecifics.qml index 3fa325c1890..95101e35996 100644 --- a/src/plugins/qmldesigner/componentsplugin/Controls/ButtonSpecifics.qml +++ b/src/plugins/qmldesigner/componentsplugin/Controls/ButtonSpecifics.qml @@ -86,6 +86,21 @@ QWidget { } } + QWidget { + layout: HorizontalLayout { + Label { + text: qsTr("Enabled") + toolTip: qsTr("Determines whether the button is enabled or not.") + } + CheckBox { + text: backendValues.enabled.value + backendValue: backendValues.enabled + baseStateFlag: isBaseState + checkable: true + } + } + } + QWidget { layout: HorizontalLayout { Label { diff --git a/src/plugins/qmldesigner/componentsplugin/Controls/CheckBoxSpecifics.qml b/src/plugins/qmldesigner/componentsplugin/Controls/CheckBoxSpecifics.qml index 12486b9067b..412fdeb95bf 100644 --- a/src/plugins/qmldesigner/componentsplugin/Controls/CheckBoxSpecifics.qml +++ b/src/plugins/qmldesigner/componentsplugin/Controls/CheckBoxSpecifics.qml @@ -42,6 +42,7 @@ GroupBox { LineEdit { backendValue: backendValues.text baseStateFlag: isBaseState + translation: true } } } diff --git a/src/plugins/qmldesigner/componentsplugin/Controls/RadioButtonSpecifics.qml b/src/plugins/qmldesigner/componentsplugin/Controls/RadioButtonSpecifics.qml index d006c3d9634..25ed160c0f4 100644 --- a/src/plugins/qmldesigner/componentsplugin/Controls/RadioButtonSpecifics.qml +++ b/src/plugins/qmldesigner/componentsplugin/Controls/RadioButtonSpecifics.qml @@ -43,6 +43,7 @@ GroupBox { LineEdit { backendValue: backendValues.text baseStateFlag: isBaseState + translation: true } } }