diff options
author | zelig <viktor.tron@gmail.com> | 2015-03-15 23:29:50 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2015-03-15 23:29:50 +0800 |
commit | ece5c2aade24228006ef67c9a01b62f95e9b3bad (patch) | |
tree | bac13b4401880003fe97ad4d0585fdca778c8d4e | |
parent | ff86d7d52aff8cc7868c9b7d5fbbe8b9739dbccf (diff) | |
parent | 8393dab470c40678caf36ada82e312d29c4cf5c4 (diff) | |
download | dexon-ece5c2aade24228006ef67c9a01b62f95e9b3bad.tar dexon-ece5c2aade24228006ef67c9a01b62f95e9b3bad.tar.gz dexon-ece5c2aade24228006ef67c9a01b62f95e9b3bad.tar.bz2 dexon-ece5c2aade24228006ef67c9a01b62f95e9b3bad.tar.lz dexon-ece5c2aade24228006ef67c9a01b62f95e9b3bad.tar.xz dexon-ece5c2aade24228006ef67c9a01b62f95e9b3bad.tar.zst dexon-ece5c2aade24228006ef67c9a01b62f95e9b3bad.zip |
Merge branch 'frontier/js' into frontier/nodeadmin.js
-rw-r--r-- | cmd/mist/assets/qml/main.qml | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/cmd/mist/assets/qml/main.qml b/cmd/mist/assets/qml/main.qml index 9b3a1157d..bf83dc3b2 100644 --- a/cmd/mist/assets/qml/main.qml +++ b/cmd/mist/assets/qml/main.qml @@ -157,7 +157,96 @@ ApplicationWindow { } + menuBar: MenuBar { + Menu { + title: "File" + MenuItem { + text: "New tab" + shortcut: "Ctrl+t" + onTriggered: { + activeView(catalog.view, catalog.menuItem); + } + } + + MenuSeparator {} + + MenuItem { + text: "Import key" + shortcut: "Ctrl+i" + onTriggered: { + generalFileDialog.show(true, function(path) { + gui.importKey(path) + }) + } + } + + MenuItem { + text: "Export keys" + shortcut: "Ctrl+e" + onTriggered: { + generalFileDialog.show(false, function(path) { + }) + } + } + + MenuItem { + text: "Generate key" + shortcut: "Ctrl+k" + onTriggered: gui.generateKey() + } + } + Menu { + title: "Developer" + MenuItem { + text: "Import Tx" + onTriggered: { + txImportDialog.visible = true + } + } + + MenuItem { + text: "Dump state" + onTriggered: { + generalFileDialog.show(false, function(path) { + // Empty hash for latest + gui.dumpState("", path) + }) + } + } + + MenuSeparator {} + } + + Menu { + title: "Network" + MenuItem { + text: "Add Peer" + shortcut: "Ctrl+p" + onTriggered: { + addPeerWin.visible = true + } + } + MenuItem { + text: "Show Peers" + shortcut: "Ctrl+e" + onTriggered: { + peerWindow.visible = true + } + } + } + + Menu { + title: "Help" + MenuItem { + text: "About" + onTriggered: { + aboutWin.visible = true + } + } + } + + } property var blockModel: ListModel { id: blockModel |