aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtQml/viewmodel.qml
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/QtQml/viewmodel.qml')
-rw-r--r--sources/pyside6/tests/QtQml/viewmodel.qml16
1 files changed, 16 insertions, 0 deletions
diff --git a/sources/pyside6/tests/QtQml/viewmodel.qml b/sources/pyside6/tests/QtQml/viewmodel.qml
new file mode 100644
index 000000000..33db6072e
--- /dev/null
+++ b/sources/pyside6/tests/QtQml/viewmodel.qml
@@ -0,0 +1,16 @@
+// 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
+
+ delegate: Rectangle {
+ height: 25
+ width: 100
+ Text { text: model.modelData.title }
+ }
+}
+