aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/assets/qml/wallet.qml
diff options
context:
space:
mode:
authorMaran <maran.hidskes@gmail.com>2014-04-11 02:53:12 +0800
committerMaran <maran.hidskes@gmail.com>2014-04-11 02:53:12 +0800
commite2bf5d1270b1dc33f308ab134e7e7d3f4f64b7d4 (patch)
tree06e7fc3a2dd8ecefeab90c9701f3657c564ae7b9 /ethereal/assets/qml/wallet.qml
parent834e43622c3b467f492fcaa07eafd9ca98edc8a3 (diff)
downloaddexon-e2bf5d1270b1dc33f308ab134e7e7d3f4f64b7d4.tar.gz
dexon-e2bf5d1270b1dc33f308ab134e7e7d3f4f64b7d4.tar.zst
dexon-e2bf5d1270b1dc33f308ab134e7e7d3f4f64b7d4.zip
Implemented key importing/generation for the GUI
Diffstat (limited to 'ethereal/assets/qml/wallet.qml')
-rw-r--r--ethereal/assets/qml/wallet.qml29
1 files changed, 29 insertions, 0 deletions
diff --git a/ethereal/assets/qml/wallet.qml b/ethereal/assets/qml/wallet.qml
index b22e82f9a..58ba3e3dc 100644
--- a/ethereal/assets/qml/wallet.qml
+++ b/ethereal/assets/qml/wallet.qml
@@ -26,6 +26,35 @@ ApplicationWindow {
}
Menu {
+ title: "Test"
+ MenuItem {
+ text: "Test test"
+ shortcut: "Ctrl+t"
+ onTriggered: {
+ var win
+ function finishedLoading(){
+ console.log("Trigged")
+ win = wizard.createObject(root)
+ }
+ console.log("Loading wizard")
+
+ var wizard = Qt.createComponent("first_run.qml")
+ if(wizard.status== Component.Ready){
+ console.log("Component is ready")
+ finishedLoading()
+ }else if( wizard.status == Component.Error){
+ console.log("Error loading component:", wizard.errorString())
+ }
+ else{
+ wizard.statusChanged.connect(finishedLoading)
+ console.log("Component is NOT ready")
+ win = wizard.createObject(root)
+ }
+ }
+ }
+ }
+
+ Menu {
title: "Network"
MenuItem {
text: "Add Peer"