blob: 4afa7e9f2ab4097fdede5639d2510d04ae64c8a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
|
// Copyright (C) 2020 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
import QtQuick 2.6
import QtQuick.Window 2.2
import QtQuick.Timeline 1.0
Window {
visible: true
width: 640
height: 480
title: qsTr("Hello World")
Loader {
id: loader
anchors.fill: parent
}
Row {
anchors.bottom: parent.bottom
anchors.bottomMargin: 10
spacing: 4
Text {
text: "Test 01"
font.pixelSize: 12
MouseArea {
anchors.fill: parent
onClicked: loader.source = "test01.qml"
}
}
Text {
text: "Test 02"
font.pixelSize: 12
MouseArea {
anchors.fill: parent
onClicked: loader.source = "test02.qml"
}
}
Text {
text: "Test 03"
font.pixelSize: 12
MouseArea {
anchors.fill: parent
onClicked: loader.source = "test03.qml"
}
}
Text {
text: "Test 04"
font.pixelSize: 12
MouseArea {
anchors.fill: parent
onClicked: loader.source = "test04.qml"
}
}
Text {
text: "Test 05"
font.pixelSize: 12
MouseArea {
anchors.fill: parent
onClicked: loader.source = "test05.qml"
}
}
Text {
text: "Test 06"
font.pixelSize: 12
MouseArea {
anchors.fill: parent
onClicked: loader.source = "test06.qml"
}
}
Text {
text: "Test 07"
font.pixelSize: 12
MouseArea {
anchors.fill: parent
onClicked: loader.source = "test07.qml"
}
}
Text {
text: "Test 08"
font.pixelSize: 12
MouseArea {
anchors.fill: parent
onClicked: loader.source = "test08.qml"
}
}
Text {
text: "Test 09"
font.pixelSize: 12
MouseArea {
anchors.fill: parent
onClicked: loader.source = "test09.qml"
}
}
Text {
text: "Test 10"
font.pixelSize: 12
MouseArea {
anchors.fill: parent
onClicked: loader.source = "test10.qml"
}
}
}
}
|