AusweisApp2
ui_UpdateWindow.h
gehe zur Dokumentation dieser Datei
1 /********************************************************************************
2 ** Form generated from reading UI file 'UpdateWindow.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 5.14.2
5 **
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
8 
9 #ifndef UI_UPDATEWINDOW_H
10 #define UI_UPDATEWINDOW_H
11 
12 #include <QtCore/QVariant>
13 #include <QtGui/QIcon>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QGroupBox>
16 #include <QtWidgets/QHBoxLayout>
17 #include <QtWidgets/QLabel>
18 #include <QtWidgets/QPushButton>
19 #include <QtWidgets/QSpacerItem>
20 #include <QtWidgets/QTextEdit>
21 #include <QtWidgets/QVBoxLayout>
22 #include <QtWidgets/QWidget>
23 
24 QT_BEGIN_NAMESPACE
25 
27 {
28 public:
29  QHBoxLayout *horizontalLayout_6;
30  QVBoxLayout *vLayout;
31  QLabel *availableLabel;
32  QLabel *downloadLabel;
33  QLabel *locationLabel;
34  QLabel *linkLabel;
35  QGroupBox *groupBox;
36  QHBoxLayout *horizontalLayout_7;
37  QTextEdit *releaseNotes;
39  QLabel *dlLabel;
40  QHBoxLayout *hLayout;
41  QPushButton *skipButton;
42  QSpacerItem *spacer;
43  QPushButton *reminderButton;
44  QPushButton *downloadButton;
45 
46  void setupUi(QWidget *UpdateWindow)
47  {
48  if (UpdateWindow->objectName().isEmpty())
49  UpdateWindow->setObjectName(QString::fromUtf8("UpdateWindow"));
50  UpdateWindow->setWindowModality(Qt::ApplicationModal);
51  UpdateWindow->resize(600, 450);
52  QIcon icon;
53  icon.addFile(QString::fromUtf8(":/images/npa.svg"), QSize(), QIcon::Normal, QIcon::Off);
54  UpdateWindow->setWindowIcon(icon);
55  horizontalLayout_6 = new QHBoxLayout(UpdateWindow);
56  horizontalLayout_6->setObjectName(QString::fromUtf8("horizontalLayout_6"));
57  vLayout = new QVBoxLayout();
58  vLayout->setObjectName(QString::fromUtf8("vLayout"));
59  availableLabel = new QLabel(UpdateWindow);
60  availableLabel->setObjectName(QString::fromUtf8("availableLabel"));
61  QFont font;
62  font.setBold(true);
63  font.setWeight(75);
64  availableLabel->setFont(font);
65  availableLabel->setFocusPolicy(Qt::TabFocus);
66 
67  vLayout->addWidget(availableLabel);
68 
69  downloadLabel = new QLabel(UpdateWindow);
70  downloadLabel->setObjectName(QString::fromUtf8("downloadLabel"));
71  downloadLabel->setFocusPolicy(Qt::TabFocus);
72 
73  vLayout->addWidget(downloadLabel);
74 
75  locationLabel = new QLabel(UpdateWindow);
76  locationLabel->setObjectName(QString::fromUtf8("locationLabel"));
77  locationLabel->setFocusPolicy(Qt::TabFocus);
78 
79  vLayout->addWidget(locationLabel);
80 
81  linkLabel = new QLabel(UpdateWindow);
82  linkLabel->setObjectName(QString::fromUtf8("linkLabel"));
83  linkLabel->setFocusPolicy(Qt::TabFocus);
84  linkLabel->setText(QString::fromUtf8("LinkLabel"));
85  linkLabel->setOpenExternalLinks(true);
86  linkLabel->setTextInteractionFlags(Qt::TextBrowserInteraction);
87 
88  vLayout->addWidget(linkLabel);
89 
90  groupBox = new QGroupBox(UpdateWindow);
91  groupBox->setObjectName(QString::fromUtf8("groupBox"));
92  groupBox->setFont(font);
93  groupBox->setFocusPolicy(Qt::TabFocus);
94  horizontalLayout_7 = new QHBoxLayout(groupBox);
95  horizontalLayout_7->setObjectName(QString::fromUtf8("horizontalLayout_7"));
96  releaseNotes = new QTextEdit(groupBox);
97  releaseNotes->setObjectName(QString::fromUtf8("releaseNotes"));
98  releaseNotes->setMinimumSize(QSize(160, 80));
99  releaseNotes->setFocusPolicy(Qt::WheelFocus);
100  releaseNotes->setTextInteractionFlags(Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse);
101 
102  horizontalLayout_7->addWidget(releaseNotes);
103 
104 
105  vLayout->addWidget(groupBox);
106 
107  downloadThisUpdateLabel = new QLabel(UpdateWindow);
108  downloadThisUpdateLabel->setObjectName(QString::fromUtf8("downloadThisUpdateLabel"));
109  downloadThisUpdateLabel->setFocusPolicy(Qt::TabFocus);
110 
111  vLayout->addWidget(downloadThisUpdateLabel);
112 
113  dlLabel = new QLabel(UpdateWindow);
114  dlLabel->setObjectName(QString::fromUtf8("dlLabel"));
115  dlLabel->setFocusPolicy(Qt::TabFocus);
116 
117  vLayout->addWidget(dlLabel);
118 
119  hLayout = new QHBoxLayout();
120  hLayout->setObjectName(QString::fromUtf8("hLayout"));
121  skipButton = new QPushButton(UpdateWindow);
122  skipButton->setObjectName(QString::fromUtf8("skipButton"));
123 
124  hLayout->addWidget(skipButton);
125 
126  spacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
127 
128  hLayout->addItem(spacer);
129 
130  reminderButton = new QPushButton(UpdateWindow);
131  reminderButton->setObjectName(QString::fromUtf8("reminderButton"));
132 
133  hLayout->addWidget(reminderButton);
134 
135  downloadButton = new QPushButton(UpdateWindow);
136  downloadButton->setObjectName(QString::fromUtf8("downloadButton"));
137  downloadButton->setAutoDefault(true);
138 
139  hLayout->addWidget(downloadButton);
140 
141 
142  vLayout->addLayout(hLayout);
143 
144 
145  horizontalLayout_6->addLayout(vLayout);
146 
147 
148  retranslateUi(UpdateWindow);
149 
150  downloadButton->setDefault(true);
151 
152 
153  QMetaObject::connectSlotsByName(UpdateWindow);
154  } // setupUi
155 
156  void retranslateUi(QWidget *UpdateWindow)
157  {
158  UpdateWindow->setWindowTitle(QCoreApplication::translate("UpdateWindow", "Software Update", nullptr));
159  availableLabel->setText(QCoreApplication::translate("UpdateWindow", "A new version of AusweisApp2 is available!", nullptr));
160  locationLabel->setText(QCoreApplication::translate("UpdateWindow", "The update file is located at:", nullptr));
161  groupBox->setTitle(QCoreApplication::translate("UpdateWindow", "Release notes:", nullptr));
162  downloadThisUpdateLabel->setText(QCoreApplication::translate("UpdateWindow", "Download this update and close current \"AusweisApp2\". Install the update and start \"AusweisApp2\" again.", nullptr));
163  dlLabel->setText(QCoreApplication::translate("UpdateWindow", "When you click \"Download update\", this link will be opened in your browser.", nullptr));
164  skipButton->setText(QCoreApplication::translate("UpdateWindow", "Skip update", nullptr));
165  reminderButton->setText(QCoreApplication::translate("UpdateWindow", "Remind me later", nullptr));
166  downloadButton->setText(QCoreApplication::translate("UpdateWindow", "Download update", nullptr));
167  } // retranslateUi
168 
169 };
170 
171 namespace Ui {
172  class UpdateWindow: public Ui_UpdateWindow {};
173 } // namespace Ui
174 
175 QT_END_NAMESPACE
176 
177 #endif // UI_UPDATEWINDOW_H
Ui_UpdateWindow::retranslateUi
void retranslateUi(QWidget *UpdateWindow)
Definition: ui_UpdateWindow.h:162
Ui_UpdateWindow::availableLabel
QLabel * availableLabel
Definition: ui_UpdateWindow.h:37
Ui_UpdateWindow::spacer
QSpacerItem * spacer
Definition: ui_UpdateWindow.h:48
Ui_UpdateWindow::horizontalLayout_7
QHBoxLayout * horizontalLayout_7
Definition: ui_UpdateWindow.h:42
Ui_UpdateWindow::linkLabel
QLabel * linkLabel
Definition: ui_UpdateWindow.h:40
Ui_UpdateWindow::hLayout
QHBoxLayout * hLayout
Definition: ui_UpdateWindow.h:46
Ui_UpdateWindow::releaseNotes
QTextEdit * releaseNotes
Definition: ui_UpdateWindow.h:43
Ui_UpdateWindow::groupBox
QGroupBox * groupBox
Definition: ui_UpdateWindow.h:41
Ui::UpdateWindow
Definition: ui_UpdateWindow.h:172
Ui_UpdateWindow::horizontalLayout_6
QHBoxLayout * horizontalLayout_6
Definition: ui_UpdateWindow.h:35
Ui_UpdateWindow
Definition: ui_UpdateWindow.h:27
Ui_UpdateWindow::downloadThisUpdateLabel
QLabel * downloadThisUpdateLabel
Definition: ui_UpdateWindow.h:44
Ui
Dialog to display information about the application.
Definition: ui_AboutDialog.h:192
Ui_UpdateWindow::dlLabel
QLabel * dlLabel
Definition: ui_UpdateWindow.h:45
Ui_UpdateWindow::downloadButton
QPushButton * downloadButton
Definition: ui_UpdateWindow.h:50
Ui_UpdateWindow::reminderButton
QPushButton * reminderButton
Definition: ui_UpdateWindow.h:49
Ui_UpdateWindow::skipButton
QPushButton * skipButton
Definition: ui_UpdateWindow.h:47
Ui_UpdateWindow::vLayout
QVBoxLayout * vLayout
Definition: ui_UpdateWindow.h:36
Ui_UpdateWindow::setupUi
void setupUi(QWidget *UpdateWindow)
Definition: ui_UpdateWindow.h:52
Ui_UpdateWindow::downloadLabel
QLabel * downloadLabel
Definition: ui_UpdateWindow.h:38
Ui_UpdateWindow::locationLabel
QLabel * locationLabel
Definition: ui_UpdateWindow.h:39