-
Notifications
You must be signed in to change notification settings - Fork 0
/
SMART.qml
43 lines (40 loc) · 827 Bytes
/
SMART.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
import QtQuick 1.0
Rectangle {
width: 360
height: 360
MouseArea {
x: 0
y: 0
anchors.rightMargin: 0
anchors.bottomMargin: 1
anchors.leftMargin: 0
anchors.topMargin: 0
anchors.fill: parent
onClicked: {
Qt.quit();
}
Text {
id: data1
x: 108
y: 137
width: 80
height: 20
text: "text"
font.pixelSize: 12
}
Text {
id: data2
x: 265
y: 137
anchors.centerIn: parent
text: "Hello World"
anchors.verticalCenterOffset: -34
anchors.horizontalCenterOffset: 122
}
}
states: [
State {
name: "State1"
}
]
}