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