5 #ifndef BITCOIN_QT_MODALOVERLAY_H 6 #define BITCOIN_QT_MODALOVERLAY_H 9 #include <QPropertyAnimation> 25 explicit ModalOverlay(
bool enable_wallet, QWidget *parent);
28 void tipUpdate(
int count,
const QDateTime& blockDate,
double nVerificationProgress);
32 void showHide(
bool hide =
false,
bool userRequested =
false);
43 bool eventFilter(QObject * obj, QEvent * ev)
override;
44 bool event(QEvent* ev)
override;
58 #endif // BITCOIN_QT_MODALOVERLAY_H
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...
void triggered(bool hidden)
void tipUpdate(int count, const QDateTime &blockDate, double nVerificationProgress)
void UpdateHeaderSyncLabel()
bool isLayerVisible() const
Modal overlay to display information about the chain-sync state.
ModalOverlay(bool enable_wallet, QWidget *parent)
void setKnownBestHeight(int count, const QDateTime &blockDate, bool presync)
bool event(QEvent *ev) override
Tracks parent widget changes.
void showHide(bool hide=false, bool userRequested=false)
bool eventFilter(QObject *obj, QEvent *ev) override
QPropertyAnimation m_animation
QVector< QPair< qint64, double > > blockProcessTime
void UpdateHeaderPresyncLabel(int height, const QDateTime &blockDate)