5 #ifndef PIVX_QT_TOPBAR_H
6 #define PIVX_QT_TOPBAR_H
13 #include <QProgressBar>
31 explicit TopBar(
PIVXGUI* _mainWindow, QWidget *parent =
nullptr);
43 void run(
int type)
override;
56 void updateHDState(
const bool upgraded,
const QString& upgradeError);
Model for PIVX network client.
TopBar(PIVXGUI *_mainWindow, QWidget *parent=nullptr)
void resizeEvent(QResizeEvent *event) override
void walletSynced(bool isSync)
void loadClientModel() override
void updateHDState(const bool upgraded, const QString &upgradeError)
QProgressBar * progressBar
void setNumBlocks(int count)
void onError(QString error, int type) override
void onColdStakingClicked()
void run(int type) override
QTimer * timerStakingIcon
void onShowHideColdStakingChanged(bool show)
void updateBalances(const interfaces::WalletBalances &newBalance)
void loadWalletModel() override
void onBtnBalanceInfoClicked()
void refreshProgressBarSize()
void openPassPhraseDialog(AskPassphraseDialog::Mode mode, AskPassphraseDialog::Context ctx)
BalanceBubble * balanceBubble
void onBtnReceiveClicked()
void connectUpgradeBtnAndDialogTimer(const QString &message)
void setNetworkActive(bool active)
void updateStakingStatus()
void tierTwoSynced(bool isSync)
void setNumConnections(int count)
void setStakingStatusActive(bool fActive)
void lockDropdownMouseLeave()
void lockDropdownClicked(const StateClicked &)
void themeChanged(bool isLight)
void showUpgradeDialog(const QString &message)
LockUnlock * lockUnlockWidget
Interface to PIVX wallet from Qt view code.
Collection of wallet balances.
bool error(const char *fmt, const Args &... args)