Changeset View
Changeset View
Standalone View
Standalone View
src/qt/overviewpage.h
Show All 33 Lines | public: | ||||
~OverviewPage(); | ~OverviewPage(); | ||||
void setClientModel(ClientModel *clientModel); | void setClientModel(ClientModel *clientModel); | ||||
void setWalletModel(WalletModel *walletModel); | void setWalletModel(WalletModel *walletModel); | ||||
void showOutOfSyncWarning(bool fShow); | void showOutOfSyncWarning(bool fShow); | ||||
public Q_SLOTS: | public Q_SLOTS: | ||||
void setBalance(const interfaces::WalletBalances &balances); | void setBalance(const interfaces::WalletBalances &balances); | ||||
void setPrivacy(bool privacy); | |||||
Q_SIGNALS: | Q_SIGNALS: | ||||
void transactionClicked(const QModelIndex &index); | void transactionClicked(const QModelIndex &index); | ||||
void outOfSyncWarningClicked(); | void outOfSyncWarningClicked(); | ||||
private: | private: | ||||
Ui::OverviewPage *ui; | Ui::OverviewPage *ui; | ||||
ClientModel *clientModel; | ClientModel *clientModel; | ||||
WalletModel *walletModel; | WalletModel *walletModel; | ||||
interfaces::WalletBalances m_balances; | interfaces::WalletBalances m_balances; | ||||
bool m_privacy{false}; | |||||
TxViewDelegate *txdelegate; | TxViewDelegate *txdelegate; | ||||
std::unique_ptr<TransactionFilterProxy> filter; | std::unique_ptr<TransactionFilterProxy> filter; | ||||
private Q_SLOTS: | private Q_SLOTS: | ||||
void updateDisplayUnit(); | void updateDisplayUnit(); | ||||
void handleTransactionClicked(const QModelIndex &index); | void handleTransactionClicked(const QModelIndex &index); | ||||
void updateAlerts(const QString &warnings); | void updateAlerts(const QString &warnings); | ||||
void updateWatchOnlyLabels(bool showWatchOnly); | void updateWatchOnlyLabels(bool showWatchOnly); | ||||
void handleOutOfSyncWarningClicks(); | void handleOutOfSyncWarningClicks(); | ||||
}; | }; | ||||
#endif // BITCOIN_QT_OVERVIEWPAGE_H | #endif // BITCOIN_QT_OVERVIEWPAGE_H |