aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtQml/view.qml
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/QtQml/view.qml')
-rw-r--r--sources/pyside6/tests/QtQml/view.qml19
1 files changed, 19 insertions, 0 deletions
diff --git a/sources/pyside6/tests/QtQml/view.qml b/sources/pyside6/tests/QtQml/view.qml
new file mode 100644
index 000000000..8557271c2
--- /dev/null
+++ b/sources/pyside6/tests/QtQml/view.qml
@@ -0,0 +1,19 @@
+// Copyright (C) 2016 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
+import QtQuick 2.0
+
+ListView {
+ width: 100
+ height: 100
+ anchors.fill: parent
+ model: myModel
+ delegate: Component {
+ Rectangle {
+ required property string modelData
+ height: 25
+ width: 100
+ Text { text: modelData }
+ }
+ }
+}