9 #ifndef UI_FWUPGRADEDIALOG_H
10 #define UI_FWUPGRADEDIALOG_H
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QAction>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QButtonGroup>
16 #include <QtWidgets/QDialog>
17 #include <QtWidgets/QGridLayout>
18 #include <QtWidgets/QHeaderView>
19 #include <QtWidgets/QLabel>
20 #include <QtWidgets/QProgressBar>
21 #include <QtWidgets/QPushButton>
22 #include <QtWidgets/QSpacerItem>
47 if (FwUpgradeDialog->objectName().isEmpty())
48 FwUpgradeDialog->setObjectName(QStringLiteral(
"FwUpgradeDialog"));
49 FwUpgradeDialog->resize(420, 280);
50 QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
51 sizePolicy.setHorizontalStretch(0);
52 sizePolicy.setVerticalStretch(0);
53 sizePolicy.setHeightForWidth(FwUpgradeDialog->sizePolicy().hasHeightForWidth());
54 FwUpgradeDialog->setSizePolicy(sizePolicy);
56 gridLayout_2->setObjectName(QStringLiteral(
"gridLayout_2"));
57 horizontalSpacer =
new QSpacerItem(127, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
62 gridLayout->setObjectName(QStringLiteral(
"gridLayout"));
63 horizontalSpacer_3 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
67 label_4 =
new QLabel(FwUpgradeDialog);
68 label_4->setObjectName(QStringLiteral(
"label_4"));
76 horizontalSpacer_4 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
80 label_2 =
new QLabel(FwUpgradeDialog);
81 label_2->setObjectName(QStringLiteral(
"label_2"));
86 curLabel =
new QLabel(FwUpgradeDialog);
87 curLabel->setObjectName(QStringLiteral(
"curLabel"));
91 newLabel =
new QLabel(FwUpgradeDialog);
92 newLabel->setObjectName(QStringLiteral(
"newLabel"));
97 statusLabel->setObjectName(QStringLiteral(
"statusLabel"));
98 QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Expanding);
99 sizePolicy1.setHorizontalStretch(0);
100 sizePolicy1.setVerticalStretch(0);
101 sizePolicy1.setHeightForWidth(
statusLabel->sizePolicy().hasHeightForWidth());
108 horizontalSpacer_2 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
112 devLabel =
new QLabel(FwUpgradeDialog);
113 devLabel->setObjectName(QStringLiteral(
"devLabel"));
114 QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::Minimum);
115 sizePolicy2.setHorizontalStretch(0);
116 sizePolicy2.setVerticalStretch(0);
117 sizePolicy2.setHeightForWidth(
devLabel->sizePolicy().hasHeightForWidth());
118 devLabel->setSizePolicy(sizePolicy2);
120 devLabel->setAlignment(Qt::AlignCenter);
125 progressBar->setObjectName(QStringLiteral(
"progressBar"));
135 actionButton->setObjectName(QStringLiteral(
"actionButton"));
141 cancelButton->setObjectName(QStringLiteral(
"cancelButton"));
153 QMetaObject::connectSlotsByName(FwUpgradeDialog);
158 FwUpgradeDialog->setWindowTitle(QApplication::translate(
"FwUpgradeDialog",
"Firmware update", Q_NULLPTR));
159 label_4->setText(QApplication::translate(
"FwUpgradeDialog",
"New:", Q_NULLPTR));
160 label_2->setText(QApplication::translate(
"FwUpgradeDialog",
"Current:", Q_NULLPTR));
161 curLabel->setText(QApplication::translate(
"FwUpgradeDialog",
"0.00", Q_NULLPTR));
162 newLabel->setText(QApplication::translate(
"FwUpgradeDialog",
"0.00", Q_NULLPTR));
163 statusLabel->setText(QApplication::translate(
"FwUpgradeDialog",
"Downloading new firmware, please wait...", Q_NULLPTR));
164 devLabel->setText(QApplication::translate(
"FwUpgradeDialog",
"Device", Q_NULLPTR));
165 actionButton->setText(QApplication::translate(
"FwUpgradeDialog",
"Start", Q_NULLPTR));
166 cancelButton->setText(QApplication::translate(
"FwUpgradeDialog",
"Cancel", Q_NULLPTR));
177 #endif // UI_FWUPGRADEDIALOG_H
QSpacerItem * horizontalSpacer_4
QPushButton * cancelButton
QSpacerItem * horizontalSpacer
QPushButton * actionButton
QProgressBar * progressBar
QSpacerItem * horizontalSpacer_2
QSpacerItem * horizontalSpacer_3
void setupUi(QDialog *FwUpgradeDialog)
QGridLayout * gridLayout_2
void retranslateUi(QDialog *FwUpgradeDialog)