Dash Core  0.12.2.1
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.5.1
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 <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>
25 #include "modaloverlay.h"
26 
27 QT_BEGIN_NAMESPACE
28 
30 {
31 public:
32  QVBoxLayout *verticalLayout;
33  QWidget *bgWidget;
34  QVBoxLayout *verticalLayoutMain;
35  QWidget *contentWidget;
36  QVBoxLayout *verticalLayoutSub;
38  QVBoxLayout *verticalLayoutIcon;
39  QPushButton *warningIcon;
41  QVBoxLayout *verticalLayoutInfoText;
42  QLabel *infoText;
43  QLabel *infoTextStrong;
46  QFormLayout *formLayout;
50  QLabel *newestBlockDate;
51  QLabel *labelSyncDone;
52  QHBoxLayout *horizontalLayoutSync;
54  QProgressBar *progressBar;
60  QSpacerItem *horizontalSpacer;
61  QPushButton *closeButton;
62  QVBoxLayout *verticalLayout_2;
63  QSpacerItem *verticalSpacer;
64 
66  {
67  if (ModalOverlay->objectName().isEmpty())
68  ModalOverlay->setObjectName(QStringLiteral("ModalOverlay"));
69  ModalOverlay->resize(640, 401);
70  verticalLayout = new QVBoxLayout(ModalOverlay);
71  verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
72  verticalLayout->setSizeConstraint(QLayout::SetDefaultConstraint);
73  verticalLayout->setContentsMargins(0, 0, 0, 0);
74  bgWidget = new QWidget(ModalOverlay);
75  bgWidget->setObjectName(QStringLiteral("bgWidget"));
76  bgWidget->setStyleSheet(QStringLiteral(""));
77  verticalLayoutMain = new QVBoxLayout(bgWidget);
78  verticalLayoutMain->setObjectName(QStringLiteral("verticalLayoutMain"));
79  verticalLayoutMain->setContentsMargins(60, 60, 60, 60);
80  contentWidget = new QWidget(bgWidget);
81  contentWidget->setObjectName(QStringLiteral("contentWidget"));
82  contentWidget->setStyleSheet(QStringLiteral(""));
83  verticalLayoutSub = new QVBoxLayout(contentWidget);
84  verticalLayoutSub->setSpacing(0);
85  verticalLayoutSub->setObjectName(QStringLiteral("verticalLayoutSub"));
86  verticalLayoutSub->setContentsMargins(10, 10, 10, 10);
87  horizontalLayoutIconText = new QHBoxLayout();
88  horizontalLayoutIconText->setObjectName(QStringLiteral("horizontalLayoutIconText"));
89  horizontalLayoutIconText->setContentsMargins(-1, 20, -1, -1);
90  verticalLayoutIcon = new QVBoxLayout();
91  verticalLayoutIcon->setObjectName(QStringLiteral("verticalLayoutIcon"));
92  verticalLayoutIcon->setContentsMargins(0, -1, -1, -1);
93  warningIcon = new QPushButton(contentWidget);
94  warningIcon->setObjectName(QStringLiteral("warningIcon"));
95  warningIcon->setEnabled(false);
96  QIcon icon;
97  icon.addFile(QStringLiteral(":/icons/warning"), QSize(), QIcon::Normal, QIcon::Off);
98  icon.addFile(QStringLiteral(":/icons/warning"), QSize(), QIcon::Disabled, QIcon::Off);
99  warningIcon->setIcon(icon);
100  warningIcon->setIconSize(QSize(48, 48));
101  warningIcon->setFlat(true);
102 
103  verticalLayoutIcon->addWidget(warningIcon);
104 
105  verticalSpacerWarningIcon = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
106 
108 
109 
111 
112  verticalLayoutInfoText = new QVBoxLayout();
113  verticalLayoutInfoText->setObjectName(QStringLiteral("verticalLayoutInfoText"));
114  verticalLayoutInfoText->setContentsMargins(0, 0, -1, -1);
115  infoText = new QLabel(contentWidget);
116  infoText->setObjectName(QStringLiteral("infoText"));
117  infoText->setTextFormat(Qt::RichText);
118  infoText->setWordWrap(true);
119 
120  verticalLayoutInfoText->addWidget(infoText);
121 
122  infoTextStrong = new QLabel(contentWidget);
123  infoTextStrong->setObjectName(QStringLiteral("infoTextStrong"));
124  QFont font;
125  font.setBold(true);
126  font.setWeight(75);
127  infoTextStrong->setFont(font);
128  infoTextStrong->setTextFormat(Qt::RichText);
129  infoTextStrong->setWordWrap(true);
130 
132 
133  verticalSpacerInTextSpace = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
134 
136 
137 
139 
140  horizontalLayoutIconText->setStretch(1, 1);
141 
143 
144  verticalSpacerAfterText = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
145 
147 
148  formLayout = new QFormLayout();
149  formLayout->setObjectName(QStringLiteral("formLayout"));
150  formLayout->setFieldGrowthPolicy(QFormLayout::FieldsStayAtSizeHint);
151  formLayout->setHorizontalSpacing(6);
152  formLayout->setVerticalSpacing(6);
153  formLayout->setContentsMargins(-1, 10, -1, -1);
155  labelNumberOfBlocksLeft->setObjectName(QStringLiteral("labelNumberOfBlocksLeft"));
156  labelNumberOfBlocksLeft->setFont(font);
157 
158  formLayout->setWidget(0, QFormLayout::LabelRole, labelNumberOfBlocksLeft);
159 
160  numberOfBlocksLeft = new QLabel(contentWidget);
161  numberOfBlocksLeft->setObjectName(QStringLiteral("numberOfBlocksLeft"));
162 
163  formLayout->setWidget(0, QFormLayout::FieldRole, numberOfBlocksLeft);
164 
165  labelLastBlockTime = new QLabel(contentWidget);
166  labelLastBlockTime->setObjectName(QStringLiteral("labelLastBlockTime"));
167  labelLastBlockTime->setFont(font);
168 
169  formLayout->setWidget(1, QFormLayout::LabelRole, labelLastBlockTime);
170 
171  newestBlockDate = new QLabel(contentWidget);
172  newestBlockDate->setObjectName(QStringLiteral("newestBlockDate"));
173  QSizePolicy sizePolicy(QSizePolicy::Maximum, QSizePolicy::Preferred);
174  sizePolicy.setHorizontalStretch(0);
175  sizePolicy.setVerticalStretch(0);
176  sizePolicy.setHeightForWidth(newestBlockDate->sizePolicy().hasHeightForWidth());
177  newestBlockDate->setSizePolicy(sizePolicy);
178 
179  formLayout->setWidget(1, QFormLayout::FieldRole, newestBlockDate);
180 
181  labelSyncDone = new QLabel(contentWidget);
182  labelSyncDone->setObjectName(QStringLiteral("labelSyncDone"));
183  labelSyncDone->setFont(font);
184 
185  formLayout->setWidget(2, QFormLayout::LabelRole, labelSyncDone);
186 
187  horizontalLayoutSync = new QHBoxLayout();
188  horizontalLayoutSync->setObjectName(QStringLiteral("horizontalLayoutSync"));
189  percentageProgress = new QLabel(contentWidget);
190  percentageProgress->setObjectName(QStringLiteral("percentageProgress"));
191 
193 
194  progressBar = new QProgressBar(contentWidget);
195  progressBar->setObjectName(QStringLiteral("progressBar"));
196  progressBar->setValue(24);
197 
198  horizontalLayoutSync->addWidget(progressBar);
199 
200  horizontalLayoutSync->setStretch(1, 1);
201 
202  formLayout->setLayout(2, QFormLayout::FieldRole, horizontalLayoutSync);
203 
204  labelProgressIncrease = new QLabel(contentWidget);
205  labelProgressIncrease->setObjectName(QStringLiteral("labelProgressIncrease"));
206  labelProgressIncrease->setFont(font);
207 
208  formLayout->setWidget(4, QFormLayout::LabelRole, labelProgressIncrease);
209 
210  progressIncreasePerH = new QLabel(contentWidget);
211  progressIncreasePerH->setObjectName(QStringLiteral("progressIncreasePerH"));
212 
213  formLayout->setWidget(4, QFormLayout::FieldRole, progressIncreasePerH);
214 
216  labelEstimatedTimeLeft->setObjectName(QStringLiteral("labelEstimatedTimeLeft"));
217  labelEstimatedTimeLeft->setFont(font);
218 
219  formLayout->setWidget(5, QFormLayout::LabelRole, labelEstimatedTimeLeft);
220 
221  expectedTimeLeft = new QLabel(contentWidget);
222  expectedTimeLeft->setObjectName(QStringLiteral("expectedTimeLeft"));
223 
224  formLayout->setWidget(5, QFormLayout::FieldRole, expectedTimeLeft);
225 
226 
227  verticalLayoutSub->addLayout(formLayout);
228 
229  horizontalLayoutButtons = new QHBoxLayout();
230  horizontalLayoutButtons->setObjectName(QStringLiteral("horizontalLayoutButtons"));
231  horizontalLayoutButtons->setContentsMargins(10, 10, -1, -1);
232  horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
233 
235 
236  closeButton = new QPushButton(contentWidget);
237  closeButton->setObjectName(QStringLiteral("closeButton"));
238 
240 
241 
243 
244  verticalLayout_2 = new QVBoxLayout();
245  verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
246  verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
247 
249 
250 
252 
253  verticalLayoutSub->setStretch(0, 1);
254 
255  verticalLayoutMain->addWidget(contentWidget);
256 
257 
258  verticalLayout->addWidget(bgWidget);
259 
260 
262 
263  QMetaObject::connectSlotsByName(ModalOverlay);
264  } // setupUi
265 
267  {
268  ModalOverlay->setWindowTitle(QApplication::translate("ModalOverlay", "Form", 0));
269  warningIcon->setText(QString());
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));
272  labelNumberOfBlocksLeft->setText(QApplication::translate("ModalOverlay", "Number of blocks left", 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));
277  percentageProgress->setText(QApplication::translate("ModalOverlay", "~", 0));
278  progressBar->setFormat(QString());
279  labelProgressIncrease->setText(QApplication::translate("ModalOverlay", "Progress increase per hour", 0));
280  progressIncreasePerH->setText(QApplication::translate("ModalOverlay", "calculating...", 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));
284  } // retranslateUi
285 
286 };
287 
288 namespace Ui {
289  class ModalOverlay: public Ui_ModalOverlay {};
290 } // namespace Ui
291 
292 QT_END_NAMESPACE
293 
294 #endif // UI_MODALOVERLAY_H
QLabel * newestBlockDate
QFormLayout * formLayout
QWidget * contentWidget
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 * labelSyncDone
QWidget * bgWidget
QLabel * labelEstimatedTimeLeft
QPushButton * warningIcon
QSpacerItem * horizontalSpacer
QLabel * numberOfBlocksLeft
QHBoxLayout * horizontalLayoutSync
QPushButton * closeButton
QSpacerItem * verticalSpacer
QLabel * infoTextStrong
QSpacerItem * verticalSpacerAfterText
QProgressBar * progressBar
QVBoxLayout * verticalLayoutMain
QVBoxLayout * verticalLayoutSub
QLabel * percentageProgress
QVBoxLayout * verticalLayout_2
void retranslateUi(ModalOverlay *ModalOverlay)