Changeset View
Changeset View
Standalone View
Standalone View
src/qt/sendcoinsentry.h
Show All 32 Lines | public: | ||||
bool validate(); | bool validate(); | ||||
SendCoinsRecipient getValue(); | SendCoinsRecipient getValue(); | ||||
/** Return whether the entry is still empty and unedited */ | /** Return whether the entry is still empty and unedited */ | ||||
bool isClear(); | bool isClear(); | ||||
void setValue(const SendCoinsRecipient &value); | void setValue(const SendCoinsRecipient &value); | ||||
void setAddress(const QString &address); | void setAddress(const QString &address); | ||||
void setAmount(const Amount amount); | |||||
/** Set up the tab chain manually, as Qt messes up the tab chain by default | /** Set up the tab chain manually, as Qt messes up the tab chain by default | ||||
* in some cases | * in some cases | ||||
* (issue https://bugreports.qt-project.org/browse/QTBUG-10907). | * (issue https://bugreports.qt-project.org/browse/QTBUG-10907). | ||||
*/ | */ | ||||
QWidget *setupTabChain(QWidget *prev); | QWidget *setupTabChain(QWidget *prev); | ||||
void setFocus(); | void setFocus(); | ||||
public Q_SLOTS: | public Q_SLOTS: | ||||
void clear(); | void clear(); | ||||
void checkSubtractFeeFromAmount(); | |||||
Q_SIGNALS: | Q_SIGNALS: | ||||
void removeEntry(SendCoinsEntry *entry); | void removeEntry(SendCoinsEntry *entry); | ||||
void useAvailableBalance(SendCoinsEntry *entry); | |||||
void payAmountChanged(); | void payAmountChanged(); | ||||
void subtractFeeFromAmountChanged(); | void subtractFeeFromAmountChanged(); | ||||
private Q_SLOTS: | private Q_SLOTS: | ||||
void deleteClicked(); | void deleteClicked(); | ||||
void useAvailableBalanceClicked(); | |||||
void on_payTo_textChanged(const QString &address); | void on_payTo_textChanged(const QString &address); | ||||
void on_addressBookButton_clicked(); | void on_addressBookButton_clicked(); | ||||
void on_pasteButton_clicked(); | void on_pasteButton_clicked(); | ||||
void updateDisplayUnit(); | void updateDisplayUnit(); | ||||
private: | private: | ||||
SendCoinsRecipient recipient; | SendCoinsRecipient recipient; | ||||
Ui::SendCoinsEntry *ui; | Ui::SendCoinsEntry *ui; | ||||
WalletModel *model; | WalletModel *model; | ||||
const PlatformStyle *platformStyle; | const PlatformStyle *platformStyle; | ||||
bool updateLabel(const QString &address); | bool updateLabel(const QString &address); | ||||
}; | }; | ||||
#endif // BITCOIN_QT_SENDCOINSENTRY_H | #endif // BITCOIN_QT_SENDCOINSENTRY_H |