forked from PyQt5/PyQt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
py_mqltest.qml
63 lines (55 loc) · 1.21 KB
/
py_mqltest.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
import QtQuick 2.8
import QtQuick.Window 2.2
import QtQuick.Controls 2.2
import QtQuick.Controls.Material 2.0
import QtQuick.Layouts 1.0
Rectangle {
id: rectangle
visible: true
width: 300
height: 300
color: "#0e0c0c"
clip: false
GridLayout {
anchors.leftMargin: 0
anchors.topMargin: 0
anchors.rightMargin: 107
anchors.bottomMargin: 0
anchors.fill: parent
rows: 3
columns: 2
Slider {
id: slider
Layout.columnSpan: 2
value: 0.5
}
Switch {
id: switch1
text: qsTr("Switch")
Layout.columnSpan: 2
}
ProgressBar {
id: progressBar
Layout.columnSpan: 2
value: 0.5
}
RadioButton {
id: radioButton
text: qsTr("Radio Button")
checked: true
}
}
Rectangle {
id: rectangle1
x: 183
y: -86
width: 200
height: 100
color: "#514e4e"
anchors.right: parent.right
anchors.rightMargin: -80
anchors.bottom: parent.top
anchors.bottomMargin: 0
rotation: 45
}
}