aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksei German <aleksei.german@qt.io>2024-05-03 17:41:02 +0200
committerAleksei German <aleksei.german@qt.io>2024-05-03 18:16:23 +0200
commit23a0fc6a247c794ea0769a3b1ba2d09299038b08 (patch)
treec8d243bf0fe4eddcf9652a3b04472e8671158cc3
parent6f1858b2c4e1343827a9fe0c697d0e2223691e47 (diff)
QUL: Enable Gradients for QUL ArcItemHEADdev
Task-number: QDS-12690 Change-Id: I89949c19f317cbdf3f9c936b77b603d8fc33b253 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
-rw-r--r--src/imports/compat/Components/ArcItem.qml3
-rw-r--r--src/imports/compat/Components/designer/ArcItemSpecifics.qml3
2 files changed, 5 insertions, 1 deletions
diff --git a/src/imports/compat/Components/ArcItem.qml b/src/imports/compat/Components/ArcItem.qml
index 870e101..c1a8271 100644
--- a/src/imports/compat/Components/ArcItem.qml
+++ b/src/imports/compat/Components/ArcItem.qml
@@ -37,8 +37,9 @@ Shape {
implicitHeight: 100
// These properties are not supported in Qt Quick Ultralite:
- // gradient, strokeStyle, dashPattern, dashOffset
+ // strokeStyle, dashPattern, dashOffset
+ property alias gradient: path.fillGradient
property alias strokeWidth: path.strokeWidth
property alias strokeColor: path.strokeColor
property alias joinStyle: path.joinStyle
diff --git a/src/imports/compat/Components/designer/ArcItemSpecifics.qml b/src/imports/compat/Components/designer/ArcItemSpecifics.qml
index a027af4..e59a55f 100644
--- a/src/imports/compat/Components/designer/ArcItemSpecifics.qml
+++ b/src/imports/compat/Components/designer/ArcItemSpecifics.qml
@@ -50,6 +50,9 @@ Column {
ColorEditor {
backendValue: backendValues.fillColor
+ supportGradient: true
+ shapeGradients: true
+ mcuGradients: true
}
PropertyLabel {