1 #ifndef SENDCOINSENTRY_H
2 #define SENDCOINSENTRY_H
10 class SendCoinsRecipient;
12 /** A single entry in the dialog for sending bitcoins. */
13 class SendCoinsEntry : public QFrame
18 explicit SendCoinsEntry(QWidget *parent = 0);
21 void setModel(WalletModel *model);
23 SendCoinsRecipient getValue();
25 /** Return whether the entry is still empty and unedited */
28 void setValue(const SendCoinsRecipient &value);
30 /** Set up the tab chain manually, as Qt messes up the tab chain by default in some cases (issue http://bugreports.qt.nokia.com/browse/QTBUG-10907).
32 QWidget *setupTabChain(QWidget *prev);
37 void setRemoveEnabled(bool enabled);
41 void removeEntry(SendCoinsEntry *entry);
44 void on_deleteButton_clicked();
45 void on_payTo_textChanged(const QString &address);
46 void on_addressBookButton_clicked();
47 void on_pasteButton_clicked();
50 Ui::SendCoinsEntry *ui;
54 #endif // SENDCOINSENTRY_H