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