aboutsummaryrefslogtreecommitdiff
path: root/MiddlePanel.qml
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2021-03-20 09:12:15 +0000
committerxiphon <xiphon@protonmail.com>2021-03-20 09:20:09 +0000
commit7c881d01006bce99e832c7012a323a522080336f (patch)
tree75ffdb29522a01d59194219401fb02a142db3f34 /MiddlePanel.qml
parent34df4e74d4c75f53d0a05ad9e75cf494e9f7134a (diff)
downloadmonzero-gui-7c881d01006bce99e832c7012a323a522080336f.tar.gz
monzero-gui-7c881d01006bce99e832c7012a323a522080336f.tar.xz
monzero-gui-7c881d01006bce99e832c7012a323a522080336f.zip
LeftPanel: drop Advanced submenu items, use NavBar instead
Diffstat (limited to 'MiddlePanel.qml')
-rw-r--r--MiddlePanel.qml25
1 files changed, 5 insertions, 20 deletions
diff --git a/MiddlePanel.qml b/MiddlePanel.qml
index 2d850eac..386ec24b 100644
--- a/MiddlePanel.qml
+++ b/MiddlePanel.qml
@@ -56,12 +56,9 @@ Rectangle {
}
property Receive receiveView: Receive { }
property Merchant merchantView: Merchant { }
- property TxKey txkeyView: TxKey { }
- property SharedRingDB sharedringdbView: SharedRingDB { }
property History historyView: History { }
- property Sign signView: Sign { }
+ property Advanced advancedView: Advanced { }
property Settings settingsView: Settings { }
- property Mining miningView: Mining { }
property AddressBook addressBookView: AddressBook { }
property Keys keysView: Keys { }
property Account accountView: Account { }
@@ -137,30 +134,18 @@ Rectangle {
PropertyChanges { target: root; currentView: merchantView }
PropertyChanges { target: mainFlickable; contentHeight: merchantView.merchantHeight + 80 }
}, State {
- name: "TxKey"
- PropertyChanges { target: root; currentView: txkeyView }
- PropertyChanges { target: mainFlickable; contentHeight: txkeyView.txkeyHeight + 80 }
- }, State {
- name: "SharedRingDB"
- PropertyChanges { target: root; currentView: sharedringdbView }
- PropertyChanges { target: mainFlickable; contentHeight: sharedringdbView.panelHeight + 80 }
- }, State {
name: "AddressBook"
PropertyChanges { target: root; currentView: addressBookView }
PropertyChanges { target: mainFlickable; contentHeight: addressBookView.addressbookHeight + 80 }
}, State {
- name: "Sign"
- PropertyChanges { target: root; currentView: signView }
- PropertyChanges { target: mainFlickable; contentHeight: signView.signHeight + 80 }
+ name: "Advanced"
+ PropertyChanges { target: root; currentView: advancedView }
+ PropertyChanges { target: mainFlickable; contentHeight: advancedView.panelHeight }
}, State {
name: "Settings"
PropertyChanges { target: root; currentView: settingsView }
PropertyChanges { target: mainFlickable; contentHeight: settingsView.settingsHeight }
}, State {
- name: "Mining"
- PropertyChanges { target: root; currentView: miningView }
- PropertyChanges { target: mainFlickable; contentHeight: miningView.miningHeight + 80 }
- }, State {
name: "Keys"
PropertyChanges { target: root; currentView: keysView }
PropertyChanges { target: mainFlickable; contentHeight: keysView.keysHeight + 80}
@@ -168,7 +153,7 @@ Rectangle {
name: "Account"
PropertyChanges { target: root; currentView: accountView }
PropertyChanges { target: mainFlickable; contentHeight: accountView.accountHeight + 80 }
- }
+ }
]
ColumnLayout {