diff options
author | Thomas Hartmann <Thomas.Hartmann@digia.com> | 2014-07-30 10:19:02 +0200 |
---|---|---|
committer | Thomas Hartmann <Thomas.Hartmann@digia.com> | 2014-07-30 11:41:59 +0200 |
commit | 616f01bc2efd18bf1ac9e1f171cce7143d9b55bd (patch) | |
tree | 05c8b8286bafe5899f22742eaf2701b60f5de531 | |
parent | e8f2bc1f607c58d2bcf616451b923b05575e923c (diff) | |
download | qt-creator-616f01bc2efd18bf1ac9e1f171cce7143d9b55bd.tar.gz |
QmlDesigner.PropertyEditor: Do not show ExtendedFunctionButton for id
Change-Id: I3ccc2e341591913d1645b3e748ee07acf7cecee7
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
-rw-r--r-- | share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/LineEdit.qml | 4 | ||||
-rw-r--r-- | share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/ItemPane.qml | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/LineEdit.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/LineEdit.qml index a260f52a23..9cea91a9e5 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/LineEdit.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/LineEdit.qml @@ -51,11 +51,13 @@ Controls.TextField { property bool __dirty: false + property bool showExtendedFunctionButton: true + ExtendedFunctionButton { x: 2 y: 4 backendValue: lineEdit.backendValue - visible: lineEdit.enabled + visible: lineEdit.enabled && showExtendedFunctionButton } ColorLogic { diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/ItemPane.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/ItemPane.qml index cf34062a01..693d069b40 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/ItemPane.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/ItemPane.qml @@ -77,6 +77,7 @@ Rectangle { Layout.fillWidth: true Layout.maximumWidth: 320 showTranslateCheckBox: false + showExtendedFunctionButton: false } ExpandingSpacer { |