diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2019-01-09 17:43:31 -0600 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2019-01-09 17:43:31 -0600 |
| commit | 5a682b37ecef5407ff44ca5d32b1610750702bbb (patch) | |
| tree | 5d3c10979773aedca3d67c781dfc74a790231d56 /LeftPanel.qml | |
| parent | 97de72b27d56e7869c5e3c13ed3a15db033d0043 (diff) | |
| parent | 85cd428dcb46763e626c1c9bae1c27b44d617d4f (diff) | |
| download | monzero-gui-5a682b37ecef5407ff44ca5d32b1610750702bbb.tar.gz monzero-gui-5a682b37ecef5407ff44ca5d32b1610750702bbb.tar.xz monzero-gui-5a682b37ecef5407ff44ca5d32b1610750702bbb.zip | |
Merge pull request #1793
85cd428 Merchant page (xmrdsc)
Diffstat (limited to 'LeftPanel.qml')
| -rw-r--r-- | LeftPanel.qml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/LeftPanel.qml b/LeftPanel.qml index d7cd0ee8..16b1a8f9 100644 --- a/LeftPanel.qml +++ b/LeftPanel.qml @@ -61,6 +61,7 @@ Rectangle { signal miningClicked() signal signClicked() signal keysClicked() + signal merchantClicked() function selectItem(pos) { menuColumn.previousButton.checked = false @@ -68,6 +69,7 @@ Rectangle { else if(pos === "History") menuColumn.previousButton = historyButton else if(pos === "Transfer") menuColumn.previousButton = transferButton else if(pos === "Receive") menuColumn.previousButton = receiveButton + else if(pos === "Merchant") menuColumn.previousButton = merchantButton else if(pos === "AddressBook") menuColumn.previousButton = addressBookButton else if(pos === "Mining") menuColumn.previousButton = miningButton else if(pos === "TxKey") menuColumn.previousButton = txkeyButton @@ -446,6 +448,32 @@ Rectangle { height: 1 } + // ------------- Merchant tab --------------- + + MoneroComponents.MenuButton { + id: merchantButton + anchors.left: parent.left + anchors.right: parent.right + text: qsTr("Merchant") + translationManager.emptyString + symbol: qsTr("U") + translationManager.emptyString + dotColor: "#FF4F41" + under: receiveButton + onClicked: { + parent.previousButton.checked = false + parent.previousButton = merchantButton + panel.merchantClicked() + } + } + + Rectangle { + visible: merchantButton.present + anchors.left: parent.left + anchors.right: parent.right + anchors.leftMargin: 16 + color: "#313131" + height: 1 + } + // ------------- History tab --------------- MoneroComponents.MenuButton { |
