15#include <QApplication>
21 platformStyle(_platformStyle)
160 QWidget::setTabOrder(prev,
ui->
payTo);
200 return ui->
payTo->text().isEmpty();
217 if (e->type() == QEvent::PaletteChange) {
223 QWidget::changeEvent(e);
233 if(!associatedLabel.isEmpty())
int64_t CAmount
Amount in satoshis (Can be negative)
Widget that shows a list of sending or receiving addresses.
@ ForSelection
Open address book to pick address.
void setModel(AddressTableModel *model)
const QString & getReturnValue() const
QString labelForAddress(const QString &address) const
Look up label for address in address book, if not found return empty string.
void setDisplayUnit(BitcoinUnit new_unit)
Change unit used to display amount.
void clear()
Make field empty and ready for new input.
bool validate()
Perform input validation, mark field as invalid if entered value is not valid.
QWidget * setupTabChain(QWidget *prev)
Qt messes up the tab chain by default in some cases (issue https://bugreports.qt-project....
void setValid(bool valid)
Mark current value as invalid in UI.
void setValue(const CAmount &value)
bool getSubFeeFromAmount() const
void displayUnitChanged(BitcoinUnit unit)
BitcoinUnit getDisplayUnit() const
void setText(const QString &)
void setValid(bool valid)
A single entry in the dialog for sending bitcoins.
bool updateLabel(const QString &address)
void setAddress(const QString &address)
bool isClear()
Return whether the entry is still empty and unedited.
void subtractFeeFromAmountChanged()
void useAvailableBalance(SendCoinsEntry *entry)
SendCoinsRecipient recipient
void setValue(const SendCoinsRecipient &value)
void changeEvent(QEvent *e) override
void on_payTo_textChanged(const QString &address)
void on_pasteButton_clicked()
SendCoinsEntry(const PlatformStyle *platformStyle, QWidget *parent=nullptr)
void setModel(WalletModel *model)
void useAvailableBalanceClicked()
void removeEntry(SendCoinsEntry *entry)
void setAmount(const CAmount &amount)
QWidget * setupTabChain(QWidget *prev)
Set up the tab chain manually, as Qt messes up the tab chain by default in some cases (issue https://...
const PlatformStyle * platformStyle
void on_addressBookButton_clicked()
bool validate(interfaces::Node &node)
void checkSubtractFeeFromAmount()
SendCoinsRecipient getValue()
bool fSubtractFeeFromAmount
QValidatedLineEdit * payTo
QPushButton * useAvailableBalanceButton
QToolButton * pasteButton
QLabel * messageTextLabel
QCheckBox * checkboxSubtractFeeFromAmount
void setupUi(QWidget *SendCoinsEntry)
QHBoxLayout * payToLayout
QToolButton * deleteButton
QToolButton * addressBookButton
BitcoinAmountField * payAmount
Interface to Bitcoin wallet from Qt view code.
AddressTableModel * getAddressTableModel() const
bool validateAddress(const QString &address) const
OptionsModel * getOptionsModel() const
Top-level interface for a bitcoin node (bitcoind process).
bool isDust(interfaces::Node &node, const QString &address, const CAmount &amount)
void setupAddressWidget(QValidatedLineEdit *widget, QWidget *parent)