blob: 3983c707a154a4f0beea334d28db385f20d3b2dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
import QtQuick 2.15
import QtQuick.Window 2.15
Window {
id: window
width: 200
height: 200
color: "red"
visible: true
Repeater {
model: Qt.application.screens
Text {
required property string name
required property int virtualX
required property int virtualY
text: name + virtualX + ", " + virtualY
Component.onCompleted: window.name = name
}
}
property string name: "wrong"
}
|