15 #include <QApplication>
19 QStackedWidget(parent),
30 #if QT_VERSION >= 0x040700
31 ui->
addAsLabel->setPlaceholderText(tr(
"Enter a label for this address to add it to your address book"));
48 ui->
payTo->setText(QApplication::clipboard()->text());
160 QWidget::setTabOrder(prev,
ui->
payTo);
241 if(!associatedLabel.isEmpty())
QHBoxLayout * payToLayout
void setValue(const SendCoinsRecipient &value)
void setDisplayUnit(int unit)
Change unit used to display amount.
PaymentRequestPlus paymentRequest
bool IsInitialized() const
QToolButton * deleteButton
QLabel * memoTextLabel_is
QLabel * messageTextLabel
void setValue(qint64 value)
SendCoinsRecipient getValue()
void setValid(bool valid)
Mark current value as invalid in UI.
QValidatedLineEdit * payTo
void setModel(AddressTableModel *model)
const QString & getReturnValue() const
void setAddress(const QString &address)
bool validate()
Perform input validation, mark field as invalid if entered value is not valid.
bool updateLabel(const QString &address)
AnoncoinAmountField * payAmount_s
void on_payTo_textChanged(const QString &address)
QToolButton * deleteButton_s
Open address book to pick address.
AddressTableModel * getAddressTableModel()
A single entry in the dialog for sending anoncoins.
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)
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.
QToolButton * deleteButton_is
bool isDust(const QString &address, qint64 amount)
void setupUi(QStackedWidget *SendCoinsEntry)
Widget that shows a list of sending or receiving addresses.
QFont anoncoinAddressFont()
void removeEntry(SendCoinsEntry *entry)
QFrame * SendCoins_SecurePaymentRequest
bool isClear()
Return whether the entry is still empty and unedited.
bool validateAddress(const QString &address)
void clear()
Make field empty and ready for new input.
QToolButton * pasteButton
QFrame * SendCoins_InsecurePaymentRequest
void on_pasteButton_clicked()
QString labelForAddress(const QString &address) const
Interface to Anoncoin wallet from Qt view code.
SendCoinsRecipient recipient
void on_addressBookButton_clicked()
void setModel(WalletModel *model)
AnoncoinAmountField * payAmount_is
SendCoinsEntry(QWidget *parent=0)
QToolButton * addressBookButton
void setReadOnly(bool fReadOnly)
Make read-only.
AnoncoinAmountField * payAmount
QString authenticatedMerchant
void setValid(bool valid)
OptionsModel * getOptionsModel()