From eed82c82688fccc5415359b0cc4bd76abeb745e9 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Wed, 12 Oct 2016 11:39:59 +0200 Subject: [PATCH] QmlDesigner: Adding support for text capitalization Change-Id: I236e8e3152929cd2a5669c78aa7841e84a211aa3 Reviewed-by: Tim Jenssen --- .../HelperWidgets/FontSection.qml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/FontSection.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/FontSection.qml index c4d14d40073..227bf3ec489 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/FontSection.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/FontSection.qml @@ -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.")