ckb-next  v0.2.8 at branch master
ckb-next driver for corsair devices
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ui_fwupgradedialog.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'fwupgradedialog.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 5.7.1
5 **
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
8 
9 #ifndef UI_FWUPGRADEDIALOG_H
10 #define UI_FWUPGRADEDIALOG_H
11 
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>
23 
24 QT_BEGIN_NAMESPACE
25 
27 {
28 public:
29  QGridLayout *gridLayout_2;
30  QSpacerItem *horizontalSpacer;
31  QGridLayout *gridLayout;
32  QSpacerItem *horizontalSpacer_3;
33  QLabel *label_4;
34  QSpacerItem *horizontalSpacer_4;
35  QLabel *label_2;
36  QLabel *curLabel;
37  QLabel *newLabel;
38  QLabel *statusLabel;
39  QSpacerItem *horizontalSpacer_2;
40  QLabel *devLabel;
41  QProgressBar *progressBar;
44 
46  {
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);
55  gridLayout_2 = new QGridLayout(FwUpgradeDialog);
56  gridLayout_2->setObjectName(QStringLiteral("gridLayout_2"));
57  horizontalSpacer = new QSpacerItem(127, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
58 
59  gridLayout_2->addItem(horizontalSpacer, 1, 0, 1, 1);
60 
61  gridLayout = new QGridLayout();
62  gridLayout->setObjectName(QStringLiteral("gridLayout"));
63  horizontalSpacer_3 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
64 
65  gridLayout->addItem(horizontalSpacer_3, 1, 0, 1, 1);
66 
67  label_4 = new QLabel(FwUpgradeDialog);
68  label_4->setObjectName(QStringLiteral("label_4"));
69  QFont font;
70  font.setBold(true);
71  font.setWeight(75);
72  label_4->setFont(font);
73 
74  gridLayout->addWidget(label_4, 1, 4, 1, 1);
75 
76  horizontalSpacer_4 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
77 
78  gridLayout->addItem(horizontalSpacer_4, 1, 6, 1, 1);
79 
80  label_2 = new QLabel(FwUpgradeDialog);
81  label_2->setObjectName(QStringLiteral("label_2"));
82  label_2->setFont(font);
83 
84  gridLayout->addWidget(label_2, 1, 1, 1, 1);
85 
86  curLabel = new QLabel(FwUpgradeDialog);
87  curLabel->setObjectName(QStringLiteral("curLabel"));
88 
89  gridLayout->addWidget(curLabel, 1, 2, 1, 1);
90 
91  newLabel = new QLabel(FwUpgradeDialog);
92  newLabel->setObjectName(QStringLiteral("newLabel"));
93 
94  gridLayout->addWidget(newLabel, 1, 5, 1, 1);
95 
96  statusLabel = new QLabel(FwUpgradeDialog);
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());
102  statusLabel->setSizePolicy(sizePolicy1);
103  statusLabel->setAlignment(Qt::AlignCenter);
104  statusLabel->setWordWrap(true);
105 
106  gridLayout->addWidget(statusLabel, 2, 0, 1, 7);
107 
108  horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
109 
110  gridLayout->addItem(horizontalSpacer_2, 1, 3, 1, 1);
111 
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);
119  devLabel->setFont(font);
120  devLabel->setAlignment(Qt::AlignCenter);
121 
122  gridLayout->addWidget(devLabel, 0, 0, 1, 7);
123 
124  progressBar = new QProgressBar(FwUpgradeDialog);
125  progressBar->setObjectName(QStringLiteral("progressBar"));
126  progressBar->setMaximum(0);
127  progressBar->setValue(0);
128 
129  gridLayout->addWidget(progressBar, 3, 0, 1, 7);
130 
131 
132  gridLayout_2->addLayout(gridLayout, 0, 0, 1, 3);
133 
134  actionButton = new QPushButton(FwUpgradeDialog);
135  actionButton->setObjectName(QStringLiteral("actionButton"));
136  actionButton->setEnabled(false);
137 
138  gridLayout_2->addWidget(actionButton, 1, 2, 1, 1);
139 
140  cancelButton = new QPushButton(FwUpgradeDialog);
141  cancelButton->setObjectName(QStringLiteral("cancelButton"));
142  cancelButton->setEnabled(false);
143 
144  gridLayout_2->addWidget(cancelButton, 1, 1, 1, 1);
145 
146  QWidget::setTabOrder(actionButton, cancelButton);
147 
148  retranslateUi(FwUpgradeDialog);
149 
150  actionButton->setDefault(true);
151 
152 
153  QMetaObject::connectSlotsByName(FwUpgradeDialog);
154  } // setupUi
155 
157  {
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));
167  } // retranslateUi
168 
169 };
170 
171 namespace Ui {
173 } // namespace Ui
174 
175 QT_END_NAMESPACE
176 
177 #endif // UI_FWUPGRADEDIALOG_H
QSpacerItem * horizontalSpacer_4
QPushButton * cancelButton
QSpacerItem * horizontalSpacer
QPushButton * actionButton
QProgressBar * progressBar
QSpacerItem * horizontalSpacer_2
QSpacerItem * horizontalSpacer_3
QGridLayout * gridLayout
void setupUi(QDialog *FwUpgradeDialog)
QGridLayout * gridLayout_2
void retranslateUi(QDialog *FwUpgradeDialog)