QmlDesigner: Adding support for text capitalization

Change-Id: I236e8e3152929cd2a5669c78aa7841e84a211aa3
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Thomas Hartmann
2016-10-12 11:39:59 +02:00
committed by Tim Jenssen
parent b0d5887638
commit eed82c8268

View File

@@ -142,6 +142,18 @@ Section {
}
Label {
text: qsTr("Font capitalization")
toolTip: qsTr("Sets the capitalization for the text.")
}
ComboBox {
Layout.fillWidth: true
backendValue: backendValues.font_capitalization
model: ["MixedCase", "AllUppercase", "AllLowercase", "SmallCaps", "Capitalize"]
scope: "Font"
}
Label {
text: qsTr("Font weight")
toolTip: qsTr("Sets the font's weight.")