15 #include <QApplication> 19 QStackedWidget(parent),
22 platformStyle(_platformStyle)
36 #if QT_VERSION >= 0x040700 37 ui->
addAsLabel->setPlaceholderText(tr(
"Enter a label for this address to add it to your address book"));
63 ui->
payTo->setText(QApplication::clipboard()->text());
179 QWidget::setTabOrder(prev,
ui->
payTo);
261 if(!associatedLabel.isEmpty())
FabcoinAmountField * payAmount_s
bool isDust(const QString &address, const CAmount &amount)
QHBoxLayout * payToLayout
void setValue(const SendCoinsRecipient &value)
PaymentRequestPlus paymentRequest
bool IsInitialized() const
QToolButton * deleteButton
QLabel * memoTextLabel_is
QLabel * messageTextLabel
SendCoinsRecipient getValue()
QValidatedLineEdit * payTo
void setModel(AddressTableModel *model)
bool validate()
Perform input validation, mark field as invalid if entered value is not valid.
const QString & getReturnValue() const
void setAddress(const QString &address)
bool updateLabel(const QString &address)
void on_payTo_textChanged(const QString &address)
QToolButton * deleteButton_s
void setReadOnly(bool fReadOnly)
Make read-only.
Open address book to pick address.
AddressTableModel * getAddressTableModel()
A single entry in the dialog for sending fabcoins.
QFrame * SendCoins_UnauthenticatedPaymentRequest
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
void setupUi(QStackedWidget *SendCoinsEntry)
void setValid(bool valid)
Mark current value as invalid in UI.
FabcoinAmountField * payAmount_is
Widget that shows a list of sending or receiving addresses.
void removeEntry(SendCoinsEntry *entry)
bool isClear()
Return whether the entry is still empty and unedited.
bool validateAddress(const QString &address)
QToolButton * pasteButton
void subtractFeeFromAmountChanged()
void setValue(const CAmount &value)
void on_pasteButton_clicked()
QFrame * SendCoins_AuthenticatedPaymentRequest
QString labelForAddress(const QString &address) const
Interface to Fabcoin wallet from Qt view code.
SendCoinsRecipient recipient
void on_addressBookButton_clicked()
void setModel(WalletModel *model)
FabcoinAmountField * payAmount
QCheckBox * checkboxSubtractFeeFromAmount
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.
SendCoinsEntry(const PlatformStyle *platformStyle, QWidget *parent=0)
QToolButton * addressBookButton
bool fSubtractFeeFromAmount
struct evm_uint160be address(struct evm_env *env)
void formatToolButtons(QToolButton *btn1, QToolButton *btn2, QToolButton *btn3)
const PlatformStyle * platformStyle
void setDisplayUnit(int unit)
Change unit used to display amount.
QString authenticatedMerchant
void clear()
Make field empty and ready for new input.
void setValid(bool valid)
OptionsModel * getOptionsModel()