From 52ddea91eec97293cb44d4f49fac320b1f3cc47c Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Wed, 5 Jun 2019 18:05:52 +0200 Subject: QmlDesigner: Add missing properties to LineEdit and ComboBox MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I7e9a9159aa75973f04a660a16c2d00aa294ab944 Reviewed-by: Henning Gründl Reviewed-by: Thomas Hartmann --- .../propertyEditorQmlSources/imports/HelperWidgets/ComboBox.qml | 4 ++++ .../propertyEditorQmlSources/imports/HelperWidgets/LineEdit.qml | 2 ++ 2 files changed, 6 insertions(+) (limited to 'share') diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/ComboBox.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/ComboBox.qml index 18f30dce1c..6517860632 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/ComboBox.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/ComboBox.qml @@ -45,6 +45,8 @@ Controls.ComboBox { property bool block: false + property bool showExtendedFunctionButton: true + ExtendedFunctionLogic { id: extFuncLogic backendValue: comboBox.backendValue @@ -54,6 +56,8 @@ Controls.ComboBox { actionIndicator.icon.text: extFuncLogic.glyph actionIndicator.onClicked: extFuncLogic.show() + actionIndicator.visible: showExtendedFunctionButton + ColorLogic { id: colorLogic backendValue: comboBox.backendValue diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/LineEdit.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/LineEdit.qml index 18b25924b3..0dfa558c09 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/LineEdit.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/LineEdit.qml @@ -45,6 +45,8 @@ Controls.TextField { property bool showExtendedFunctionButton: true + actionIndicator.visible: showExtendedFunctionButton + signal commitData property string context -- cgit v1.2.3