diff options
| author | Thomas Hartmann <Thomas.Hartmann@digia.com> | 2013-05-27 10:17:43 +0200 |
|---|---|---|
| committer | Thomas Hartmann <Thomas.Hartmann@digia.com> | 2013-05-29 18:21:09 +0200 |
| commit | a05e63d7b0d277a1fc99761311e6a007789147ac (patch) | |
| tree | 3c7502c39435f97742c0d266fe16c8a5441a9923 /src | |
| parent | 74038300553faa003ecb29e20f143b6b62fc692c (diff) | |
| download | qt-creator-a05e63d7b0d277a1fc99761311e6a007789147ac.tar.gz | |
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 <Thomas.Hartmann@digia.com>
Diffstat (limited to 'src')
3 files changed, 17 insertions, 0 deletions
diff --git a/src/plugins/qmldesigner/componentsplugin/Controls/ButtonSpecifics.qml b/src/plugins/qmldesigner/componentsplugin/Controls/ButtonSpecifics.qml index 3fa325c189..95101e3599 100644 --- a/src/plugins/qmldesigner/componentsplugin/Controls/ButtonSpecifics.qml +++ b/src/plugins/qmldesigner/componentsplugin/Controls/ButtonSpecifics.qml @@ -89,6 +89,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 { text: qsTr("Default button") toolTip: qsTr("Sets the button as the default button in a dialog.") } diff --git a/src/plugins/qmldesigner/componentsplugin/Controls/CheckBoxSpecifics.qml b/src/plugins/qmldesigner/componentsplugin/Controls/CheckBoxSpecifics.qml index 12486b9067..412fdeb95b 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 d006c3d963..25ed160c0f 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 } } } |
