forked from qt-creator/qt-creator
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:
@@ -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 {
|
QWidget {
|
||||||
layout: HorizontalLayout {
|
layout: HorizontalLayout {
|
||||||
Label {
|
Label {
|
||||||
|
@@ -42,6 +42,7 @@ GroupBox {
|
|||||||
LineEdit {
|
LineEdit {
|
||||||
backendValue: backendValues.text
|
backendValue: backendValues.text
|
||||||
baseStateFlag: isBaseState
|
baseStateFlag: isBaseState
|
||||||
|
translation: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -43,6 +43,7 @@ GroupBox {
|
|||||||
LineEdit {
|
LineEdit {
|
||||||
backendValue: backendValues.text
|
backendValue: backendValues.text
|
||||||
baseStateFlag: isBaseState
|
baseStateFlag: isBaseState
|
||||||
|
translation: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user