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 /main.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 'main.qml')
| -rw-r--r-- | main.qml | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -86,6 +86,11 @@ ApplicationWindow { // true if wallet ever synchronized property bool walletInitialized : false + // Current selected address / subaddress (Receive page) + property var current_address + property var current_address_label: "Primary" + property int current_subaddress_table_index: 0 + function altKeyReleased() { ctrlPressed = false; } function showPageRequest(page) { @@ -1371,6 +1376,15 @@ ApplicationWindow { updateBalance(); } + onMerchantClicked: { + middlePanel.state = "Merchant"; + middlePanel.flickable.contentY = 0; + if(isMobile) { + hideMenu(); + } + updateBalance(); + } + onTxkeyClicked: { middlePanel.state = "TxKey"; middlePanel.flickable.contentY = 0; @@ -1825,6 +1839,15 @@ ApplicationWindow { onTriggered: checkUpdates() } + function titlebarToggleOrange(flag){ + // toggle titlebar orange style + if(flag !== undefined){ + titleBar.orange = flag; + } else { + titleBar.orange = !titleBar.orange; + } + } + function releaseFocus() { // Workaround to release focus from textfield when scrolling (https://bugreports.qt.io/browse/QTBUG-34867) if(isAndroid) { |
