Feathercoin  0.5.0
P2P Digital Currency
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
overviewpage.h
Go to the documentation of this file.
1 #ifndef OVERVIEWPAGE_H
2 #define OVERVIEWPAGE_H
3 
4 #include <QWidget>
5 
6 namespace Ui {
7  class OverviewPage;
8 }
9 class ClientModel;
10 class WalletModel;
11 class TxViewDelegate;
13 
14 QT_BEGIN_NAMESPACE
15 class QModelIndex;
16 QT_END_NAMESPACE
17 
19 class OverviewPage : public QWidget
20 {
21  Q_OBJECT
22 
23 public:
24  explicit OverviewPage(QWidget *parent = 0);
25  ~OverviewPage();
26 
29  void showOutOfSyncWarning(bool fShow);
30 
31 public slots:
32  void setBalance(qint64 balance, qint64 unconfirmedBalance, qint64 immatureBalance);
33 
34 signals:
35  void transactionClicked(const QModelIndex &index);
36 
37 private:
38  Ui::OverviewPage *ui;
44 
47 
48 private slots:
49  void updateDisplayUnit();
50  void handleTransactionClicked(const QModelIndex &index);
51  void updateAlerts(const QString &warnings);
52 };
53 
54 #endif // OVERVIEWPAGE_H
void setWalletModel(WalletModel *walletModel)
void updateAlerts(const QString &warnings)
void handleTransactionClicked(const QModelIndex &index)
Definition: aboutdialog.h:6
TransactionFilterProxy * filter
Definition: overviewpage.h:46
qint64 currentUnconfirmedBalance
Definition: overviewpage.h:42
TxViewDelegate * txdelegate
Definition: overviewpage.h:45
WalletModel * walletModel
Definition: overviewpage.h:40
qint64 currentBalance
Definition: overviewpage.h:41
qint64 currentImmatureBalance
Definition: overviewpage.h:43
Model for Bitcoin network client.
Definition: clientmodel.h:24
ClientModel * clientModel
Definition: overviewpage.h:39
void transactionClicked(const QModelIndex &index)
void showOutOfSyncWarning(bool fShow)
OverviewPage(QWidget *parent=0)
Filter the transaction list according to pre-specified rules.
void updateDisplayUnit()
Interface to Bitcoin wallet from Qt view code.
Definition: walletmodel.h:36
void setClientModel(ClientModel *clientModel)
void setBalance(qint64 balance, qint64 unconfirmedBalance, qint64 immatureBalance)
Overview ("home") page widget.
Definition: overviewpage.h:19
Ui::OverviewPage * ui
Definition: overviewpage.h:38