-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMyKeysForm.ui.qml
74 lines (66 loc) · 2.1 KB
/
MyKeysForm.ui.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
import QtQuick 2.4
import QtQuick.Controls 2.0
import QtQuick.Layouts 1.3
import QtGraphicalEffects 1.0
Page {
property alias accountList: accountList
property alias newAccountButton: newAccountButton
property alias deleteAccountButton: deleteAccountButton
property alias emptyAccountListLabel: emptyAccountListLabel
property alias emptyAccountListPlaceHolder: emptyAccountListPlaceHolder
ColumnLayout {
id: columnLayout1
anchors.rightMargin: 20
anchors.leftMargin: 20
anchors.bottomMargin: 20
anchors.topMargin: 20
anchors.fill: parent
ListView {
id: accountList
width: 400
height: 160
clip: true
Layout.fillHeight: true
Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
FadeOnVisible {
id: emptyAccountListPlaceHolder
anchors.fill: parent
Image {
id: image1
opacity: .1
sourceSize.height: 100
height: 100
width: 100
anchors.centerIn: parent
source: "qrc:/res/steem.svg"
fillMode: Image.PreserveAspectFit
smooth: true
layer.enabled: true
layer.effect: Colorize {
saturation: 0
}
}
Label {
id: emptyAccountListLabel
text: qsTr("No accounts yet... <a href='add'>Add one</a>!")
anchors.centerIn: parent
}
}
}
RowLayout {
id: rowLayout1
width: 100
height: 100
spacing: 20
Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
Button {
id: newAccountButton
text: qsTr("New Account")
}
Button {
id: deleteAccountButton
text: qsTr("Delete Account")
}
}
}
}