From 603c1e7ee9a45d7d202e90bc473df27c721ad147 Mon Sep 17 00:00:00 2001 From: Jaquee Date: Mon, 7 Aug 2017 10:48:13 +0200 Subject: Add Keys page --- LeftPanel.qml | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) (limited to 'LeftPanel.qml') diff --git a/LeftPanel.qml b/LeftPanel.qml index 6f843fc7..8433d7f3 100644 --- a/LeftPanel.qml +++ b/LeftPanel.qml @@ -50,6 +50,7 @@ Rectangle { signal addressBookClicked() signal miningClicked() signal signClicked() + signal keysClicked() function selectItem(pos) { menuColumn.previousButton.checked = false @@ -483,10 +484,33 @@ Rectangle { color: "#505050" height: 1 } + // ------------- Sign/verify tab --------------- + MenuButton { + id: keysButton + anchors.left: parent.left + anchors.right: parent.right + text: qsTr("Seed & Keys") + translationManager.emptyString + symbol: qsTr("Y") + translationManager.emptyString + dotColor: "#FFD781" + under: settingsButton + onClicked: { + parent.previousButton.checked = false + parent.previousButton = keysButton + panel.keysClicked() + } + } + Rectangle { + visible: settingsButton.present + anchors.left: parent.left + anchors.right: parent.right + anchors.leftMargin: 16 + color: "#505050" + height: 1 + } - } + } // Column - } + } // Flickable NetworkStatusItem { id: networkStatus -- cgit v1.2.3 From 855f2068f25bbf84f7c0659456fa072c6297597b Mon Sep 17 00:00:00 2001 From: Jaquee Date: Mon, 7 Aug 2017 12:14:37 +0200 Subject: Leftpanel scaling/mobile layout --- LeftPanel.qml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'LeftPanel.qml') diff --git a/LeftPanel.qml b/LeftPanel.qml index 8433d7f3..08f2d3a5 100644 --- a/LeftPanel.qml +++ b/LeftPanel.qml @@ -70,6 +70,8 @@ Rectangle { width: (isMobile)? appWindow.width : 260 color: "#FFFFFF" + anchors.bottom: parent.bottom + anchors.top: parent.top // Item with monero logo Item { @@ -139,8 +141,8 @@ Rectangle { visible: !isMobile Item { anchors.verticalCenter: parent.verticalCenter - height: 26 - width: 50 + height: 26 * scaleRatio + width: 50 * scaleRatio Image { anchors.centerIn: parent @@ -229,7 +231,8 @@ Rectangle { Flickable { - contentHeight: 500 + id:flicker + contentHeight: 500 * scaleRatio anchors.fill: parent clip: true @@ -240,7 +243,7 @@ Rectangle { anchors.left: parent.left anchors.right: parent.right anchors.top: parent.top - + clip: true property var previousButton: transferButton // ------------- Dashboard tab --------------- @@ -518,6 +521,7 @@ Rectangle { anchors.right: parent.right anchors.bottom: (progressBar.visible)? progressBar.top : parent.bottom; connected: Wallet.ConnectionStatus_Disconnected + height: 58 * scaleRatio } ProgressBar { @@ -525,8 +529,9 @@ Rectangle { anchors.left: parent.left anchors.right: parent.right anchors.bottom: parent.bottom + height: 35 * scaleRatio } - } + } // menuRect -- cgit v1.2.3 From 316ddf1c05208496481ba287eb2bf5ec04651989 Mon Sep 17 00:00:00 2001 From: Jaquee Date: Mon, 7 Aug 2017 12:15:12 +0200 Subject: mobile: hide mining, sign/verify pages --- LeftPanel.qml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'LeftPanel.qml') diff --git a/LeftPanel.qml b/LeftPanel.qml index 08f2d3a5..8e818b68 100644 --- a/LeftPanel.qml +++ b/LeftPanel.qml @@ -397,6 +397,7 @@ Rectangle { // ------------- Mining tab --------------- MenuButton { id: miningButton + visible: !isAndroid && !isIOS anchors.left: parent.left anchors.right: parent.right text: qsTr("Mining") + translationManager.emptyString @@ -445,6 +446,7 @@ Rectangle { // ------------- Sign/verify tab --------------- MenuButton { id: signButton + visible: !isAndroid && !isIOS anchors.left: parent.left anchors.right: parent.right text: qsTr("Sign/verify") + translationManager.emptyString -- cgit v1.2.3 From 3c67b9ee621ccdaf4ebead21e7c02e987566c068 Mon Sep 17 00:00:00 2001 From: Jaquee Date: Fri, 3 Nov 2017 17:02:26 +0100 Subject: Enable sign/verify on ios/android --- LeftPanel.qml | 1 - 1 file changed, 1 deletion(-) (limited to 'LeftPanel.qml') diff --git a/LeftPanel.qml b/LeftPanel.qml index 8e818b68..e9fa7467 100644 --- a/LeftPanel.qml +++ b/LeftPanel.qml @@ -446,7 +446,6 @@ Rectangle { // ------------- Sign/verify tab --------------- MenuButton { id: signButton - visible: !isAndroid && !isIOS anchors.left: parent.left anchors.right: parent.right text: qsTr("Sign/verify") + translationManager.emptyString -- cgit v1.2.3