blob: a72d904f307a9e4c6d076077c6b705bfb288c190 (
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
|
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
import QtQuick
ReadyForm {
property alias timer: timer
Timer {
id: timer
interval: 3000
running: true
onTriggered: {
applicationFlow.onReturnToStart()
}
}
grid.states: [
State {
name: "small"
when: ((Screen.height * Screen.devicePixelRatio)
+ (Screen.width * Screen.devicePixelRatio)) < 2000
PropertyChanges {
target: grid
rowSpacing: 10
}
}
]
caption.states: [
State {
name: "small"
when: ((Screen.height * Screen.devicePixelRatio)
+ (Screen.width * Screen.devicePixelRatio)) < 2000
PropertyChanges {
target: caption
font.pixelSize: 16
}
}
]
}
|