QmlDesigner: Allow hiding ColorEditor's cog

Change-Id: Ibaff58441e88c2030c272974b96b08e8b5b9dd3d
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
This commit is contained in:
Mahmoud Badri
2023-08-25 12:54:10 +03:00
parent 2d99b07907
commit 9ecaa16074
2 changed files with 4 additions and 0 deletions

View File

@@ -16,6 +16,8 @@ Row {
HelperWidgets.ColorEditor {
backendValue: uniformBackendValue
showExtendedFunctionButton: false
onValueChanged: uniformValue = convertColorToString(color)
}
}

View File

@@ -34,6 +34,8 @@ SecondColumnLayout {
property alias gradientThumbnail: gradientThumbnail
property alias shapeGradientThumbnail: shapeGradientThumbnail
property alias showExtendedFunctionButton: hexTextField.showExtendedFunctionButton
property bool shapeGradients: false
property color originalColor
property bool isVector3D: false