-
Notifications
You must be signed in to change notification settings - Fork 0
/
Main.qml
62 lines (42 loc) · 940 Bytes
/
Main.qml
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
import QtQuick 2.15
import QtQuick.Controls 2.15
ApplicationWindow {
id: window
width: 700
height: 700
background: Image {
anchors.centerIn: parent
source: "image://svg/:/tiger.svg"
sourceSize: {
const wh = Math.min(parent.width, parent.height)
return Qt.size(wh, wh)
}
}
color: "white"
visible: true
Row {
anchors.centerIn: parent
spacing: 5
Button {
icon.source: "image://svg/:/tiger.svg"
text: "Ignore"
onClicked: window.close()
}
Button {
icon.source: "image://svg/:/tick.svg"
text: "OK"
onClicked: window.close()
}
Button {
icon.source: "image://svg/:/cross.svg"
text: "Cancel"
onClicked: window.close()
}
}
Image {
anchors.right: parent.right
anchors.bottom: parent.bottom
source: "image://svg/:/velocimetro3.svg"
sourceSize: Qt.size(150, 150)
}
}