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);
29 void setKnownBestHeight(
int count,
const QDateTime& blockDate);
32 void showHide(
bool hide =
false,
bool userRequested =
false);
36 void toggleVisibility();
40 void triggered(
bool hidden);
43 bool eventFilter(QObject * obj, QEvent * ev)
override;
44 bool event(QEvent* ev)
override;
54 void UpdateHeaderSyncLabel();
57 #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...
bool isLayerVisible() const
Modal overlay to display information about the chain-sync state.
QPropertyAnimation m_animation
QVector< QPair< qint64, double > > blockProcessTime