9 #ifndef UI_MPERFWIDGET_H
10 #define UI_MPERFWIDGET_H
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QAction>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QButtonGroup>
16 #include <QtWidgets/QCheckBox>
17 #include <QtWidgets/QComboBox>
18 #include <QtWidgets/QFrame>
19 #include <QtWidgets/QGridLayout>
20 #include <QtWidgets/QHBoxLayout>
21 #include <QtWidgets/QHeaderView>
22 #include <QtWidgets/QLabel>
23 #include <QtWidgets/QPushButton>
24 #include <QtWidgets/QSlider>
25 #include <QtWidgets/QSpacerItem>
26 #include <QtWidgets/QSpinBox>
27 #include <QtWidgets/QVBoxLayout>
28 #include <QtWidgets/QWidget>
113 if (MPerfWidget->objectName().isEmpty())
114 MPerfWidget->setObjectName(QStringLiteral(
"MPerfWidget"));
115 MPerfWidget->resize(932, 637);
118 label =
new QLabel(MPerfWidget);
119 label->setObjectName(QStringLiteral(
"label"));
123 label->setFont(font);
127 line =
new QFrame(MPerfWidget);
128 line->setObjectName(QStringLiteral(
"line"));
129 line->setFrameShape(QFrame::HLine);
130 line->setFrameShadow(QFrame::Sunken);
135 gridLayout->setObjectName(QStringLiteral(
"gridLayout"));
137 label_25->setObjectName(QStringLiteral(
"label_25"));
138 label_25->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
145 lHeightBox->setObjectName(QStringLiteral(
"lHeightBox"));
149 horizontalSpacer_2 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
156 eBox2 =
new QCheckBox(MPerfWidget);
157 eBox2->setObjectName(QStringLiteral(
"eBox2"));
161 ySlider3 =
new QSlider(MPerfWidget);
162 ySlider3->setObjectName(QStringLiteral(
"ySlider3"));
168 ySlider3->setOrientation(Qt::Horizontal);
172 xSlider2 =
new QSlider(MPerfWidget);
173 xSlider2->setObjectName(QStringLiteral(
"xSlider2"));
179 xSlider2->setOrientation(Qt::Horizontal);
183 xBox3 =
new QSpinBox(MPerfWidget);
184 xBox3->setObjectName(QStringLiteral(
"xBox3"));
185 xBox3->setMinimum(100);
186 xBox3->setMaximum(12000);
187 xBox3->setSingleStep(50);
191 yBox0 =
new QSpinBox(MPerfWidget);
192 yBox0->setObjectName(QStringLiteral(
"yBox0"));
193 yBox0->setMinimum(100);
194 yBox0->setMaximum(12000);
195 yBox0->setSingleStep(50);
199 ySlider0 =
new QSlider(MPerfWidget);
200 ySlider0->setObjectName(QStringLiteral(
"ySlider0"));
206 ySlider0->setOrientation(Qt::Horizontal);
211 iButton4->setObjectName(QStringLiteral(
"iButton4"));
212 QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
213 sizePolicy.setHorizontalStretch(0);
214 sizePolicy.setVerticalStretch(0);
215 sizePolicy.setHeightForWidth(
iButton4->sizePolicy().hasHeightForWidth());
216 iButton4->setSizePolicy(sizePolicy);
217 iButton4->setMinimumSize(QSize(0, 40));
222 iButton5->setObjectName(QStringLiteral(
"iButton5"));
223 sizePolicy.setHeightForWidth(
iButton5->sizePolicy().hasHeightForWidth());
224 iButton5->setSizePolicy(sizePolicy);
225 iButton5->setMinimumSize(QSize(0, 40));
229 horizontalSpacer_4 =
new QSpacerItem(5, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
233 verticalSpacer_3 =
new QSpacerItem(20, 15, QSizePolicy::Minimum, QSizePolicy::Fixed);
237 horizontalSpacer_5 =
new QSpacerItem(5, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
242 iButton3->setObjectName(QStringLiteral(
"iButton3"));
243 sizePolicy.setHeightForWidth(
iButton3->sizePolicy().hasHeightForWidth());
244 iButton3->setSizePolicy(sizePolicy);
245 iButton3->setMinimumSize(QSize(0, 40));
250 label_12->setObjectName(QStringLiteral(
"label_12"));
251 QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Preferred);
252 sizePolicy1.setHorizontalStretch(0);
253 sizePolicy1.setVerticalStretch(0);
254 sizePolicy1.setHeightForWidth(
label_12->sizePolicy().hasHeightForWidth());
255 label_12->setSizePolicy(sizePolicy1);
259 xBox4 =
new QSpinBox(MPerfWidget);
260 xBox4->setObjectName(QStringLiteral(
"xBox4"));
261 xBox4->setMinimum(100);
262 xBox4->setMaximum(12000);
263 xBox4->setSingleStep(50);
267 xBox0 =
new QSpinBox(MPerfWidget);
268 xBox0->setObjectName(QStringLiteral(
"xBox0"));
269 xBox0->setMinimum(100);
270 xBox0->setMaximum(12000);
271 xBox0->setSingleStep(50);
275 yBox5 =
new QSpinBox(MPerfWidget);
276 yBox5->setObjectName(QStringLiteral(
"yBox5"));
277 yBox5->setMinimum(100);
278 yBox5->setMaximum(12000);
279 yBox5->setSingleStep(50);
283 eBox5 =
new QCheckBox(MPerfWidget);
284 eBox5->setObjectName(QStringLiteral(
"eBox5"));
288 xSlider5 =
new QSlider(MPerfWidget);
289 xSlider5->setObjectName(QStringLiteral(
"xSlider5"));
295 xSlider5->setOrientation(Qt::Horizontal);
299 xBox1 =
new QSpinBox(MPerfWidget);
300 xBox1->setObjectName(QStringLiteral(
"xBox1"));
301 sizePolicy.setHeightForWidth(
xBox1->sizePolicy().hasHeightForWidth());
302 xBox1->setSizePolicy(sizePolicy);
303 xBox1->setMinimum(100);
304 xBox1->setMaximum(12000);
305 xBox1->setSingleStep(50);
309 yBox2 =
new QSpinBox(MPerfWidget);
310 yBox2->setObjectName(QStringLiteral(
"yBox2"));
311 yBox2->setMinimum(100);
312 yBox2->setMaximum(12000);
313 yBox2->setSingleStep(50);
317 yBox3 =
new QSpinBox(MPerfWidget);
318 yBox3->setObjectName(QStringLiteral(
"yBox3"));
319 yBox3->setMinimum(100);
320 yBox3->setMaximum(12000);
321 yBox3->setSingleStep(50);
325 xSlider4 =
new QSlider(MPerfWidget);
326 xSlider4->setObjectName(QStringLiteral(
"xSlider4"));
332 xSlider4->setOrientation(Qt::Horizontal);
336 label_4 =
new QLabel(MPerfWidget);
337 label_4->setObjectName(QStringLiteral(
"label_4"));
338 sizePolicy1.setHeightForWidth(
label_4->sizePolicy().hasHeightForWidth());
339 label_4->setSizePolicy(sizePolicy1);
343 xSlider0 =
new QSlider(MPerfWidget);
344 xSlider0->setObjectName(QStringLiteral(
"xSlider0"));
350 xSlider0->setOrientation(Qt::Horizontal);
355 iButton2->setObjectName(QStringLiteral(
"iButton2"));
356 sizePolicy.setHeightForWidth(
iButton2->sizePolicy().hasHeightForWidth());
357 iButton2->setSizePolicy(sizePolicy);
358 iButton2->setMinimumSize(QSize(0, 40));
362 line_3 =
new QFrame(MPerfWidget);
363 line_3->setObjectName(QStringLiteral(
"line_3"));
364 line_3->setFrameShape(QFrame::HLine);
365 line_3->setFrameShadow(QFrame::Sunken);
370 iButtonO->setObjectName(QStringLiteral(
"iButtonO"));
371 sizePolicy.setHeightForWidth(
iButtonO->sizePolicy().hasHeightForWidth());
372 iButtonO->setSizePolicy(sizePolicy);
373 iButtonO->setMinimumSize(QSize(0, 40));
377 yBox1 =
new QSpinBox(MPerfWidget);
378 yBox1->setObjectName(QStringLiteral(
"yBox1"));
379 sizePolicy.setHeightForWidth(
yBox1->sizePolicy().hasHeightForWidth());
380 yBox1->setSizePolicy(sizePolicy);
381 yBox1->setMinimum(100);
382 yBox1->setMaximum(12000);
383 yBox1->setSingleStep(50);
387 ySlider2 =
new QSlider(MPerfWidget);
388 ySlider2->setObjectName(QStringLiteral(
"ySlider2"));
394 ySlider2->setOrientation(Qt::Horizontal);
398 xBox2 =
new QSpinBox(MPerfWidget);
399 xBox2->setObjectName(QStringLiteral(
"xBox2"));
400 xBox2->setMinimum(100);
401 xBox2->setMaximum(12000);
402 xBox2->setSingleStep(50);
406 xSlider1 =
new QSlider(MPerfWidget);
407 xSlider1->setObjectName(QStringLiteral(
"xSlider1"));
408 QSizePolicy sizePolicy2(QSizePolicy::Expanding, QSizePolicy::Fixed);
409 sizePolicy2.setHorizontalStretch(0);
410 sizePolicy2.setVerticalStretch(0);
411 sizePolicy2.setHeightForWidth(
xSlider1->sizePolicy().hasHeightForWidth());
412 xSlider1->setSizePolicy(sizePolicy2);
418 xSlider1->setOrientation(Qt::Horizontal);
422 horizontalSpacer =
new QSpacerItem(5, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
426 yBox4 =
new QSpinBox(MPerfWidget);
427 yBox4->setObjectName(QStringLiteral(
"yBox4"));
428 yBox4->setMinimum(100);
429 yBox4->setMaximum(12000);
430 yBox4->setSingleStep(50);
435 iButton1->setObjectName(QStringLiteral(
"iButton1"));
436 sizePolicy.setHeightForWidth(
iButton1->sizePolicy().hasHeightForWidth());
437 iButton1->setSizePolicy(sizePolicy);
438 iButton1->setMinimumSize(QSize(0, 40));
442 ySlider4 =
new QSlider(MPerfWidget);
443 ySlider4->setObjectName(QStringLiteral(
"ySlider4"));
449 ySlider4->setOrientation(Qt::Horizontal);
453 ySlider1 =
new QSlider(MPerfWidget);
454 ySlider1->setObjectName(QStringLiteral(
"ySlider1"));
460 ySlider1->setOrientation(Qt::Horizontal);
465 iButton0->setObjectName(QStringLiteral(
"iButton0"));
466 sizePolicy.setHeightForWidth(
iButton0->sizePolicy().hasHeightForWidth());
467 iButton0->setSizePolicy(sizePolicy);
468 iButton0->setMinimumSize(QSize(0, 40));
472 xSlider3 =
new QSlider(MPerfWidget);
473 xSlider3->setObjectName(QStringLiteral(
"xSlider3"));
479 xSlider3->setOrientation(Qt::Horizontal);
483 xBox5 =
new QSpinBox(MPerfWidget);
484 xBox5->setObjectName(QStringLiteral(
"xBox5"));
485 xBox5->setMinimum(100);
486 xBox5->setMaximum(12000);
487 xBox5->setSingleStep(50);
491 label_3 =
new QLabel(MPerfWidget);
492 label_3->setObjectName(QStringLiteral(
"label_3"));
496 label_6 =
new QLabel(MPerfWidget);
497 label_6->setObjectName(QStringLiteral(
"label_6"));
501 ySlider5 =
new QSlider(MPerfWidget);
502 ySlider5->setObjectName(QStringLiteral(
"ySlider5"));
508 ySlider5->setOrientation(Qt::Horizontal);
512 label_7 =
new QLabel(MPerfWidget);
513 label_7->setObjectName(QStringLiteral(
"label_7"));
517 label_8 =
new QLabel(MPerfWidget);
518 label_8->setObjectName(QStringLiteral(
"label_8"));
522 label_5 =
new QLabel(MPerfWidget);
523 label_5->setObjectName(QStringLiteral(
"label_5"));
528 label_15->setObjectName(QStringLiteral(
"label_15"));
533 label_13->setObjectName(QStringLiteral(
"label_13"));
538 label_14->setObjectName(QStringLiteral(
"label_14"));
542 eBox4 =
new QCheckBox(MPerfWidget);
543 eBox4->setObjectName(QStringLiteral(
"eBox4"));
548 label_11->setObjectName(QStringLiteral(
"label_11"));
552 eBox3 =
new QCheckBox(MPerfWidget);
553 eBox3->setObjectName(QStringLiteral(
"eBox3"));
557 eBox1 =
new QCheckBox(MPerfWidget);
558 eBox1->setObjectName(QStringLiteral(
"eBox1"));
562 label_2 =
new QLabel(MPerfWidget);
563 label_2->setObjectName(QStringLiteral(
"label_2"));
568 verticalSpacer =
new QSpacerItem(20, 30, QSizePolicy::Minimum, QSizePolicy::Fixed);
572 aSnapBox =
new QCheckBox(MPerfWidget);
573 aSnapBox->setObjectName(QStringLiteral(
"aSnapBox"));
577 line_2 =
new QFrame(MPerfWidget);
578 line_2->setObjectName(QStringLiteral(
"line_2"));
579 line_2->setFrameShape(QFrame::HLine);
580 line_2->setFrameShadow(QFrame::Sunken);
586 indicBox =
new QCheckBox(MPerfWidget);
587 indicBox->setObjectName(QStringLiteral(
"indicBox"));
591 horizontalSpacer_3 =
new QSpacerItem(5, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
595 spinBox =
new QSpinBox(MPerfWidget);
596 spinBox->setObjectName(QStringLiteral(
"spinBox"));
602 horizontalSpacer_7 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
609 xyBox =
new QCheckBox(MPerfWidget);
610 xyBox->setObjectName(QStringLiteral(
"xyBox"));
617 verticalSpacer_2 =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
624 copyButton->setObjectName(QStringLiteral(
"copyButton"));
628 horizontalSpacer_6 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
679 QMetaObject::connectSlotsByName(MPerfWidget);
684 MPerfWidget->setWindowTitle(QApplication::translate(
"MPerfWidget",
"Form", Q_NULLPTR));
685 label->setText(QApplication::translate(
"MPerfWidget",
"DPI", Q_NULLPTR));
686 label_25->setText(QApplication::translate(
"MPerfWidget",
"Lift height:", Q_NULLPTR));
689 << QApplication::translate(
"MPerfWidget",
"Low", Q_NULLPTR)
690 << QApplication::translate(
"MPerfWidget",
"Medium-low", Q_NULLPTR)
691 << QApplication::translate(
"MPerfWidget",
"Medium", Q_NULLPTR)
692 << QApplication::translate(
"MPerfWidget",
"Medium-high", Q_NULLPTR)
693 << QApplication::translate(
"MPerfWidget",
"High", Q_NULLPTR)
695 #ifndef QT_NO_TOOLTIP
696 eBox2->setToolTip(QApplication::translate(
"MPerfWidget",
"Uncheck this box to skip the stage while moving up or down.", Q_NULLPTR));
697 #endif // QT_NO_TOOLTIP
698 eBox2->setText(QString());
699 #ifndef QT_NO_TOOLTIP
700 iButton4->setToolTip(QApplication::translate(
"MPerfWidget",
"Tip: alt+click to set all colors at once", Q_NULLPTR));
701 #endif // QT_NO_TOOLTIP
703 #ifndef QT_NO_TOOLTIP
704 iButton5->setToolTip(QApplication::translate(
"MPerfWidget",
"Tip: alt+click to set all colors at once", Q_NULLPTR));
705 #endif // QT_NO_TOOLTIP
707 #ifndef QT_NO_TOOLTIP
708 iButton3->setToolTip(QApplication::translate(
"MPerfWidget",
"Tip: alt+click to set all colors at once", Q_NULLPTR));
709 #endif // QT_NO_TOOLTIP
711 label_12->setText(QApplication::translate(
"MPerfWidget",
"X Value:", Q_NULLPTR));
712 #ifndef QT_NO_TOOLTIP
713 eBox5->setToolTip(QApplication::translate(
"MPerfWidget",
"Uncheck this box to skip the stage while moving up or down.", Q_NULLPTR));
714 #endif // QT_NO_TOOLTIP
715 eBox5->setText(QString());
716 label_4->setText(QApplication::translate(
"MPerfWidget",
"Y Value:", Q_NULLPTR));
717 #ifndef QT_NO_TOOLTIP
718 iButton2->setToolTip(QApplication::translate(
"MPerfWidget",
"Tip: alt+click to set all colors at once", Q_NULLPTR));
719 #endif // QT_NO_TOOLTIP
721 #ifndef QT_NO_TOOLTIP
722 iButtonO->setToolTip(QApplication::translate(
"MPerfWidget",
"Tip: alt+click to set all colors at once", Q_NULLPTR));
723 #endif // QT_NO_TOOLTIP
725 #ifndef QT_NO_TOOLTIP
726 iButton1->setToolTip(QApplication::translate(
"MPerfWidget",
"Tip: alt+click to set all colors at once", Q_NULLPTR));
727 #endif // QT_NO_TOOLTIP
729 #ifndef QT_NO_TOOLTIP
730 iButton0->setToolTip(QApplication::translate(
"MPerfWidget",
"Tip: alt+click to set all colors at once", Q_NULLPTR));
731 #endif // QT_NO_TOOLTIP
733 label_3->setText(QApplication::translate(
"MPerfWidget",
"You can assign other DPIs in the Binding tab.", Q_NULLPTR));
734 label_6->setText(QApplication::translate(
"MPerfWidget",
"2:", Q_NULLPTR));
735 label_7->setText(QApplication::translate(
"MPerfWidget",
"3:", Q_NULLPTR));
736 label_8->setText(QApplication::translate(
"MPerfWidget",
"4:", Q_NULLPTR));
737 label_5->setText(QApplication::translate(
"MPerfWidget",
"1:", Q_NULLPTR));
738 label_15->setText(QApplication::translate(
"MPerfWidget",
"Other:", Q_NULLPTR));
739 label_13->setText(QApplication::translate(
"MPerfWidget",
"5:", Q_NULLPTR));
740 label_14->setText(QApplication::translate(
"MPerfWidget",
"Sniper:", Q_NULLPTR));
741 #ifndef QT_NO_TOOLTIP
742 eBox4->setToolTip(QApplication::translate(
"MPerfWidget",
"Uncheck this box to skip the stage while moving up or down.", Q_NULLPTR));
743 #endif // QT_NO_TOOLTIP
744 eBox4->setText(QString());
745 label_11->setText(QApplication::translate(
"MPerfWidget",
"DPI Stage:", Q_NULLPTR));
746 #ifndef QT_NO_TOOLTIP
747 eBox3->setToolTip(QApplication::translate(
"MPerfWidget",
"Uncheck this box to skip the stage while moving up or down.", Q_NULLPTR));
748 #endif // QT_NO_TOOLTIP
749 eBox3->setText(QString());
750 #ifndef QT_NO_TOOLTIP
751 eBox1->setToolTip(QApplication::translate(
"MPerfWidget",
"Uncheck this box to skip the stage while moving up or down.", Q_NULLPTR));
752 #endif // QT_NO_TOOLTIP
753 eBox1->setText(QString());
754 label_2->setText(QApplication::translate(
"MPerfWidget",
"Movement", Q_NULLPTR));
755 aSnapBox->setText(QApplication::translate(
"MPerfWidget",
"Angle snap", Q_NULLPTR));
756 indicBox->setText(QApplication::translate(
"MPerfWidget",
"Use DPI indicator:", Q_NULLPTR));
757 #ifndef QT_NO_TOOLTIP
758 spinBox->setToolTip(QApplication::translate(
"MPerfWidget",
"Indicator intensity", Q_NULLPTR));
759 #endif // QT_NO_TOOLTIP
760 spinBox->setSuffix(QApplication::translate(
"MPerfWidget",
"%", Q_NULLPTR));
761 xyBox->setText(QApplication::translate(
"MPerfWidget",
"Independent X/Y states", Q_NULLPTR));
762 copyButton->setText(QApplication::translate(
"MPerfWidget",
"Copy to mode...", Q_NULLPTR));
773 #endif // UI_MPERFWIDGET_H