aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Brydolf <jacob@brydolf.net>2016-10-29 16:30:41 +0200
committerJacob Brydolf <jacob@brydolf.net>2016-10-29 16:30:41 +0200
commit12332caa65a9ebdaa291d926a6e05e10e3ede4b6 (patch)
treec5fa3f7d168a11710521ebae10b79e65e5897cdc
parent675e35d7179941931c15e06de3ad3f7df3877183 (diff)
downloadmonzero-gui-12332caa65a9ebdaa291d926a6e05e10e3ede4b6.tar.gz
monzero-gui-12332caa65a9ebdaa291d926a6e05e10e3ede4b6.tar.xz
monzero-gui-12332caa65a9ebdaa291d926a6e05e10e3ede4b6.zip
settings: close wallet button
-rw-r--r--pages/Settings.qml44
1 files changed, 44 insertions, 0 deletions
diff --git a/pages/Settings.qml b/pages/Settings.qml
index f1c6d91c..34c53640 100644
--- a/pages/Settings.qml
+++ b/pages/Settings.qml
@@ -230,6 +230,50 @@ Rectangle {
}
+
+ RowLayout {
+ Label {
+ id: closeWalletLabel
+
+ Layout.fillWidth: true
+ color: "#4A4949"
+ text: qsTr("Manage wallet") + translationManager.emptyString
+ fontSize: 16
+ }
+ }
+ RowLayout {
+
+ Text {
+ id: closeWalletTip
+ font.family: "Arial"
+ font.pointSize: 12
+ color: "#4A4646"
+ Layout.fillWidth: true
+ wrapMode: Text.WordWrap
+ text: qsTr("Close current wallet and open wizard")
+ + translationManager.emptyString
+ }
+
+
+ StandardButton {
+ id: closeWalletButton
+
+// Layout.leftMargin: 30
+// Layout.minimumWidth: 100
+ width: 100
+ text: qsTr("Close wallet") + translationManager.emptyString
+ shadowReleasedColor: "#FF4304"
+ shadowPressedColor: "#B32D00"
+ releasedColor: "#FF6C3C"
+ pressedColor: "#FF4304"
+ visible: true
+ onClicked: {
+ console.log("closing wallet button clicked")
+ appWindow.showWizard();
+ }
+ }
+ }
+
}