Line data Source code
1 : /********************************************************************************
2 : ** Form generated from reading UI file 'modaloverlay.ui'
3 : **
4 : ** Created by: Qt User Interface Compiler version 5.15.0
5 : **
6 : ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 : ********************************************************************************/
8 :
9 : #ifndef UI_MODALOVERLAY_H
10 : #define UI_MODALOVERLAY_H
11 :
12 : #include <QtCore/QVariant>
13 : #include <QtGui/QIcon>
14 : #include <QtWidgets/QApplication>
15 : #include <QtWidgets/QFormLayout>
16 : #include <QtWidgets/QHBoxLayout>
17 : #include <QtWidgets/QLabel>
18 : #include <QtWidgets/QProgressBar>
19 : #include <QtWidgets/QPushButton>
20 : #include <QtWidgets/QSpacerItem>
21 : #include <QtWidgets/QVBoxLayout>
22 : #include <QtWidgets/QWidget>
23 :
24 : QT_BEGIN_NAMESPACE
25 :
26 : class Ui_ModalOverlay
27 : {
28 : public:
29 : QVBoxLayout *verticalLayout;
30 : QWidget *bgWidget;
31 : QVBoxLayout *verticalLayoutMain;
32 : QWidget *contentWidget;
33 : QVBoxLayout *verticalLayoutSub;
34 : QHBoxLayout *horizontalLayoutIconText;
35 : QVBoxLayout *verticalLayoutIcon;
36 : QPushButton *warningIcon;
37 : QSpacerItem *verticalSpacerWarningIcon;
38 : QVBoxLayout *verticalLayoutInfoText;
39 : QLabel *infoText;
40 : QLabel *infoTextStrong;
41 : QSpacerItem *verticalSpacerInTextSpace;
42 : QSpacerItem *verticalSpacerAfterText;
43 : QFormLayout *formLayout;
44 : QLabel *labelNumberOfBlocksLeft;
45 : QLabel *numberOfBlocksLeft;
46 : QLabel *labelLastBlockTime;
47 : QLabel *newestBlockDate;
48 : QLabel *labelSyncDone;
49 : QHBoxLayout *horizontalLayoutSync;
50 : QLabel *percentageProgress;
51 : QProgressBar *progressBar;
52 : QLabel *labelProgressIncrease;
53 : QLabel *progressIncreasePerH;
54 : QLabel *labelEstimatedTimeLeft;
55 : QLabel *expectedTimeLeft;
56 : QHBoxLayout *horizontalLayoutButtons;
57 : QSpacerItem *horizontalSpacer;
58 : QPushButton *closeButton;
59 :
60 0 : void setupUi(QWidget *ModalOverlay)
61 : {
62 0 : if (ModalOverlay->objectName().isEmpty())
63 0 : ModalOverlay->setObjectName(QString::fromUtf8("ModalOverlay"));
64 0 : ModalOverlay->resize(640, 385);
65 0 : verticalLayout = new QVBoxLayout(ModalOverlay);
66 0 : verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
67 0 : verticalLayout->setSizeConstraint(QLayout::SetDefaultConstraint);
68 0 : verticalLayout->setContentsMargins(0, 0, 0, 0);
69 0 : bgWidget = new QWidget(ModalOverlay);
70 0 : bgWidget->setObjectName(QString::fromUtf8("bgWidget"));
71 0 : bgWidget->setStyleSheet(QString::fromUtf8("#bgWidget { background: rgba(0,0,0,220); }"));
72 0 : verticalLayoutMain = new QVBoxLayout(bgWidget);
73 0 : verticalLayoutMain->setObjectName(QString::fromUtf8("verticalLayoutMain"));
74 0 : verticalLayoutMain->setContentsMargins(60, 60, 60, 60);
75 0 : contentWidget = new QWidget(bgWidget);
76 0 : contentWidget->setObjectName(QString::fromUtf8("contentWidget"));
77 0 : contentWidget->setStyleSheet(QString::fromUtf8("#contentWidget { background: rgba(255,255,255,240); border-radius: 6px; }\n"
78 : "\n"
79 : "QLabel { color: rgb(40,40,40); }"));
80 0 : verticalLayoutSub = new QVBoxLayout(contentWidget);
81 0 : verticalLayoutSub->setSpacing(0);
82 0 : verticalLayoutSub->setObjectName(QString::fromUtf8("verticalLayoutSub"));
83 0 : verticalLayoutSub->setContentsMargins(10, 10, 10, 10);
84 0 : horizontalLayoutIconText = new QHBoxLayout();
85 0 : horizontalLayoutIconText->setObjectName(QString::fromUtf8("horizontalLayoutIconText"));
86 0 : horizontalLayoutIconText->setContentsMargins(-1, 20, -1, -1);
87 0 : verticalLayoutIcon = new QVBoxLayout();
88 0 : verticalLayoutIcon->setObjectName(QString::fromUtf8("verticalLayoutIcon"));
89 0 : verticalLayoutIcon->setContentsMargins(0, -1, -1, -1);
90 0 : warningIcon = new QPushButton(contentWidget);
91 0 : warningIcon->setObjectName(QString::fromUtf8("warningIcon"));
92 0 : warningIcon->setEnabled(false);
93 0 : QIcon icon;
94 0 : icon.addFile(QString::fromUtf8(":/icons/warning"), QSize(), QIcon::Normal, QIcon::Off);
95 0 : icon.addFile(QString::fromUtf8(":/icons/warning"), QSize(), QIcon::Disabled, QIcon::Off);
96 0 : warningIcon->setIcon(icon);
97 0 : warningIcon->setIconSize(QSize(48, 48));
98 0 : warningIcon->setFlat(true);
99 :
100 0 : verticalLayoutIcon->addWidget(warningIcon);
101 :
102 0 : verticalSpacerWarningIcon = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
103 :
104 0 : verticalLayoutIcon->addItem(verticalSpacerWarningIcon);
105 :
106 :
107 0 : horizontalLayoutIconText->addLayout(verticalLayoutIcon);
108 :
109 0 : verticalLayoutInfoText = new QVBoxLayout();
110 0 : verticalLayoutInfoText->setObjectName(QString::fromUtf8("verticalLayoutInfoText"));
111 0 : verticalLayoutInfoText->setContentsMargins(0, 0, -1, -1);
112 0 : infoText = new QLabel(contentWidget);
113 0 : infoText->setObjectName(QString::fromUtf8("infoText"));
114 0 : infoText->setTextFormat(Qt::RichText);
115 0 : infoText->setWordWrap(true);
116 :
117 0 : verticalLayoutInfoText->addWidget(infoText);
118 :
119 0 : infoTextStrong = new QLabel(contentWidget);
120 0 : infoTextStrong->setObjectName(QString::fromUtf8("infoTextStrong"));
121 0 : QFont font;
122 0 : font.setBold(true);
123 0 : font.setWeight(75);
124 0 : infoTextStrong->setFont(font);
125 0 : infoTextStrong->setTextFormat(Qt::RichText);
126 0 : infoTextStrong->setWordWrap(true);
127 :
128 0 : verticalLayoutInfoText->addWidget(infoTextStrong);
129 :
130 0 : verticalSpacerInTextSpace = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
131 :
132 0 : verticalLayoutInfoText->addItem(verticalSpacerInTextSpace);
133 :
134 :
135 0 : horizontalLayoutIconText->addLayout(verticalLayoutInfoText);
136 :
137 0 : horizontalLayoutIconText->setStretch(1, 1);
138 :
139 0 : verticalLayoutSub->addLayout(horizontalLayoutIconText);
140 :
141 0 : verticalSpacerAfterText = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
142 :
143 0 : verticalLayoutSub->addItem(verticalSpacerAfterText);
144 :
145 0 : formLayout = new QFormLayout();
146 0 : formLayout->setObjectName(QString::fromUtf8("formLayout"));
147 0 : formLayout->setFieldGrowthPolicy(QFormLayout::FieldsStayAtSizeHint);
148 0 : formLayout->setHorizontalSpacing(6);
149 0 : formLayout->setVerticalSpacing(6);
150 0 : formLayout->setContentsMargins(-1, 10, -1, -1);
151 0 : labelNumberOfBlocksLeft = new QLabel(contentWidget);
152 0 : labelNumberOfBlocksLeft->setObjectName(QString::fromUtf8("labelNumberOfBlocksLeft"));
153 0 : labelNumberOfBlocksLeft->setFont(font);
154 :
155 0 : formLayout->setWidget(0, QFormLayout::LabelRole, labelNumberOfBlocksLeft);
156 :
157 0 : numberOfBlocksLeft = new QLabel(contentWidget);
158 0 : numberOfBlocksLeft->setObjectName(QString::fromUtf8("numberOfBlocksLeft"));
159 :
160 0 : formLayout->setWidget(0, QFormLayout::FieldRole, numberOfBlocksLeft);
161 :
162 0 : labelLastBlockTime = new QLabel(contentWidget);
163 0 : labelLastBlockTime->setObjectName(QString::fromUtf8("labelLastBlockTime"));
164 0 : labelLastBlockTime->setFont(font);
165 :
166 0 : formLayout->setWidget(1, QFormLayout::LabelRole, labelLastBlockTime);
167 :
168 0 : newestBlockDate = new QLabel(contentWidget);
169 0 : newestBlockDate->setObjectName(QString::fromUtf8("newestBlockDate"));
170 0 : QSizePolicy sizePolicy(QSizePolicy::Maximum, QSizePolicy::Preferred);
171 0 : sizePolicy.setHorizontalStretch(0);
172 0 : sizePolicy.setVerticalStretch(0);
173 0 : sizePolicy.setHeightForWidth(newestBlockDate->sizePolicy().hasHeightForWidth());
174 0 : newestBlockDate->setSizePolicy(sizePolicy);
175 :
176 0 : formLayout->setWidget(1, QFormLayout::FieldRole, newestBlockDate);
177 :
178 0 : labelSyncDone = new QLabel(contentWidget);
179 0 : labelSyncDone->setObjectName(QString::fromUtf8("labelSyncDone"));
180 0 : labelSyncDone->setFont(font);
181 :
182 0 : formLayout->setWidget(2, QFormLayout::LabelRole, labelSyncDone);
183 :
184 0 : horizontalLayoutSync = new QHBoxLayout();
185 0 : horizontalLayoutSync->setObjectName(QString::fromUtf8("horizontalLayoutSync"));
186 0 : percentageProgress = new QLabel(contentWidget);
187 0 : percentageProgress->setObjectName(QString::fromUtf8("percentageProgress"));
188 0 : percentageProgress->setText(QString::fromUtf8("~"));
189 :
190 0 : horizontalLayoutSync->addWidget(percentageProgress);
191 :
192 0 : progressBar = new QProgressBar(contentWidget);
193 0 : progressBar->setObjectName(QString::fromUtf8("progressBar"));
194 0 : progressBar->setValue(24);
195 :
196 0 : horizontalLayoutSync->addWidget(progressBar);
197 :
198 0 : horizontalLayoutSync->setStretch(1, 1);
199 :
200 0 : formLayout->setLayout(2, QFormLayout::FieldRole, horizontalLayoutSync);
201 :
202 0 : labelProgressIncrease = new QLabel(contentWidget);
203 0 : labelProgressIncrease->setObjectName(QString::fromUtf8("labelProgressIncrease"));
204 0 : labelProgressIncrease->setFont(font);
205 :
206 0 : formLayout->setWidget(4, QFormLayout::LabelRole, labelProgressIncrease);
207 :
208 0 : progressIncreasePerH = new QLabel(contentWidget);
209 0 : progressIncreasePerH->setObjectName(QString::fromUtf8("progressIncreasePerH"));
210 :
211 0 : formLayout->setWidget(4, QFormLayout::FieldRole, progressIncreasePerH);
212 :
213 0 : labelEstimatedTimeLeft = new QLabel(contentWidget);
214 0 : labelEstimatedTimeLeft->setObjectName(QString::fromUtf8("labelEstimatedTimeLeft"));
215 0 : labelEstimatedTimeLeft->setFont(font);
216 :
217 0 : formLayout->setWidget(5, QFormLayout::LabelRole, labelEstimatedTimeLeft);
218 :
219 0 : expectedTimeLeft = new QLabel(contentWidget);
220 0 : expectedTimeLeft->setObjectName(QString::fromUtf8("expectedTimeLeft"));
221 :
222 0 : formLayout->setWidget(5, QFormLayout::FieldRole, expectedTimeLeft);
223 :
224 :
225 0 : verticalLayoutSub->addLayout(formLayout);
226 :
227 0 : horizontalLayoutButtons = new QHBoxLayout();
228 0 : horizontalLayoutButtons->setObjectName(QString::fromUtf8("horizontalLayoutButtons"));
229 0 : horizontalLayoutButtons->setContentsMargins(10, 10, -1, -1);
230 0 : horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
231 :
232 0 : horizontalLayoutButtons->addItem(horizontalSpacer);
233 :
234 0 : closeButton = new QPushButton(contentWidget);
235 0 : closeButton->setObjectName(QString::fromUtf8("closeButton"));
236 0 : closeButton->setFocusPolicy(Qt::StrongFocus);
237 :
238 0 : horizontalLayoutButtons->addWidget(closeButton);
239 :
240 :
241 0 : verticalLayoutSub->addLayout(horizontalLayoutButtons);
242 :
243 0 : verticalLayoutSub->setStretch(0, 1);
244 :
245 0 : verticalLayoutMain->addWidget(contentWidget);
246 :
247 0 : verticalLayoutMain->setStretch(0, 1);
248 :
249 0 : verticalLayout->addWidget(bgWidget);
250 :
251 :
252 0 : retranslateUi(ModalOverlay);
253 :
254 0 : closeButton->setDefault(true);
255 :
256 :
257 0 : QMetaObject::connectSlotsByName(ModalOverlay);
258 0 : } // setupUi
259 :
260 0 : void retranslateUi(QWidget *ModalOverlay)
261 : {
262 0 : ModalOverlay->setWindowTitle(QCoreApplication::translate("ModalOverlay", "Form", nullptr));
263 0 : warningIcon->setText(QString());
264 0 : infoText->setText(QCoreApplication::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 bitcoin network, as detailed below.", nullptr));
265 0 : infoTextStrong->setText(QCoreApplication::translate("ModalOverlay", "Attempting to spend bitcoins that are affected by not-yet-displayed transactions will not be accepted by the network.", nullptr));
266 0 : labelNumberOfBlocksLeft->setText(QCoreApplication::translate("ModalOverlay", "Number of blocks left", nullptr));
267 0 : numberOfBlocksLeft->setText(QCoreApplication::translate("ModalOverlay", "Unknown...", nullptr));
268 0 : labelLastBlockTime->setText(QCoreApplication::translate("ModalOverlay", "Last block time", nullptr));
269 0 : newestBlockDate->setText(QCoreApplication::translate("ModalOverlay", "Unknown...", nullptr));
270 0 : labelSyncDone->setText(QCoreApplication::translate("ModalOverlay", "Progress", nullptr));
271 0 : progressBar->setFormat(QString());
272 0 : labelProgressIncrease->setText(QCoreApplication::translate("ModalOverlay", "Progress increase per hour", nullptr));
273 0 : progressIncreasePerH->setText(QCoreApplication::translate("ModalOverlay", "calculating...", nullptr));
274 0 : labelEstimatedTimeLeft->setText(QCoreApplication::translate("ModalOverlay", "Estimated time left until synced", nullptr));
275 0 : expectedTimeLeft->setText(QCoreApplication::translate("ModalOverlay", "calculating...", nullptr));
276 0 : closeButton->setText(QCoreApplication::translate("ModalOverlay", "Hide", nullptr));
277 : #if QT_CONFIG(shortcut)
278 0 : closeButton->setShortcut(QCoreApplication::translate("ModalOverlay", "Esc", nullptr));
279 : #endif // QT_CONFIG(shortcut)
280 0 : } // retranslateUi
281 :
282 : };
283 :
284 : namespace Ui {
285 : class ModalOverlay: public Ui_ModalOverlay {};
286 : } // namespace Ui
287 :
288 : QT_END_NAMESPACE
289 :
290 : #endif // UI_MODALOVERLAY_H
|