5#if defined(HAVE_CONFIG_H)
19#include <QApplication>
23 QStackedWidget(parent),
26 platformStyle(_platformStyle)
63 ui->
payTo->setText(QApplication::clipboard()->text());
182 QWidget::setTabOrder(prev,
ui->
payTo);
243 if (e->type() == QEvent::PaletteChange) {
251 QStackedWidget::changeEvent(e);
261 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(int 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)
int getDisplayUnit() const
bool getSubFeeFromAmount() const
void displayUnitChanged(int unit)
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
QToolButton * deleteButton_is
QValidatedLineEdit * payTo
BitcoinAmountField * payAmount_is
QPushButton * useAvailableBalanceButton
QLabel * memoTextLabel_is
QToolButton * pasteButton
BitcoinAmountField * payAmount_s
QLabel * messageTextLabel
QCheckBox * checkboxSubtractFeeFromAmount
void setupUi(QStackedWidget *SendCoinsEntry)
QHBoxLayout * payToLayout
QToolButton * deleteButton
QToolButton * addressBookButton
QToolButton * deleteButton_s
BitcoinAmountField * payAmount
Interface to Bitcoin wallet from Qt view code.
bool validateAddress(const QString &address)
AddressTableModel * getAddressTableModel()
OptionsModel * getOptionsModel()
Top-level interface for a bitcoin node (bitcoind process).
QFont fixedPitchFont(bool use_embedded_font)
bool isDust(interfaces::Node &node, const QString &address, const CAmount &amount)
void setupAddressWidget(QValidatedLineEdit *widget, QWidget *parent)