-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainSideBar.qml
100 lines (88 loc) · 2.38 KB
/
MainSideBar.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
import QtQuick 2.4
import Material 0.2
import Material.ListItems 0.1 as ListItem
import QtQuick.Layouts 1.1
import "Actions"
NavigationDrawer {
enabled: true
id: sidebar
//expanded: !navDrawer.enabled
Column {
width: parent.width
ListItem.Subtitled {
text: "Wallet"
subText: "2331.22 XMR"
itemLabel.style: "dialog"
action: Icon {
anchors.centerIn: parent
name: "action/account_balance_wallet"
size: Units.dp(32)
}
}
ListItem.Divider{
}
SidebarItem{
text: "Overview"
iconName: "action/view_module"
onClicked: ViewActions.openView("all", {})
}
SidebarItem{
text: "Incoming"
iconName: "content/inbox"
onClicked: ViewActions.openView("recieved", {})
}
SidebarItem{
text: "Outgoing"
iconName: "content/inbox"
onClicked: ViewActions.openView("sent", {})
}
SidebarItem{
text: "Unconfirmed"
iconName: "content/flag"
onClicked: ViewActions.openView("unconfirmed", {})
}
SidebarItem{
text: "Drafts"
iconName: "content/drafts"
onClicked: ViewActions.openView("draft", {})
}
ListItem.Divider{
}
SidebarItem{
text: "Contacts"
iconName: "social/group"
}
SidebarItem{
text: "Favorites"
iconName: "toggle/star_border"
}
SidebarItem{
text: "Unknown"
iconName: "social/people_outline"
}
ListItem.Divider{
}
ListItem.Subtitled {
text: "Miner"
subText: "Mining at 5.22GH/s"
itemLabel.style: "dialog"
action: Icon {
anchors.centerIn: parent
name: "device/brightness_high"
size: Units.dp(32)
}
}
ListItem.Divider{
}
ListItem.Subtitled {
text: "Network"
subText: "Connected to 27 peers"
itemLabel.style: "dialog"
action: Icon {
anchors.centerIn: parent
name: "hardware/device_hub"
size: Units.dp(32)
}
}
}
}