From f329a710295deed3c15f2acff9a519c0a70e98e1 Mon Sep 17 00:00:00 2001 From: dsc Date: Mon, 14 Jan 2019 01:02:44 +0100 Subject: Wizard redesign --- LeftPanel.qml | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to 'LeftPanel.qml') diff --git a/LeftPanel.qml b/LeftPanel.qml index fce19dec..ec4c0cd8 100644 --- a/LeftPanel.qml +++ b/LeftPanel.qml @@ -435,6 +435,7 @@ Rectangle { MoneroComponents.MenuButton { id: merchantButton + visible: appWindow.walletMode >= 2 anchors.left: parent.left anchors.right: parent.right text: qsTr("Merchant") + translationManager.emptyString @@ -449,7 +450,7 @@ Rectangle { } Rectangle { - visible: merchantButton.present + visible: merchantButton.present && appWindow.walletMode >= 2 anchors.left: parent.left anchors.right: parent.right anchors.leftMargin: 16 @@ -484,6 +485,7 @@ Rectangle { // ------------- Advanced tab --------------- MoneroComponents.MenuButton { id: advancedButton + visible: appWindow.walletMode >= 2 anchors.left: parent.left anchors.right: parent.right text: qsTr("Advanced") + translationManager.emptyString @@ -494,8 +496,9 @@ Rectangle { parent.previousButton = advancedButton } } + Rectangle { - visible: advancedButton.present + visible: advancedButton.present && appWindow.walletMode >= 2 anchors.left: parent.left anchors.right: parent.right anchors.leftMargin: 16 @@ -506,7 +509,7 @@ Rectangle { // ------------- Mining tab --------------- MoneroComponents.MenuButton { id: miningButton - visible: !isAndroid && !isIOS + visible: !isAndroid && !isIOS && appWindow.walletMode >= 2 anchors.left: parent.left anchors.right: parent.right text: qsTr("Mining") + translationManager.emptyString @@ -521,7 +524,7 @@ Rectangle { } Rectangle { - visible: miningButton.present + visible: miningButton.present && appWindow.walletMode >= 2 anchors.left: parent.left anchors.right: parent.right anchors.leftMargin: 16 @@ -531,6 +534,7 @@ Rectangle { // ------------- TxKey tab --------------- MoneroComponents.MenuButton { id: txkeyButton + visible: appWindow.walletMode >= 2 anchors.left: parent.left anchors.right: parent.right text: qsTr("Prove/check") + translationManager.emptyString @@ -544,7 +548,7 @@ Rectangle { } } Rectangle { - visible: txkeyButton.present + visible: txkeyButton.present && appWindow.walletMode >= 2 anchors.left: parent.left anchors.right: parent.right anchors.leftMargin: 16 @@ -554,6 +558,7 @@ Rectangle { // ------------- Shared RingDB tab --------------- MoneroComponents.MenuButton { id: sharedringdbButton + visible: appWindow.walletMode >= 2 anchors.left: parent.left anchors.right: parent.right text: qsTr("Shared RingDB") + translationManager.emptyString @@ -567,7 +572,7 @@ Rectangle { } } Rectangle { - visible: sharedringdbButton.present + visible: sharedringdbButton.present && appWindow.walletMode >= 2 anchors.left: parent.left anchors.right: parent.right anchors.leftMargin: 16 @@ -579,6 +584,7 @@ Rectangle { // ------------- Sign/verify tab --------------- MoneroComponents.MenuButton { id: signButton + visible: appWindow.walletMode >= 2 anchors.left: parent.left anchors.right: parent.right text: qsTr("Sign/verify") + translationManager.emptyString @@ -592,7 +598,7 @@ Rectangle { } } Rectangle { - visible: signButton.present + visible: signButton.present && appWindow.walletMode >= 2 anchors.left: parent.left anchors.right: parent.right anchors.leftMargin: 16 @@ -624,6 +630,7 @@ Rectangle { // ------------- Sign/verify tab --------------- MoneroComponents.MenuButton { id: keysButton + visible: appWindow.walletMode >= 2 anchors.left: parent.left anchors.right: parent.right text: qsTr("Seed & Keys") + translationManager.emptyString @@ -637,7 +644,7 @@ Rectangle { } } Rectangle { - visible: settingsButton.present + visible: settingsButton.present && appWindow.walletMode >= 2 anchors.left: parent.left anchors.right: parent.right anchors.leftMargin: 16 -- cgit v1.2.3