9 #ifndef UI_UPDATEWINDOW_H 10 #define UI_UPDATEWINDOW_H 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> 48 if (UpdateWindow->objectName().isEmpty())
49 UpdateWindow->setObjectName(QString::fromUtf8(
"UpdateWindow"));
50 UpdateWindow->setWindowModality(Qt::ApplicationModal);
51 UpdateWindow->resize(600, 450);
53 icon.addFile(QString::fromUtf8(
":/images/npa.svg"), QSize(), QIcon::Normal, QIcon::Off);
54 UpdateWindow->setWindowIcon(icon);
58 vLayout->setObjectName(QString::fromUtf8(
"vLayout"));
60 availableLabel->setObjectName(QString::fromUtf8(
"availableLabel"));
70 downloadLabel->setObjectName(QString::fromUtf8(
"downloadLabel"));
76 locationLabel->setObjectName(QString::fromUtf8(
"locationLabel"));
82 linkLabel->setObjectName(QString::fromUtf8(
"linkLabel"));
84 linkLabel->setText(QString::fromUtf8(
"LinkLabel"));
86 linkLabel->setTextInteractionFlags(Qt::TextBrowserInteraction);
90 groupBox =
new QGroupBox(UpdateWindow);
91 groupBox->setObjectName(QString::fromUtf8(
"groupBox"));
93 groupBox->setFocusPolicy(Qt::TabFocus);
97 releaseNotes->setObjectName(QString::fromUtf8(
"releaseNotes"));
100 releaseNotes->setTextInteractionFlags(Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse);
113 dlLabel =
new QLabel(UpdateWindow);
114 dlLabel->setObjectName(QString::fromUtf8(
"dlLabel"));
115 dlLabel->setFocusPolicy(Qt::TabFocus);
120 hLayout->setObjectName(QString::fromUtf8(
"hLayout"));
122 skipButton->setObjectName(QString::fromUtf8(
"skipButton"));
126 spacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
131 reminderButton->setObjectName(QString::fromUtf8(
"reminderButton"));
136 downloadButton->setObjectName(QString::fromUtf8(
"downloadButton"));
153 QMetaObject::connectSlotsByName(UpdateWindow);
158 UpdateWindow->setWindowTitle(QApplication::translate(
"UpdateWindow",
"Software Update",
nullptr));
159 availableLabel->setText(QApplication::translate(
"UpdateWindow",
"A new version of AusweisApp2 is available!",
nullptr));
160 locationLabel->setText(QApplication::translate(
"UpdateWindow",
"The update file is located at:",
nullptr));
161 groupBox->setTitle(QApplication::translate(
"UpdateWindow",
"Release notes:",
nullptr));
162 downloadThisUpdateLabel->setText(QApplication::translate(
"UpdateWindow",
"Download this update and close current \"AusweisApp2\". Install the update and start \"AusweisApp2\" again.",
nullptr));
163 dlLabel->setText(QApplication::translate(
"UpdateWindow",
"When you click \"Download update\", this link will be opened in your browser.",
nullptr));
164 skipButton->setText(QApplication::translate(
"UpdateWindow",
"Skip update",
nullptr));
165 reminderButton->setText(QApplication::translate(
"UpdateWindow",
"Remind me later",
nullptr));
166 downloadButton->setText(QApplication::translate(
"UpdateWindow",
"Download update",
nullptr));
177 #endif // UI_UPDATEWINDOW_H QLabel * dlLabel
Definition: ui_UpdateWindow.h:39
QLabel * downloadThisUpdateLabel
Definition: ui_UpdateWindow.h:38
QPushButton * reminderButton
Definition: ui_UpdateWindow.h:43
Definition: ui_UpdateWindow.h:172
Dialog to display information about the application.
Definition: ui_AboutDialog.h:192
QPushButton * downloadButton
Definition: ui_UpdateWindow.h:44
QLabel * downloadLabel
Definition: ui_UpdateWindow.h:32
QPushButton * skipButton
Definition: ui_UpdateWindow.h:41
QVBoxLayout * vLayout
Definition: ui_UpdateWindow.h:30
void setupUi(QWidget *UpdateWindow)
Definition: ui_UpdateWindow.h:46
QHBoxLayout * horizontalLayout_7
Definition: ui_UpdateWindow.h:36
QLabel * locationLabel
Definition: ui_UpdateWindow.h:33
QLabel * linkLabel
Definition: ui_UpdateWindow.h:34
QTextEdit * releaseNotes
Definition: ui_UpdateWindow.h:37
QHBoxLayout * hLayout
Definition: ui_UpdateWindow.h:40
void retranslateUi(QWidget *UpdateWindow)
Definition: ui_UpdateWindow.h:156
QGroupBox * groupBox
Definition: ui_UpdateWindow.h:35
QLabel * availableLabel
Definition: ui_UpdateWindow.h:31
QSpacerItem * spacer
Definition: ui_UpdateWindow.h:42
Definition: ui_UpdateWindow.h:26
QHBoxLayout * horizontalLayout_6
Definition: ui_UpdateWindow.h:29