aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/quickshapes/weatherforecast/DemoShape.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/quickshapes/weatherforecast/DemoShape.qml')
-rw-r--r--examples/quick/quickshapes/weatherforecast/DemoShape.qml12
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/quick/quickshapes/weatherforecast/DemoShape.qml b/examples/quick/quickshapes/weatherforecast/DemoShape.qml
new file mode 100644
index 0000000000..e0719d39f9
--- /dev/null
+++ b/examples/quick/quickshapes/weatherforecast/DemoShape.qml
@@ -0,0 +1,12 @@
+// Copyright (C) 2024 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+
+import QtQuick
+import QtQuick.Shapes
+
+Shape {
+ id: item
+ preferredRendererType: mainWindow.preferredRendererType
+ property string svg_id
+ containsMode: Shape.FillContains
+}