-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRoomHeader.qml
73 lines (61 loc) · 1.45 KB
/
RoomHeader.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
import QtQuick 2.0
import QtQuick.Controls 1.3
Rectangle {
id: root
width: 800
height: 50
property alias status: meetingStatusText.text
signal start()
signal stop()
function updateStatus(status)
{
}
Rectangle {
id: rect1
x: 328
width: 224
color: "#00000000"
anchors.right: parent.right
anchors.rightMargin: 250
anchors.bottom: parent.bottom
anchors.bottomMargin: 0
anchors.top: parent.top
anchors.topMargin: 0
Text {
id: meetingStatusText
text: qsTr("Unknown")
anchors.fill: parent
verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignHCenter
font.pixelSize: 12
}
}
Button {
id: button1
x: 581
text: qsTr("Start")
anchors.right: parent.right
anchors.rightMargin: 134
anchors.bottom: parent.bottom
anchors.bottomMargin: 10
anchors.top: parent.top
anchors.topMargin: 10
onClicked: {
root.start()
}
}
Button {
id: button2
x: 700
text: qsTr("Stop")
anchors.right: parent.right
anchors.rightMargin: 15
anchors.bottom: parent.bottom
anchors.bottomMargin: 10
anchors.top: parent.top
anchors.topMargin: 10
onClicked: {
root.stop()
}
}
}