-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathBottomArea.qml
72 lines (54 loc) · 1.53 KB
/
BottomArea.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
import QtQuick 2.12
import QtQuick.Controls 2.12
Item {
id: root
width: 950
height: 100
readonly property int buttonWith: 225
property int selected: 0
Row {
anchors.fill: parent
spacing: 10
anchors.leftMargin: 10
TableButton {
width: buttonWith
height: parent.height-20
interColor: selected === 0 ? "#DCE1F3" : "#FF724B"
iname: "Monitor"
inamecolor: selected === 0 ? "#3C3E95" : "white"
onClicked: {
selected = 0
}
}
TableButton {
width: buttonWith
height: parent.height-20
interColor: selected === 1 ? "#DCE1F3" : "#FF724B"
iname: "Tools"
inamecolor: selected === 1 ? "#3C3E95" : "white"
onClicked: {
selected = 1
}
}
TableButton {
width: buttonWith
height: parent.height-20
interColor: selected === 2 ? "#DCE1F3" : "#FF724B"
iname: "Events"
inamecolor: selected === 2 ? "#3C3E95" : "white"
onClicked: {
selected = 2
}
}
TableButton {
width: buttonWith
height: parent.height-20
interColor: selected === 3 ? "#DCE1F3" : "#FF724B"
iname: "System"
inamecolor: selected === 3 ? "#3C3E95" : "white"
onClicked: {
selected = 3
}
}
}
}