9 #ifndef UI_MODALOVERLAY_H 10 #define UI_MODALOVERLAY_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QAction> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QButtonGroup> 16 #include <QtWidgets/QFormLayout> 17 #include <QtWidgets/QHBoxLayout> 18 #include <QtWidgets/QHeaderView> 19 #include <QtWidgets/QLabel> 20 #include <QtWidgets/QProgressBar> 21 #include <QtWidgets/QPushButton> 22 #include <QtWidgets/QSpacerItem> 23 #include <QtWidgets/QVBoxLayout> 24 #include <QtWidgets/QWidget> 68 ModalOverlay->setObjectName(QStringLiteral(
"ModalOverlay"));
75 bgWidget->setObjectName(QStringLiteral(
"bgWidget"));
76 bgWidget->setStyleSheet(QStringLiteral(
""));
81 contentWidget->setObjectName(QStringLiteral(
"contentWidget"));
94 warningIcon->setObjectName(QStringLiteral(
"warningIcon"));
97 icon.addFile(QStringLiteral(
":/icons/warning"), QSize(), QIcon::Normal, QIcon::Off);
98 icon.addFile(QStringLiteral(
":/icons/warning"), QSize(), QIcon::Disabled, QIcon::Off);
116 infoText->setObjectName(QStringLiteral(
"infoText"));
117 infoText->setTextFormat(Qt::RichText);
149 formLayout->setObjectName(QStringLiteral(
"formLayout"));
150 formLayout->setFieldGrowthPolicy(QFormLayout::FieldsStayAtSizeHint);
153 formLayout->setContentsMargins(-1, 10, -1, -1);
173 QSizePolicy sizePolicy(QSizePolicy::Maximum, QSizePolicy::Preferred);
174 sizePolicy.setHorizontalStretch(0);
175 sizePolicy.setVerticalStretch(0);
176 sizePolicy.setHeightForWidth(
newestBlockDate->sizePolicy().hasHeightForWidth());
182 labelSyncDone->setObjectName(QStringLiteral(
"labelSyncDone"));
195 progressBar->setObjectName(QStringLiteral(
"progressBar"));
232 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
237 closeButton->setObjectName(QStringLiteral(
"closeButton"));
246 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
268 ModalOverlay->setWindowTitle(QApplication::translate(
"ModalOverlay",
"Form", 0));
270 infoText->setText(QApplication::translate(
"ModalOverlay",
"Recent transactions may not yet be visible, and therefore your wallet's balance might be incorrect. This information will be correct once your wallet has finished synchronizing with the Dash network, as detailed below.", 0));
271 infoTextStrong->setText(QApplication::translate(
"ModalOverlay",
"Attempting to spend Dash that are affected by not-yet-displayed transactions will not be accepted by the network.", 0));
273 numberOfBlocksLeft->setText(QApplication::translate(
"ModalOverlay",
"Unknown...", 0));
274 labelLastBlockTime->setText(QApplication::translate(
"ModalOverlay",
"Last block time", 0));
275 newestBlockDate->setText(QApplication::translate(
"ModalOverlay",
"Unknown...", 0));
276 labelSyncDone->setText(QApplication::translate(
"ModalOverlay",
"Progress", 0));
279 labelProgressIncrease->setText(QApplication::translate(
"ModalOverlay",
"Progress increase per hour", 0));
281 labelEstimatedTimeLeft->setText(QApplication::translate(
"ModalOverlay",
"Estimated time left until synced", 0));
282 expectedTimeLeft->setText(QApplication::translate(
"ModalOverlay",
"calculating...", 0));
283 closeButton->setText(QApplication::translate(
"ModalOverlay",
"Hide", 0));
294 #endif // UI_MODALOVERLAY_H
void setupUi(ModalOverlay *ModalOverlay)
QLabel * expectedTimeLeft
QSpacerItem * verticalSpacerWarningIcon
QHBoxLayout * horizontalLayoutButtons
QLabel * labelLastBlockTime
QLabel * progressIncreasePerH
QSpacerItem * verticalSpacerInTextSpace
QVBoxLayout * verticalLayout
QLabel * labelProgressIncrease
QHBoxLayout * horizontalLayoutIconText
QVBoxLayout * verticalLayoutIcon
QVBoxLayout * verticalLayoutInfoText
QLabel * labelNumberOfBlocksLeft
QLabel * labelEstimatedTimeLeft
QPushButton * warningIcon
QSpacerItem * horizontalSpacer
QLabel * numberOfBlocksLeft
QHBoxLayout * horizontalLayoutSync
QPushButton * closeButton
QSpacerItem * verticalSpacer
QSpacerItem * verticalSpacerAfterText
QProgressBar * progressBar
QVBoxLayout * verticalLayoutMain
QVBoxLayout * verticalLayoutSub
QLabel * percentageProgress
QVBoxLayout * verticalLayout_2
void retranslateUi(ModalOverlay *ModalOverlay)