2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2016 The Qt Company Ltd.
|
2022-12-21 10:12:09 +01:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
2016-09-02 10:29:32 +02:00
|
|
|
|
|
|
|
|
import QtQuick 2.2
|
2021-01-15 17:02:51 +01:00
|
|
|
import QtQuick.Controls 2.3
|
|
|
|
|
import QtQml.Models 2.2
|
2016-09-02 10:29:32 +02:00
|
|
|
|
|
|
|
|
Rectangle {
|
|
|
|
|
width: 220
|
|
|
|
|
height: 350
|
|
|
|
|
color: "#494d53"
|
|
|
|
|
|
|
|
|
|
ListModel {
|
|
|
|
|
id: listModel
|
|
|
|
|
|
|
|
|
|
ListElement {
|
|
|
|
|
foo: "A"
|
|
|
|
|
bar: "B"
|
|
|
|
|
baz: "C"
|
|
|
|
|
}
|
|
|
|
|
ListElement {
|
|
|
|
|
foo: "A"
|
|
|
|
|
bar: "B"
|
|
|
|
|
baz: "C"
|
|
|
|
|
}
|
|
|
|
|
ListElement {
|
|
|
|
|
foo: "A"
|
|
|
|
|
bar: "B"
|
|
|
|
|
baz: "C"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Tumbler {
|
|
|
|
|
anchors.centerIn: parent
|
2021-01-15 17:02:51 +01:00
|
|
|
model: listModel
|
2016-09-02 10:29:32 +02:00
|
|
|
}
|
|
|
|
|
}
|