forked from qt-creator/qt-creator
QmlDesigner: Add missing properties to LineEdit and ComboBox
Change-Id: I7e9a9159aa75973f04a660a16c2d00aa294ab944 Reviewed-by: Henning Gründl <henning.gruendl@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -45,6 +45,8 @@ Controls.ComboBox {
|
|||||||
|
|
||||||
property bool block: false
|
property bool block: false
|
||||||
|
|
||||||
|
property bool showExtendedFunctionButton: true
|
||||||
|
|
||||||
ExtendedFunctionLogic {
|
ExtendedFunctionLogic {
|
||||||
id: extFuncLogic
|
id: extFuncLogic
|
||||||
backendValue: comboBox.backendValue
|
backendValue: comboBox.backendValue
|
||||||
@@ -54,6 +56,8 @@ Controls.ComboBox {
|
|||||||
actionIndicator.icon.text: extFuncLogic.glyph
|
actionIndicator.icon.text: extFuncLogic.glyph
|
||||||
actionIndicator.onClicked: extFuncLogic.show()
|
actionIndicator.onClicked: extFuncLogic.show()
|
||||||
|
|
||||||
|
actionIndicator.visible: showExtendedFunctionButton
|
||||||
|
|
||||||
ColorLogic {
|
ColorLogic {
|
||||||
id: colorLogic
|
id: colorLogic
|
||||||
backendValue: comboBox.backendValue
|
backendValue: comboBox.backendValue
|
||||||
|
|||||||
@@ -45,6 +45,8 @@ Controls.TextField {
|
|||||||
|
|
||||||
property bool showExtendedFunctionButton: true
|
property bool showExtendedFunctionButton: true
|
||||||
|
|
||||||
|
actionIndicator.visible: showExtendedFunctionButton
|
||||||
|
|
||||||
signal commitData
|
signal commitData
|
||||||
|
|
||||||
property string context
|
property string context
|
||||||
|
|||||||
Reference in New Issue
Block a user