forked from akhenakh/mocs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPageInfoForm.ui.qml
111 lines (101 loc) · 2.94 KB
/
PageInfoForm.ui.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
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
import QtQuick 2.4
Item {
id: item2
width: 1024
height: 600
property alias tRoadName: tRoadName
property alias tSpeed: tSpeed
property alias tClock: tClock
property alias exitButtonMouseArea: exitButtonMouseArea
Rectangle {
id: rectangle
color: "#000000"
anchors.fill: parent
Text {
id: tClock
color: "#ffffff"
text: ""
anchors.left: parent.left
anchors.leftMargin: 20
anchors.topMargin: 20
anchors.top: parent.top
verticalAlignment: Text.AlignTop
horizontalAlignment: Text.AlignLeft
font.pointSize: 30
font.family: robotoLight.name
font.weight: Font.Light // this is necessary or else it'll look like Roboto-Bold
}
TextInput {
x: 866
text: "Test Input"
anchors.top: parent.top
anchors.topMargin: 20
anchors.right: parent.right
anchors.rightMargin: 20
font.pointSize: 30
font.family: robotoLight.name
font.weight: Font.Light // this is necessary or else it'll look like Roboto-Bold
cursorVisible: false
color: "#ffffff"
width: 150
height: 30
}
Item {
id: exitItem
x: 796
y: 359
width: 150
height: 150
anchors.right: parent.right
anchors.rightMargin: 20
anchors.bottom: parent.bottom
anchors.bottomMargin: 20
Text {
id: exitText
color: "#ffffff"
text: qsTr("Quit")
font.family: robotoLight.name
font.weight: Font.Light
verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignHCenter
anchors.fill: parent
font.pointSize: 20
MouseArea {
id: exitButtonMouseArea
anchors.fill: parent
}
}
}
Text {
id: tSpeed
width: 36
height: 33
color: "#ffffff"
text: qsTr("0")
font.family: robotoLight.name
font.weight: Font.Light
anchors.top: tClock.bottom
anchors.topMargin: 40
anchors.left: parent.left
anchors.leftMargin: 20
font.pointSize: 30
}
Text {
id: tRoadName
width: 200
height: 30
color: "#ffffff"
font.family: robotoLight.name
font.weight: Font.Light
anchors.top: tSpeed.bottom
anchors.topMargin: 40
anchors.left: parent.left
anchors.leftMargin: 20
font.pointSize: 30
}
}
}
/*##^## Designer {
D{i:3;anchors_y:118}
}
##^##*/