1 #ifndef SENDCOINSENTRY_H
2 #define SENDCOINSENTRY_H
10 class SendCoinsRecipient;
12 class SendCoinsEntry : public QFrame
17 explicit SendCoinsEntry(QWidget *parent = 0);
20 void setModel(WalletModel *model);
22 SendCoinsRecipient getValue();
24 // Return true if the entry is still empty and unedited
27 void setValue(const SendCoinsRecipient &value);
29 // Qt messes up the tab chain by default in some cases (issue http://bugreports.qt.nokia.com/browse/QTBUG-10907)
30 // Hence we have to set it up manually
31 QWidget *setupTabChain(QWidget *prev);
36 void setRemoveEnabled(bool enabled);
40 void removeEntry(SendCoinsEntry *entry);
43 void on_deleteButton_clicked();
44 void on_payTo_textChanged(const QString &address);
45 void on_addressBookButton_clicked();
46 void on_pasteButton_clicked();
49 Ui::SendCoinsEntry *ui;
53 #endif // SENDCOINSENTRY_H