aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/window/AllScreens.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/window/AllScreens.qml')
-rw-r--r--examples/quick/window/AllScreens.qml8
1 files changed, 7 insertions, 1 deletions
diff --git a/examples/quick/window/AllScreens.qml b/examples/quick/window/AllScreens.qml
index a5da380025..ac0e1cb821 100644
--- a/examples/quick/window/AllScreens.qml
+++ b/examples/quick/window/AllScreens.qml
@@ -69,8 +69,14 @@ Column {
id: screenInfo
model: Qt.application.screens
Shared.Label {
+ required property string name
+ required property int virtualX
+ required property int virtualY
+ required property int width
+ required property int height
+
lineHeight: 1.5
- text: name + "\n" + virtualX + ", " + virtualY + " " + modelData.width + "x" + modelData.height
+ text: name + "\n" + virtualX + ", " + virtualY + " " + width + "x" + height
}
}
}