DBLSQD Qt SDK
ui_update_dialog.h
1 /********************************************************************************
2 ** Form generated from reading UI file 'update_dialog.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 5.9.1
5 **
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
8 
9 #ifndef UI_UPDATE_DIALOG_H
10 #define UI_UPDATE_DIALOG_H
11 
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QAction>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QButtonGroup>
16 #include <QtWidgets/QCheckBox>
17 #include <QtWidgets/QDialog>
18 #include <QtWidgets/QGridLayout>
19 #include <QtWidgets/QHBoxLayout>
20 #include <QtWidgets/QHeaderView>
21 #include <QtWidgets/QLabel>
22 #include <QtWidgets/QProgressBar>
23 #include <QtWidgets/QPushButton>
24 #include <QtWidgets/QScrollArea>
25 #include <QtWidgets/QSpacerItem>
26 #include <QtWidgets/QToolButton>
27 #include <QtWidgets/QVBoxLayout>
28 #include <QtWidgets/QWidget>
29 
30 QT_BEGIN_NAMESPACE
31 
33 {
34 public:
35  QAction *actionCancel;
36  QAction *actionSkip;
37  QVBoxLayout *verticalLayout_2;
38  QWidget *headerContainerLoading;
39  QGridLayout *gridLayout_4;
40  QLabel *labelHeadlineLoading;
41  QWidget *headerContainer;
42  QGridLayout *gridLayout;
43  QLabel *labelHeadline;
44  QLabel *labelIcon;
45  QLabel *labelInfo;
46  QWidget *headerContainerChangelog;
47  QGridLayout *gridLayout_3;
48  QLabel *labelHeadlineChangelog;
49  QLabel *labelInfoChangelog;
50  QWidget *headerContainerNoUpdates;
51  QGridLayout *gridLayout_2;
52  QLabel *labelInfoNoUpdates;
53  QLabel *labelHeadlineNoUpdates;
54  QScrollArea *scrollAreaChangelog;
55  QWidget *scrollAreaWidgetContents;
56  QVBoxLayout *verticalLayout;
57  QLabel *labelChangelog;
58  QSpacerItem *verticalSpacer_2;
59  QProgressBar *progressBar;
60  QCheckBox *checkAutoDownload;
61  QWidget *buttonContainer;
62  QHBoxLayout *horizontalLayout;
63  QToolButton *buttonCancel;
64  QPushButton *buttonCancelLoading;
65  QSpacerItem *horizontalSpacer;
66  QPushButton *buttonInstall;
67  QPushButton *buttonConfirm;
68 
69  void setupUi(QDialog *UpdateDialog)
70  {
71  if (UpdateDialog->objectName().isEmpty())
72  UpdateDialog->setObjectName(QStringLiteral("UpdateDialog"));
73  UpdateDialog->resize(600, 645);
74  UpdateDialog->setMinimumSize(QSize(600, 0));
75  UpdateDialog->setModal(true);
76  actionCancel = new QAction(UpdateDialog);
77  actionCancel->setObjectName(QStringLiteral("actionCancel"));
78  actionSkip = new QAction(UpdateDialog);
79  actionSkip->setObjectName(QStringLiteral("actionSkip"));
80  verticalLayout_2 = new QVBoxLayout(UpdateDialog);
81  verticalLayout_2->setSpacing(6);
82  verticalLayout_2->setContentsMargins(11, 11, 11, 11);
83  verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
84  headerContainerLoading = new QWidget(UpdateDialog);
85  headerContainerLoading->setObjectName(QStringLiteral("headerContainerLoading"));
86  gridLayout_4 = new QGridLayout(headerContainerLoading);
87  gridLayout_4->setSpacing(6);
88  gridLayout_4->setContentsMargins(11, 11, 11, 11);
89  gridLayout_4->setObjectName(QStringLiteral("gridLayout_4"));
90  gridLayout_4->setContentsMargins(0, 6, 0, 0);
91  labelHeadlineLoading = new QLabel(headerContainerLoading);
92  labelHeadlineLoading->setObjectName(QStringLiteral("labelHeadlineLoading"));
93  QFont font;
94  font.setBold(true);
95  font.setWeight(75);
96  labelHeadlineLoading->setFont(font);
97 
98  gridLayout_4->addWidget(labelHeadlineLoading, 0, 0, 1, 1);
99 
100 
101  verticalLayout_2->addWidget(headerContainerLoading);
102 
103  headerContainer = new QWidget(UpdateDialog);
104  headerContainer->setObjectName(QStringLiteral("headerContainer"));
105  gridLayout = new QGridLayout(headerContainer);
106  gridLayout->setSpacing(6);
107  gridLayout->setContentsMargins(11, 11, 11, 11);
108  gridLayout->setObjectName(QStringLiteral("gridLayout"));
109  gridLayout->setHorizontalSpacing(24);
110  gridLayout->setVerticalSpacing(6);
111  gridLayout->setContentsMargins(0, 6, 0, 18);
112  labelHeadline = new QLabel(headerContainer);
113  labelHeadline->setObjectName(QStringLiteral("labelHeadline"));
114  labelHeadline->setFont(font);
115 
116  gridLayout->addWidget(labelHeadline, 0, 2, 1, 1);
117 
118  labelIcon = new QLabel(headerContainer);
119  labelIcon->setObjectName(QStringLiteral("labelIcon"));
120  QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Preferred);
121  sizePolicy.setHorizontalStretch(0);
122  sizePolicy.setVerticalStretch(0);
123  sizePolicy.setHeightForWidth(labelIcon->sizePolicy().hasHeightForWidth());
124  labelIcon->setSizePolicy(sizePolicy);
125 
126  gridLayout->addWidget(labelIcon, 0, 0, 3, 1);
127 
128  labelInfo = new QLabel(headerContainer);
129  labelInfo->setObjectName(QStringLiteral("labelInfo"));
130  QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Preferred);
131  sizePolicy1.setHorizontalStretch(0);
132  sizePolicy1.setVerticalStretch(0);
133  sizePolicy1.setHeightForWidth(labelInfo->sizePolicy().hasHeightForWidth());
134  labelInfo->setSizePolicy(sizePolicy1);
135  labelInfo->setWordWrap(true);
136 
137  gridLayout->addWidget(labelInfo, 1, 2, 2, 1);
138 
139 
140  verticalLayout_2->addWidget(headerContainer);
141 
142  headerContainerChangelog = new QWidget(UpdateDialog);
143  headerContainerChangelog->setObjectName(QStringLiteral("headerContainerChangelog"));
144  gridLayout_3 = new QGridLayout(headerContainerChangelog);
145  gridLayout_3->setSpacing(6);
146  gridLayout_3->setContentsMargins(11, 11, 11, 11);
147  gridLayout_3->setObjectName(QStringLiteral("gridLayout_3"));
148  gridLayout_3->setContentsMargins(0, 6, 0, 18);
149  labelHeadlineChangelog = new QLabel(headerContainerChangelog);
150  labelHeadlineChangelog->setObjectName(QStringLiteral("labelHeadlineChangelog"));
151  labelHeadlineChangelog->setFont(font);
152 
153  gridLayout_3->addWidget(labelHeadlineChangelog, 0, 0, 1, 1);
154 
155  labelInfoChangelog = new QLabel(headerContainerChangelog);
156  labelInfoChangelog->setObjectName(QStringLiteral("labelInfoChangelog"));
157 
158  gridLayout_3->addWidget(labelInfoChangelog, 1, 0, 1, 1);
159 
160 
161  verticalLayout_2->addWidget(headerContainerChangelog);
162 
163  headerContainerNoUpdates = new QWidget(UpdateDialog);
164  headerContainerNoUpdates->setObjectName(QStringLiteral("headerContainerNoUpdates"));
165  gridLayout_2 = new QGridLayout(headerContainerNoUpdates);
166  gridLayout_2->setSpacing(6);
167  gridLayout_2->setContentsMargins(11, 11, 11, 11);
168  gridLayout_2->setObjectName(QStringLiteral("gridLayout_2"));
169  gridLayout_2->setHorizontalSpacing(24);
170  gridLayout_2->setContentsMargins(0, 6, 0, 18);
171  labelInfoNoUpdates = new QLabel(headerContainerNoUpdates);
172  labelInfoNoUpdates->setObjectName(QStringLiteral("labelInfoNoUpdates"));
173  labelInfoNoUpdates->setWordWrap(true);
174 
175  gridLayout_2->addWidget(labelInfoNoUpdates, 1, 0, 1, 1);
176 
177  labelHeadlineNoUpdates = new QLabel(headerContainerNoUpdates);
178  labelHeadlineNoUpdates->setObjectName(QStringLiteral("labelHeadlineNoUpdates"));
179  labelHeadlineNoUpdates->setFont(font);
180  labelHeadlineNoUpdates->setWordWrap(true);
181 
182  gridLayout_2->addWidget(labelHeadlineNoUpdates, 0, 0, 1, 1);
183 
184 
185  verticalLayout_2->addWidget(headerContainerNoUpdates);
186 
187  scrollAreaChangelog = new QScrollArea(UpdateDialog);
188  scrollAreaChangelog->setObjectName(QStringLiteral("scrollAreaChangelog"));
189  QSizePolicy sizePolicy2(QSizePolicy::Expanding, QSizePolicy::MinimumExpanding);
190  sizePolicy2.setHorizontalStretch(0);
191  sizePolicy2.setVerticalStretch(0);
192  sizePolicy2.setHeightForWidth(scrollAreaChangelog->sizePolicy().hasHeightForWidth());
193  scrollAreaChangelog->setSizePolicy(sizePolicy2);
194  scrollAreaChangelog->setMinimumSize(QSize(0, 150));
195  scrollAreaChangelog->setWidgetResizable(true);
196  scrollAreaWidgetContents = new QWidget();
197  scrollAreaWidgetContents->setObjectName(QStringLiteral("scrollAreaWidgetContents"));
198  scrollAreaWidgetContents->setGeometry(QRect(0, 0, 580, 235));
199  QSizePolicy sizePolicy3(QSizePolicy::Preferred, QSizePolicy::Expanding);
200  sizePolicy3.setHorizontalStretch(0);
201  sizePolicy3.setVerticalStretch(0);
202  sizePolicy3.setHeightForWidth(scrollAreaWidgetContents->sizePolicy().hasHeightForWidth());
203  scrollAreaWidgetContents->setSizePolicy(sizePolicy3);
204  scrollAreaWidgetContents->setStyleSheet(QStringLiteral("background:white;"));
205  verticalLayout = new QVBoxLayout(scrollAreaWidgetContents);
206  verticalLayout->setSpacing(6);
207  verticalLayout->setContentsMargins(11, 11, 11, 11);
208  verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
209  verticalLayout->setContentsMargins(0, 0, 0, 0);
210  labelChangelog = new QLabel(scrollAreaWidgetContents);
211  labelChangelog->setObjectName(QStringLiteral("labelChangelog"));
212  sizePolicy3.setHeightForWidth(labelChangelog->sizePolicy().hasHeightForWidth());
213  labelChangelog->setSizePolicy(sizePolicy3);
214  labelChangelog->setTextFormat(Qt::RichText);
215  labelChangelog->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
216  labelChangelog->setWordWrap(true);
217  labelChangelog->setMargin(5);
218 
219  verticalLayout->addWidget(labelChangelog);
220 
221  scrollAreaChangelog->setWidget(scrollAreaWidgetContents);
222 
223  verticalLayout_2->addWidget(scrollAreaChangelog);
224 
225  verticalSpacer_2 = new QSpacerItem(20, 20, QSizePolicy::Minimum, QSizePolicy::Fixed);
226 
227  verticalLayout_2->addItem(verticalSpacer_2);
228 
229  progressBar = new QProgressBar(UpdateDialog);
230  progressBar->setObjectName(QStringLiteral("progressBar"));
231  progressBar->setValue(24);
232 
233  verticalLayout_2->addWidget(progressBar);
234 
235  checkAutoDownload = new QCheckBox(UpdateDialog);
236  checkAutoDownload->setObjectName(QStringLiteral("checkAutoDownload"));
237 
238  verticalLayout_2->addWidget(checkAutoDownload);
239 
240  buttonContainer = new QWidget(UpdateDialog);
241  buttonContainer->setObjectName(QStringLiteral("buttonContainer"));
242  QSizePolicy sizePolicy4(QSizePolicy::Preferred, QSizePolicy::Minimum);
243  sizePolicy4.setHorizontalStretch(0);
244  sizePolicy4.setVerticalStretch(0);
245  sizePolicy4.setHeightForWidth(buttonContainer->sizePolicy().hasHeightForWidth());
246  buttonContainer->setSizePolicy(sizePolicy4);
247  horizontalLayout = new QHBoxLayout(buttonContainer);
248  horizontalLayout->setSpacing(12);
249  horizontalLayout->setContentsMargins(11, 11, 11, 11);
250  horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
251  horizontalLayout->setContentsMargins(0, 0, 0, 0);
252  buttonCancel = new QToolButton(buttonContainer);
253  buttonCancel->setObjectName(QStringLiteral("buttonCancel"));
254  buttonCancel->setContextMenuPolicy(Qt::ActionsContextMenu);
255  buttonCancel->setPopupMode(QToolButton::MenuButtonPopup);
256  buttonCancel->setToolButtonStyle(Qt::ToolButtonFollowStyle);
257  buttonCancel->setAutoRaise(true);
258 
259  horizontalLayout->addWidget(buttonCancel);
260 
261  buttonCancelLoading = new QPushButton(buttonContainer);
262  buttonCancelLoading->setObjectName(QStringLiteral("buttonCancelLoading"));
263 
264  horizontalLayout->addWidget(buttonCancelLoading);
265 
266  horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
267 
268  horizontalLayout->addItem(horizontalSpacer);
269 
270  buttonInstall = new QPushButton(buttonContainer);
271  buttonInstall->setObjectName(QStringLiteral("buttonInstall"));
272 
273  horizontalLayout->addWidget(buttonInstall);
274 
275  buttonConfirm = new QPushButton(buttonContainer);
276  buttonConfirm->setObjectName(QStringLiteral("buttonConfirm"));
277 
278  horizontalLayout->addWidget(buttonConfirm);
279 
280 
281  verticalLayout_2->addWidget(buttonContainer);
282 
283 
284  retranslateUi(UpdateDialog);
285 
286  QMetaObject::connectSlotsByName(UpdateDialog);
287  } // setupUi
288 
289  void retranslateUi(QDialog *UpdateDialog)
290  {
291  actionCancel->setText(QApplication::translate("UpdateDialog", "Remind me later", Q_NULLPTR));
292  actionSkip->setText(QApplication::translate("UpdateDialog", "Skip this version", Q_NULLPTR));
293  labelHeadlineLoading->setText(QApplication::translate("UpdateDialog", "Loading update information \342\200\246", Q_NULLPTR));
294  labelHeadline->setText(QApplication::translate("UpdateDialog", "A new version of %APPNAME% is available!", Q_NULLPTR));
295  labelInfo->setText(QApplication::translate("UpdateDialog", "%APPNAME% %UPDATE_VERSION% is available (you have %CURRENT_VERSION%).\n"
296 "Would you like to update now?", Q_NULLPTR));
297  labelHeadlineChangelog->setText(QApplication::translate("UpdateDialog", "Changelog for %APPNAME%", Q_NULLPTR));
298  labelInfoChangelog->setText(QApplication::translate("UpdateDialog", "You are using version %CURRENT_VERSION%.", Q_NULLPTR));
299  labelInfoNoUpdates->setText(QApplication::translate("UpdateDialog", "There are currently no updates available.", Q_NULLPTR));
300  labelHeadlineNoUpdates->setText(QApplication::translate("UpdateDialog", "You are using %APPNAME% %CURRENT_VERSION%.", Q_NULLPTR));
301  checkAutoDownload->setText(QApplication::translate("UpdateDialog", "Automatically download future updates", Q_NULLPTR));
302  buttonCancelLoading->setText(QApplication::translate("UpdateDialog", "Cancel", Q_NULLPTR));
303  buttonInstall->setText(QApplication::translate("UpdateDialog", "Install update now", Q_NULLPTR));
304  buttonConfirm->setText(QApplication::translate("UpdateDialog", "OK", Q_NULLPTR));
305  Q_UNUSED(UpdateDialog);
306  } // retranslateUi
307 
308 };
309 
310 namespace Ui {
311  class UpdateDialog: public Ui_UpdateDialog {};
312 } // namespace Ui
313 
314 QT_END_NAMESPACE
315 
316 #endif // UI_UPDATE_DIALOG_H
Definition: ui_update_dialog.h:32
Definition: ui_update_dialog.h:310
Definition: ui_update_dialog.h:311