forked from 0x20/tab-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUtilView.qml
41 lines (36 loc) · 891 Bytes
/
UtilView.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
import QtQuick 2.0
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.3
import "controls"
Rectangle {
signal switchToTransfer()
signal switchToDeposit()
signal switchToStats()
signal foo()
color: application.layoutColor("#004040")
height: application.buttonHeight + 20
RowLayout {
anchors.margins: 10
anchors.top: parent.top
anchors.left: parent.left
spacing: 10
TqButton {
text: depositMode ? "Buy" : "Deposit"
onClicked: switchToDeposit()
}
TqButton {
text: "Transfer"
onClicked: switchToTransfer()
}
TqButton {
text: "Sync"
onClicked: {
application.loadAllData(true)
}
}
TqButton {
text: "Stats"
onClicked: switchToStats()
}
}
}