diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/TextExtrasSection.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/TextExtrasSection.qml index d9dab055e2b..b7381d05d7d 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/TextExtrasSection.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/TextExtrasSection.qml @@ -137,6 +137,31 @@ Section { ExpandingSpacer {} } + PropertyLabel { + text: qsTr("Render type quality") + tooltip: qsTr("Overrides the default rendering type quality for this component.") + blockedByTemplate: !root.isBackendValueAvailable("renderTypeQuality") + enabled: backendValues.renderType !== undefined + ? backendValues.renderType.enumeration === "QtRendering" + : false + } + + SecondColumnLayout { + ComboBox { + implicitWidth: StudioTheme.Values.singleControlColumnWidth + + StudioTheme.Values.actionIndicatorWidth + width: implicitWidth + scope: "Text" + model: ["DefaultRenderTypeQuality", "LowRenderTypeQuality", "NormalRenderTypeQuality", + "HighRenderTypeQuality", "VeryHighRenderTypeQuality"] + backendValue: backendValues.renderTypeQuality + enabled: root.isBackendValueAvailable("renderTypeQuality") + && backendValues.renderType.enumeration === "QtRendering" + } + + ExpandingSpacer {} + } + PropertyLabel { visible: root.showLineHeight text: qsTr("Line height mode") diff --git a/share/qtcreator/qmldesigner/qt4mcu/qul-14.qml b/share/qtcreator/qmldesigner/qt4mcu/qul-14.qml index cebc31f67c0..03110763f5b 100644 --- a/share/qtcreator/qmldesigner/qt4mcu/qul-14.qml +++ b/share/qtcreator/qmldesigner/qt4mcu/qul-14.qml @@ -118,7 +118,7 @@ VersionData { allowedProperties: ["rotation", "scale", "transformOrigin"] bannedProperties: ["elide", "lineHeight", "lineHeightMode", "wrapMode", "style", "styleColor", "minimumPointSize", "minimumPixelSize", - "fontSizeMode", "renderType", "textFormat", "maximumLineCount"] + "fontSizeMode", "renderType", "renderTypeQuality", "textFormat", "maximumLineCount"] } //Padding is not an actual item, but rather set of properties in Text diff --git a/share/qtcreator/qmldesigner/qt4mcu/qul-17.qml b/share/qtcreator/qmldesigner/qt4mcu/qul-17.qml index b8dc8d3d832..765c54bd9d7 100644 --- a/share/qtcreator/qmldesigner/qt4mcu/qul-17.qml +++ b/share/qtcreator/qmldesigner/qt4mcu/qul-17.qml @@ -120,7 +120,7 @@ VersionData { allowedProperties: ["rotation", "scale", "transformOrigin"] bannedProperties: ["elide", "lineHeight", "lineHeightMode", "wrapMode", "style", "styleColor", "minimumPointSize", "minimumPixelSize", - "fontSizeMode", "renderType", "textFormat", "maximumLineCount"] + "fontSizeMode", "renderType", "renderTypeQuality", "textFormat", "maximumLineCount"] } //Padding is not an actual item, but rather set of properties in Text diff --git a/share/qtcreator/qmldesigner/qt4mcu/qul-18.qml b/share/qtcreator/qmldesigner/qt4mcu/qul-18.qml index 5f591093742..4c0cf5d4b9f 100644 --- a/share/qtcreator/qmldesigner/qt4mcu/qul-18.qml +++ b/share/qtcreator/qmldesigner/qt4mcu/qul-18.qml @@ -121,7 +121,7 @@ VersionData { allowedProperties: ["rotation", "scale", "transformOrigin"] bannedProperties: ["elide", "lineHeight", "lineHeightMode", "wrapMode", "style", "styleColor", "minimumPointSize", "minimumPixelSize", - "fontSizeMode", "renderType", "textFormat", "maximumLineCount"] + "fontSizeMode", "renderType", "renderTypeQuality", "textFormat", "maximumLineCount"] } //Padding is not an actual item, but rather set of properties in Text diff --git a/share/qtcreator/qmldesigner/qt4mcu/qul-19.qml b/share/qtcreator/qmldesigner/qt4mcu/qul-19.qml index 3c0c136559c..be473bc8caf 100644 --- a/share/qtcreator/qmldesigner/qt4mcu/qul-19.qml +++ b/share/qtcreator/qmldesigner/qt4mcu/qul-19.qml @@ -121,7 +121,7 @@ VersionData { allowedProperties: ["rotation", "scale", "transformOrigin"] bannedProperties: ["elide", "lineHeight", "lineHeightMode", "wrapMode", "style", "styleColor", "minimumPointSize", "minimumPixelSize", - "fontSizeMode", "renderType", "textFormat", "maximumLineCount"] + "fontSizeMode", "renderType", "renderTypeQuality", "textFormat", "maximumLineCount"] } //Padding is not an actual item, but rather set of properties in Text