Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
modaloverlay.cpp
Go to the documentation of this file.
34 ui->warningIcon->setPixmap(GUIUtil::getIcon("warning", GUIUtil::ThemedColor::ORANGE).pixmap(48, 48));
91 void ModalOverlay::tipUpdate(int count, const QDateTime& blockDate, double nVerificationProgress)
109 if (sample.first < (currentDate.toMSecsSinceEpoch() - 500 * 1000) || i == blockProcessTime.size() - 1) {
146 int estimateNumHeadersLeft = bestHeaderDate.secsTo(currentDate) / Params().GetConsensus().nPowTargetSpacing;
167 if ( (layerIsVisible && !hide) || (!layerIsVisible && hide) || (!hide && userClosed && !userRequested))
void setFont(const std::vector< QWidget *> &vecWidgets, FontWeight weight, int nPointSize, bool fItalic)
Workaround to set correct font styles in all themes since there is a bug in macOS which leads to issu...
Definition: guiutil.cpp:1552
Definition: addressbookpage.h:12
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...
Definition: modaloverlay.h:12
void tipUpdate(int count, const QDateTime &blockDate, double nVerificationProgress)
Definition: modaloverlay.cpp:91
Modal overlay to display information about the chain-sync state.
Definition: modaloverlay.h:19
void updateFonts()
Update the font of all widgets where a custom font has been set with GUIUtil::setFont.
Definition: guiutil.cpp:1563
void setKnownBestHeight(int count, const QDateTime &blockDate)
Definition: modaloverlay.cpp:83
QIcon getIcon(const QString &strIcon, const ThemedColor color, const ThemedColor colorAlternative, const QString &strIconPath)
Helper to get an icon colorized with the given color (replaces black) and colorAlternative (replaces ...
Definition: guiutil.cpp:216
void showHide(bool hide=false, bool userRequested=false)
Definition: modaloverlay.cpp:165
const CChainParams & Params()
Return the currently selected parameters.
Definition: chainparams.cpp:947
QVector< QPair< qint64, double > > blockProcessTime
Definition: modaloverlay.h:46
const Consensus::Params & GetConsensus() const
Definition: chainparams.h:54