14 #include <QApplication>
29 #if QT_VERSION >= 0x040700
30 ui->
addAsLabel->setPlaceholderText(tr(
"Enter a label for this address to add it to your address book"));
47 ui->
payTo->setText(QApplication::clipboard()->text());
159 QWidget::setTabOrder(prev,
ui->
payTo);
240 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)
PaymentRequestPlus paymentRequest
bool IsInitialized() const
void setReadOnly(bool fReadOnly)
Make read-only.
QToolButton * deleteButton
QLabel * memoTextLabel_is
QLabel * messageTextLabel
SendCoinsRecipient getValue()
QValidatedLineEdit * payTo
void setModel(AddressTableModel *model)
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://...
void setupAddressWidget(QValidatedLineEdit *widget, QWidget *parent)
QToolButton * deleteButton_is
bool isDust(const QString &address, qint64 amount)
void setupUi(QStackedWidget *SendCoinsEntry)
Widget that shows a list of sending or receiving addresses.
void removeEntry(SendCoinsEntry *entry)
QFrame * SendCoins_SecurePaymentRequest
bool isClear()
Return whether the entry is still empty and unedited.
bool validateAddress(const QString &address)
QToolButton * pasteButton
QFrame * SendCoins_InsecurePaymentRequest
void on_pasteButton_clicked()
QString labelForAddress(const QString &address) const
Interface to Bitcoin wallet from Qt view code.
void clear()
Make field empty and ready for new input.
SendCoinsRecipient recipient
void on_addressBookButton_clicked()
void setModel(WalletModel *model)
void setValid(bool valid)
Mark current value as invalid in UI.
SendCoinsEntry(QWidget *parent=0)
QToolButton * addressBookButton
void setDisplayUnit(int unit)
Change unit used to display amount.
QString authenticatedMerchant
void setValue(qint64 value)
void setValid(bool valid)
BitcoinAmountField * payAmount
QFont bitcoinAddressFont()
OptionsModel * getOptionsModel()