12 #include <QtCore/QVariant>
13 #include <QtWidgets/QAction>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QButtonGroup>
16 #include <QtWidgets/QComboBox>
17 #include <QtWidgets/QGridLayout>
18 #include <QtWidgets/QHBoxLayout>
19 #include <QtWidgets/QHeaderView>
20 #include <QtWidgets/QLabel>
21 #include <QtWidgets/QPushButton>
22 #include <QtWidgets/QSpacerItem>
23 #include <QtWidgets/QTabWidget>
24 #include <QtWidgets/QWidget>
71 if (KbWidget->objectName().isEmpty())
72 KbWidget->setObjectName(QStringLiteral(
"KbWidget"));
73 KbWidget->resize(773, 539);
76 gridLayout->setObjectName(QStringLiteral(
"gridLayout"));
79 profileBox->setObjectName(QStringLiteral(
"profileBox"));
80 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
81 sizePolicy.setHorizontalStretch(18);
82 sizePolicy.setVerticalStretch(0);
83 sizePolicy.setHeightForWidth(
profileBox->sizePolicy().hasHeightForWidth());
90 tabWidget->setObjectName(QStringLiteral(
"tabWidget"));
91 QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Expanding);
92 sizePolicy1.setHorizontalStretch(82);
93 sizePolicy1.setVerticalStretch(0);
94 sizePolicy1.setHeightForWidth(
tabWidget->sizePolicy().hasHeightForWidth());
97 lightTab->setObjectName(QStringLiteral(
"lightTab"));
99 gridLayout_2->setObjectName(QStringLiteral(
"gridLayout_2"));
104 lightWidget->setObjectName(QStringLiteral(
"lightWidget"));
105 QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::Expanding);
106 sizePolicy2.setHorizontalStretch(0);
107 sizePolicy2.setVerticalStretch(0);
108 sizePolicy2.setHeightForWidth(
lightWidget->sizePolicy().hasHeightForWidth());
114 label_3->setObjectName(QStringLiteral(
"label_3"));
115 QSizePolicy sizePolicy3(QSizePolicy::Preferred, QSizePolicy::Minimum);
116 sizePolicy3.setHorizontalStretch(0);
117 sizePolicy3.setVerticalStretch(0);
118 sizePolicy3.setHeightForWidth(
label_3->sizePolicy().hasHeightForWidth());
119 label_3->setSizePolicy(sizePolicy3);
125 bindTab->setObjectName(QStringLiteral(
"bindTab"));
128 gridLayout_5->setObjectName(QStringLiteral(
"gridLayout_5"));
131 bindWidget->setObjectName(QStringLiteral(
"bindWidget"));
132 sizePolicy2.setHeightForWidth(
bindWidget->sizePolicy().hasHeightForWidth());
139 kPerfTab->setObjectName(QStringLiteral(
"kPerfTab"));
141 gridLayout_4->setObjectName(QStringLiteral(
"gridLayout_4"));
144 kPerfWidget->setObjectName(QStringLiteral(
"kPerfWidget"));
150 mPerfTab->setObjectName(QStringLiteral(
"mPerfTab"));
152 gridLayout_7->setObjectName(QStringLiteral(
"gridLayout_7"));
155 mPerfWidget->setObjectName(QStringLiteral(
"mPerfWidget"));
161 devTab->setObjectName(QStringLiteral(
"devTab"));
163 gridLayout_3->setObjectName(QStringLiteral(
"gridLayout_3"));
166 fwUpdLabel->setObjectName(QStringLiteral(
"fwUpdLabel"));
171 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
176 fwLabel->setObjectName(QStringLiteral(
"fwLabel"));
177 fwLabel->setCursor(QCursor(Qt::IBeamCursor));
178 fwLabel->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse);
183 label_4->setObjectName(QStringLiteral(
"label_4"));
184 label_4->setMinimumSize(QSize(0, 34));
188 horizontalSpacer_2 =
new QSpacerItem(40, 1, QSizePolicy::Fixed, QSizePolicy::Minimum);
193 label_9->setObjectName(QStringLiteral(
"label_9"));
194 label_9->setMinimumSize(QSize(0, 34));
199 serialLabel->setObjectName(QStringLiteral(
"serialLabel"));
201 serialLabel->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse);
206 fwUpdLayout->setObjectName(QStringLiteral(
"fwUpdLayout"));
208 fwUpdButton->setObjectName(QStringLiteral(
"fwUpdButton"));
212 horizontalSpacer_3 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
220 pollLabel2->setObjectName(QStringLiteral(
"pollLabel2"));
226 pollLabel->setObjectName(QStringLiteral(
"pollLabel"));
235 modesList->setObjectName(QStringLiteral(
"modesList"));
236 QSizePolicy sizePolicy4(QSizePolicy::Expanding, QSizePolicy::Expanding);
237 sizePolicy4.setHorizontalStretch(18);
238 sizePolicy4.setVerticalStretch(0);
239 sizePolicy4.setHeightForWidth(
modesList->sizePolicy().hasHeightForWidth());
241 modesList->setContextMenuPolicy(Qt::CustomContextMenu);
242 modesList->setFrameShadow(QFrame::Plain);
243 modesList->setDragDropMode(QAbstractItemView::InternalMove);
250 hwSaveButton->setObjectName(QStringLiteral(
"hwSaveButton"));
251 QSizePolicy sizePolicy5(QSizePolicy::Minimum, QSizePolicy::Fixed);
252 sizePolicy5.setHorizontalStretch(18);
253 sizePolicy5.setVerticalStretch(0);
254 sizePolicy5.setHeightForWidth(
hwSaveButton->sizePolicy().hasHeightForWidth());
265 QMetaObject::connectSlotsByName(KbWidget);
270 KbWidget->setWindowTitle(QApplication::translate(
"KbWidget",
"Form", Q_NULLPTR));
271 label_3->setText(QApplication::translate(
"KbWidget",
"Tip: Drag+drop items to reorder. Right-click for menu.", Q_NULLPTR));
276 fwUpdLabel->setText(QApplication::translate(
"KbWidget",
"Status:", Q_NULLPTR));
277 fwLabel->setText(QApplication::translate(
"KbWidget",
"N/A", Q_NULLPTR));
278 label_4->setText(QApplication::translate(
"KbWidget",
"Serial Number:", Q_NULLPTR));
279 label_9->setText(QApplication::translate(
"KbWidget",
"Firmware version:", Q_NULLPTR));
280 serialLabel->setText(QApplication::translate(
"KbWidget",
"N/A", Q_NULLPTR));
281 fwUpdButton->setText(QApplication::translate(
"KbWidget",
"Check for updates", Q_NULLPTR));
282 pollLabel2->setText(QApplication::translate(
"KbWidget",
"Poll rate:", Q_NULLPTR));
283 pollLabel->setText(QApplication::translate(
"KbWidget",
"N/A", Q_NULLPTR));
285 hwSaveButton->setText(QApplication::translate(
"KbWidget",
"Save to hardware", Q_NULLPTR));
296 #endif // UI_KBWIDGET_H