X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fqt%2Foverviewpage.h;h=10fa79a3d370c7bb3eca3ad5dff9b6cf71764479;hb=b0368da0e15b5506548da3462e14b038ca21ae69;hp=1199227168804ef166cf4b71a5ed0a70d687fc3f;hpb=bde280b9a4da2652716c8ffdeed9ebfa4461cc70;p=novacoin.git diff --git a/src/qt/overviewpage.h b/src/qt/overviewpage.h index 1199227..10fa79a 100644 --- a/src/qt/overviewpage.h +++ b/src/qt/overviewpage.h @@ -12,6 +12,7 @@ namespace Ui { } class WalletModel; class TxViewDelegate; +class TransactionFilterProxy; /** Overview ("home") page widget */ class OverviewPage : public QWidget @@ -23,9 +24,10 @@ public: ~OverviewPage(); void setModel(WalletModel *model); + void showOutOfSyncWarning(bool fShow); public slots: - void setBalance(qint64 balance, qint64 unconfirmedBalance); + void setBalance(qint64 total, qint64 watchOnly, qint64 stake, qint64 unconfirmedBalance, qint64 immatureBalance); void setNumTransactions(int count); signals: @@ -34,13 +36,18 @@ signals: private: Ui::OverviewPage *ui; WalletModel *model; - qint64 currentBalance; + qint64 currentBalanceTotal; + qint64 currentBalanceWatchOnly; + qint64 currentStake; qint64 currentUnconfirmedBalance; + qint64 currentImmatureBalance; TxViewDelegate *txdelegate; + TransactionFilterProxy *filter; private slots: - void displayUnitChanged(); + void updateDisplayUnit(); + void handleTransactionClicked(const QModelIndex &index); }; #endif // OVERVIEWPAGE_H