diff options
| author | Jaquee <jaquee.monero@gmail.com> | 2017-08-07 10:48:13 +0200 |
|---|---|---|
| committer | Jaquee <jaquee.monero@gmail.com> | 2017-11-03 16:57:10 +0100 |
| commit | 603c1e7ee9a45d7d202e90bc473df27c721ad147 (patch) | |
| tree | 2ffd60f7fab00a2ea99ed2b09e41fbc57f00a83a /MiddlePanel.qml | |
| parent | abd5f50713d2f106423a00fb9d22a36f189e3603 (diff) | |
| download | monzero-gui-603c1e7ee9a45d7d202e90bc473df27c721ad147.tar.gz monzero-gui-603c1e7ee9a45d7d202e90bc473df27c721ad147.tar.xz monzero-gui-603c1e7ee9a45d7d202e90bc473df27c721ad147.zip | |
Add Keys page
Diffstat (limited to 'MiddlePanel.qml')
| -rw-r--r-- | MiddlePanel.qml | 36 |
1 files changed, 5 insertions, 31 deletions
diff --git a/MiddlePanel.qml b/MiddlePanel.qml index 404a9d40..1ffd3132 100644 --- a/MiddlePanel.qml +++ b/MiddlePanel.qml @@ -58,6 +58,7 @@ Rectangle { property Settings settingsView: Settings { } property Mining miningView: Mining { } property AddressBook addressBookView: AddressBook { } + property Keys keysView: Keys { } signal paymentClicked(string address, string paymentId, string amount, int mixinCount, int priority, string description) @@ -93,33 +94,6 @@ Rectangle { transferView.sendTo(address, paymentId, description); } - - // XXX: just for memo, to be removed - // states: [ - // State { - // name: "Dashboard" - // PropertyChanges { target: loader; source: "pages/Dashboard.qml" } - // }, State { - // name: "History" - // PropertyChanges { target: loader; source: "pages/History.qml" } - // }, State { - // name: "Transfer" - // PropertyChanges { target: loader; source: "pages/Transfer.qml" } - // }, State { - // name: "Receive" - // PropertyChanges { target: loader; source: "pages/Receive.qml" } - // }, State { - // name: "AddressBook" - // PropertyChanges { target: loader; source: "pages/AddressBook.qml" } - // }, State { - // name: "Settings" - // PropertyChanges { target: loader; source: "pages/Settings.qml" } - // }, State { - // name: "Mining" - // PropertyChanges { target: loader; source: "pages/Mining.qml" } - // } - // ] - states: [ State { name: "Dashboard" @@ -157,6 +131,10 @@ Rectangle { name: "Mining" PropertyChanges { target: root; currentView: miningView } PropertyChanges { target: mainFlickable; contentHeight: minHeight } + }, State { + name: "Keys" + PropertyChanges { target: root; currentView: keysView } + PropertyChanges { target: mainFlickable; contentHeight: minHeight } } ] @@ -195,11 +173,7 @@ Rectangle { StackView { id: stackView initialItem: transferView - // anchors.topMargin: 30 - // Layout.fillWidth: true - // Layout.fillHeight: true anchors.fill:parent - // anchors.margins: 4 clip: true // otherwise animation will affect left panel delegate: StackViewDelegate { |
