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