5#ifndef BITCOIN_QT_MODALOVERLAY_H
6#define BITCOIN_QT_MODALOVERLAY_H
9#include <QPropertyAnimation>
25 explicit ModalOverlay(
bool enable_wallet, QWidget *parent);
29 double nVerificationProgress);
34 void showHide(
bool hide =
false,
bool userRequested =
false);
45 bool eventFilter(QObject *obj, QEvent *ev)
override;
46 bool event(QEvent *ev)
override;
Modal overlay to display information about the chain-sync state.
void showHide(bool hide=false, bool userRequested=false)
bool event(QEvent *ev) override
Tracks parent widget changes.
void tipUpdate(int count, const QDateTime &blockDate, double nVerificationProgress)
void UpdateHeaderSyncLabel()
ModalOverlay(bool enable_wallet, QWidget *parent)
void triggered(bool hidden)
bool isLayerVisible() const
void setKnownBestHeight(int count, const QDateTime &blockDate, bool presync)
QVector< QPair< qint64, double > > blockProcessTime
bool eventFilter(QObject *obj, QEvent *ev) override
void UpdateHeaderPresyncLabel(int height, const QDateTime &blockDate)
QPropertyAnimation m_animation
static constexpr int HEADER_HEIGHT_DELTA_SYNC
The required delta of headers to the estimated number of available headers until we show the IBD prog...