diff options
author | CryptAxe <cryptaxe@gmail.com> | 2017-08-19 22:04:56 -0700 |
---|---|---|
committer | João Barbosa <joao.paulo.barbosa@gmail.com> | 2017-09-13 01:24:07 +0100 |
commit | d052e3847c84fc89f3a3ec6ddef15bbe836d755d (patch) | |
tree | 4afc8b1a28d19a2533d4f90e935f051797878bb7 /src/qt/sendcoinsentry.h | |
parent | 96ac26e56627f0c24213fcd3a1cce9fc95f1f661 (diff) |
[qt] Add use available balance in send coins dialog
Diffstat (limited to 'src/qt/sendcoinsentry.h')
-rw-r--r-- | src/qt/sendcoinsentry.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qt/sendcoinsentry.h b/src/qt/sendcoinsentry.h index a8be670c2a..557fea4e54 100644 --- a/src/qt/sendcoinsentry.h +++ b/src/qt/sendcoinsentry.h @@ -38,6 +38,7 @@ public: void setValue(const SendCoinsRecipient &value); void setAddress(const QString &address); + void setAmount(const CAmount &amount); /** Set up the tab chain manually, as Qt messes up the tab chain by default in some cases * (issue https://bugreports.qt-project.org/browse/QTBUG-10907). @@ -48,14 +49,17 @@ public: public Q_SLOTS: void clear(); + void checkSubtractFeeFromAmount(); Q_SIGNALS: void removeEntry(SendCoinsEntry *entry); + void useAvailableBalance(SendCoinsEntry* entry); void payAmountChanged(); void subtractFeeFromAmountChanged(); private Q_SLOTS: void deleteClicked(); + void useAvailableBalanceClicked(); void on_payTo_textChanged(const QString &address); void on_addressBookButton_clicked(); void on_pasteButton_clicked(); |