diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2017-11-03 15:29:10 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2017-11-03 15:29:10 -0500 |
| commit | c58dfa913bb356368e12dc5248c4f5acdfe3934d (patch) | |
| tree | b50d0010ac51fa44405bcaec573dab03236ff9cb /LeftPanel.qml | |
| parent | 6f95f8a7545bbdc25750412c54a92ddc5224b3ad (diff) | |
| parent | ceeb9b667fa35f92054c79942b593337fadcd08b (diff) | |
| download | monzero-gui-c58dfa913bb356368e12dc5248c4f5acdfe3934d.tar.gz monzero-gui-c58dfa913bb356368e12dc5248c4f5acdfe3934d.tar.xz monzero-gui-c58dfa913bb356368e12dc5248c4f5acdfe3934d.zip | |
Merge pull request #826
Remote nodes + mobile layout
Diffstat (limited to 'LeftPanel.qml')
| -rw-r--r-- | LeftPanel.qml | 44 |
1 files changed, 37 insertions, 7 deletions
diff --git a/LeftPanel.qml b/LeftPanel.qml index 6f843fc7..e9fa7467 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 @@ -69,6 +70,8 @@ Rectangle { width: (isMobile)? appWindow.width : 260 color: "#FFFFFF" + anchors.bottom: parent.bottom + anchors.top: parent.top // Item with monero logo Item { @@ -138,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 @@ -228,7 +231,8 @@ Rectangle { Flickable { - contentHeight: 500 + id:flicker + contentHeight: 500 * scaleRatio anchors.fill: parent clip: true @@ -239,7 +243,7 @@ Rectangle { anchors.left: parent.left anchors.right: parent.right anchors.top: parent.top - + clip: true property var previousButton: transferButton // ------------- Dashboard tab --------------- @@ -393,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 @@ -483,10 +488,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 @@ -494,6 +522,7 @@ Rectangle { anchors.right: parent.right anchors.bottom: (progressBar.visible)? progressBar.top : parent.bottom; connected: Wallet.ConnectionStatus_Disconnected + height: 58 * scaleRatio } ProgressBar { @@ -501,8 +530,9 @@ Rectangle { anchors.left: parent.left anchors.right: parent.right anchors.bottom: parent.bottom + height: 35 * scaleRatio } - } + } // menuRect |
