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>
This commit is contained in:
Thomas Hartmann
2013-05-27 10:17:43 +02:00
parent 7403830055
commit a05e63d7b0
3 changed files with 17 additions and 0 deletions

View File

@@ -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 {

View File

@@ -42,6 +42,7 @@ GroupBox {
LineEdit {
backendValue: backendValues.text
baseStateFlag: isBaseState
translation: true
}
}
}

View File

@@ -43,6 +43,7 @@ GroupBox {
LineEdit {
backendValue: backendValues.text
baseStateFlag: isBaseState
translation: true
}
}
}