Fabcoin Core  0.16.2
P2P Digital Currency
addtokenpage.h
Go to the documentation of this file.
1 #ifndef ADDTOKENPAGE_H
2 #define ADDTOKENPAGE_H
3 
4 #include <QWidget>
5 class Token;
6 class WalletModel;
7 class ClientModel;
8 
9 namespace Ui {
10 class AddTokenPage;
11 }
12 
13 class AddTokenPage : public QWidget
14 {
15  Q_OBJECT
16 
17 public:
18  explicit AddTokenPage(QWidget *parent = 0);
19  ~AddTokenPage();
20  void clearAll();
21  void setModel(WalletModel *_model);
22  void setClientModel(ClientModel *clientModel);
23 
24 private Q_SLOTS:
25  void on_clearButton_clicked();
26  void on_confirmButton_clicked();
27  void on_addressChanged();
28  void on_numBlocksChanged();
29  void on_updateConfirmButton();
30  void on_zeroBalanceAddressToken(bool enable);
31 
32 Q_SIGNALS:
33 
34 private:
40 };
41 
42 #endif // ADDTOKENPAGE_H
Definition: token.h:32
WalletModel * m_model
Definition: addtokenpage.h:37
bool m_validTokenAddress
Definition: addtokenpage.h:39
Model for Fabcoin network client.
Definition: clientmodel.h:38
ClientModel * m_clientModel
Definition: addtokenpage.h:38
Interface to Fabcoin wallet from Qt view code.
Definition: walletmodel.h:103
Token * m_tokenABI
Definition: addtokenpage.h:36
Ui::AddTokenPage * ui
Definition: addtokenpage.h:35