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_extrasettingswidget.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'extrasettingswidget.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_EXTRASETTINGSWIDGET_H
10 #define UI_EXTRASETTINGSWIDGET_H
11 
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QAction>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QButtonGroup>
16 #include <QtWidgets/QCheckBox>
17 #include <QtWidgets/QDialog>
18 #include <QtWidgets/QDialogButtonBox>
19 #include <QtWidgets/QFrame>
20 #include <QtWidgets/QGridLayout>
21 #include <QtWidgets/QHBoxLayout>
22 #include <QtWidgets/QHeaderView>
23 #include <QtWidgets/QLabel>
24 #include <QtWidgets/QPushButton>
25 #include <QtWidgets/QSpacerItem>
26 #include <QtWidgets/QSpinBox>
27 #include <QtWidgets/QWidget>
28 
29 QT_BEGIN_NAMESPACE
30 
32 {
33 public:
34  QGridLayout *gridLayout;
35  QSpacerItem *horizontalSpacer_2;
36  QSpacerItem *verticalSpacer;
37  QSpacerItem *verticalSpacer_3;
38  QSpacerItem *verticalSpacer_2;
39  QLabel *fpsWarnLabel;
40  QSpacerItem *horizontalSpacer_3;
41  QLabel *label_3;
42  QSpinBox *fpsBox;
43  QSpacerItem *verticalSpacer_4;
44  QSpacerItem *verticalSpacer_9;
45  QLabel *label_6;
46  QSpacerItem *verticalSpacer_6;
47  QSpacerItem *verticalSpacer_5;
48  QCheckBox *sAccelBox;
49  QSpacerItem *verticalSpacer_7;
50  QSpacerItem *verticalSpacer_8;
51  QSpacerItem *verticalSpacer_10;
52  QSpacerItem *verticalSpacer_11;
53  QSpacerItem *horizontalSpacer;
54  QFrame *line_2;
55  QHBoxLayout *horizontalLayout;
56  QLabel *animPathLabel;
57  QLabel *animCountLabel;
59  QCheckBox *brightnessBox;
60  QCheckBox *trayBox;
61  QLabel *label;
62  QFrame *line;
63  QLabel *label_5;
64  QFrame *line_3;
65  QLabel *label_2;
66  QCheckBox *ditherBox;
67  QCheckBox *delayBox;
68  QLabel *osxLabel;
69  QFrame *osxLine;
70  QCheckBox *mAccelBox;
72  QHBoxLayout *horizontalLayout_2;
73  QLabel *label_10;
74  QSpinBox *sSpeedBox;
75  QLabel *label_11;
76  QDialogButtonBox *buttonBox;
77 
79  {
80  if (ExtraSettingsWidget->objectName().isEmpty())
81  ExtraSettingsWidget->setObjectName(QStringLiteral("ExtraSettingsWidget"));
82  ExtraSettingsWidget->resize(650, 515);
83  gridLayout = new QGridLayout(ExtraSettingsWidget);
84  gridLayout->setObjectName(QStringLiteral("gridLayout"));
85  horizontalSpacer_2 = new QSpacerItem(30, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
86 
87  gridLayout->addItem(horizontalSpacer_2, 12, 2, 1, 1);
88 
89  verticalSpacer = new QSpacerItem(0, 28, QSizePolicy::Minimum, QSizePolicy::Fixed);
90 
91  gridLayout->addItem(verticalSpacer, 2, 0, 1, 1);
92 
93  verticalSpacer_3 = new QSpacerItem(0, 28, QSizePolicy::Minimum, QSizePolicy::Fixed);
94 
95  gridLayout->addItem(verticalSpacer_3, 3, 0, 1, 1);
96 
97  verticalSpacer_2 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
98 
99  gridLayout->addItem(verticalSpacer_2, 19, 5, 1, 1);
100 
101  fpsWarnLabel = new QLabel(ExtraSettingsWidget);
102  fpsWarnLabel->setObjectName(QStringLiteral("fpsWarnLabel"));
103  QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
104  sizePolicy.setHorizontalStretch(0);
105  sizePolicy.setVerticalStretch(0);
106  sizePolicy.setHeightForWidth(fpsWarnLabel->sizePolicy().hasHeightForWidth());
107  fpsWarnLabel->setSizePolicy(sizePolicy);
108 
109  gridLayout->addWidget(fpsWarnLabel, 12, 5, 1, 1);
110 
111  horizontalSpacer_3 = new QSpacerItem(10, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
112 
113  gridLayout->addItem(horizontalSpacer_3, 12, 4, 1, 1);
114 
115  label_3 = new QLabel(ExtraSettingsWidget);
116  label_3->setObjectName(QStringLiteral("label_3"));
117 
118  gridLayout->addWidget(label_3, 12, 1, 1, 1);
119 
120  fpsBox = new QSpinBox(ExtraSettingsWidget);
121  fpsBox->setObjectName(QStringLiteral("fpsBox"));
122  fpsBox->setMinimum(5);
123  fpsBox->setMaximum(60);
124  fpsBox->setValue(30);
125 
126  gridLayout->addWidget(fpsBox, 12, 3, 1, 1);
127 
128  verticalSpacer_4 = new QSpacerItem(0, 28, QSizePolicy::Minimum, QSizePolicy::Fixed);
129 
130  gridLayout->addItem(verticalSpacer_4, 7, 0, 1, 1);
131 
132  verticalSpacer_9 = new QSpacerItem(0, 28, QSizePolicy::Minimum, QSizePolicy::Fixed);
133 
134  gridLayout->addItem(verticalSpacer_9, 12, 0, 1, 1);
135 
136  label_6 = new QLabel(ExtraSettingsWidget);
137  label_6->setObjectName(QStringLiteral("label_6"));
138 
139  gridLayout->addWidget(label_6, 7, 1, 1, 1);
140 
141  verticalSpacer_6 = new QSpacerItem(20, 10, QSizePolicy::Minimum, QSizePolicy::Fixed);
142 
143  gridLayout->addItem(verticalSpacer_6, 8, 1, 1, 1);
144 
145  verticalSpacer_5 = new QSpacerItem(20, 10, QSizePolicy::Minimum, QSizePolicy::Fixed);
146 
147  gridLayout->addItem(verticalSpacer_5, 4, 1, 1, 1);
148 
149  sAccelBox = new QCheckBox(ExtraSettingsWidget);
150  sAccelBox->setObjectName(QStringLiteral("sAccelBox"));
151 
152  gridLayout->addWidget(sAccelBox, 18, 1, 1, 4);
153 
154  verticalSpacer_7 = new QSpacerItem(20, 10, QSizePolicy::Minimum, QSizePolicy::Fixed);
155 
156  gridLayout->addItem(verticalSpacer_7, 14, 1, 1, 1);
157 
158  verticalSpacer_8 = new QSpacerItem(0, 28, QSizePolicy::Minimum, QSizePolicy::Fixed);
159 
160  gridLayout->addItem(verticalSpacer_8, 13, 0, 1, 1);
161 
162  verticalSpacer_10 = new QSpacerItem(0, 28, QSizePolicy::Minimum, QSizePolicy::Fixed);
163 
164  gridLayout->addItem(verticalSpacer_10, 17, 0, 1, 1);
165 
166  verticalSpacer_11 = new QSpacerItem(0, 28, QSizePolicy::Minimum, QSizePolicy::Fixed);
167 
168  gridLayout->addItem(verticalSpacer_11, 18, 0, 1, 1);
169 
170  horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
171 
172  gridLayout->addItem(horizontalSpacer, 12, 6, 1, 1);
173 
174  line_2 = new QFrame(ExtraSettingsWidget);
175  line_2->setObjectName(QStringLiteral("line_2"));
176  line_2->setFrameShape(QFrame::HLine);
177  line_2->setFrameShadow(QFrame::Sunken);
178 
179  gridLayout->addWidget(line_2, 10, 0, 1, 7);
180 
181  horizontalLayout = new QHBoxLayout();
182  horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
183  animPathLabel = new QLabel(ExtraSettingsWidget);
184  animPathLabel->setObjectName(QStringLiteral("animPathLabel"));
185 
186  horizontalLayout->addWidget(animPathLabel);
187 
188  animCountLabel = new QLabel(ExtraSettingsWidget);
189  animCountLabel->setObjectName(QStringLiteral("animCountLabel"));
190  sizePolicy.setHeightForWidth(animCountLabel->sizePolicy().hasHeightForWidth());
191  animCountLabel->setSizePolicy(sizePolicy);
192  animCountLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
193 
194  horizontalLayout->addWidget(animCountLabel);
195 
196  animScanButton = new QPushButton(ExtraSettingsWidget);
197  animScanButton->setObjectName(QStringLiteral("animScanButton"));
198 
199  horizontalLayout->addWidget(animScanButton);
200 
201 
202  gridLayout->addLayout(horizontalLayout, 7, 3, 1, 4);
203 
204  brightnessBox = new QCheckBox(ExtraSettingsWidget);
205  brightnessBox->setObjectName(QStringLiteral("brightnessBox"));
206 
207  gridLayout->addWidget(brightnessBox, 3, 1, 1, 6);
208 
209  trayBox = new QCheckBox(ExtraSettingsWidget);
210  trayBox->setObjectName(QStringLiteral("trayBox"));
211 
212  gridLayout->addWidget(trayBox, 2, 1, 1, 6);
213 
214  label = new QLabel(ExtraSettingsWidget);
215  label->setObjectName(QStringLiteral("label"));
216  QFont font;
217  font.setBold(true);
218  font.setWeight(75);
219  label->setFont(font);
220 
221  gridLayout->addWidget(label, 0, 0, 1, 7);
222 
223  line = new QFrame(ExtraSettingsWidget);
224  line->setObjectName(QStringLiteral("line"));
225  line->setFrameShape(QFrame::HLine);
226  line->setFrameShadow(QFrame::Sunken);
227 
228  gridLayout->addWidget(line, 1, 0, 1, 7);
229 
230  label_5 = new QLabel(ExtraSettingsWidget);
231  label_5->setObjectName(QStringLiteral("label_5"));
232  label_5->setFont(font);
233 
234  gridLayout->addWidget(label_5, 5, 0, 1, 7);
235 
236  line_3 = new QFrame(ExtraSettingsWidget);
237  line_3->setObjectName(QStringLiteral("line_3"));
238  line_3->setFrameShape(QFrame::HLine);
239  line_3->setFrameShadow(QFrame::Sunken);
240 
241  gridLayout->addWidget(line_3, 6, 0, 1, 7);
242 
243  label_2 = new QLabel(ExtraSettingsWidget);
244  label_2->setObjectName(QStringLiteral("label_2"));
245  label_2->setFont(font);
246 
247  gridLayout->addWidget(label_2, 9, 0, 1, 7);
248 
249  ditherBox = new QCheckBox(ExtraSettingsWidget);
250  ditherBox->setObjectName(QStringLiteral("ditherBox"));
251 
252  gridLayout->addWidget(ditherBox, 13, 1, 1, 6);
253 
254  delayBox = new QCheckBox(ExtraSettingsWidget);
255  delayBox->setObjectName(QStringLiteral("delayBox"));
256 
257  gridLayout->addWidget(delayBox, 14, 1, 1, 6);
258 
259  osxLabel = new QLabel(ExtraSettingsWidget);
260  osxLabel->setObjectName(QStringLiteral("osxLabel"));
261  osxLabel->setFont(font);
262 
263  gridLayout->addWidget(osxLabel, 15, 0, 1, 7);
264 
265  osxLine = new QFrame(ExtraSettingsWidget);
266  osxLine->setObjectName(QStringLiteral("osxLine"));
267  osxLine->setFrameShape(QFrame::HLine);
268  osxLine->setFrameShadow(QFrame::Sunken);
269 
270  gridLayout->addWidget(osxLine, 16, 0, 1, 7);
271 
272  mAccelBox = new QCheckBox(ExtraSettingsWidget);
273  mAccelBox->setObjectName(QStringLiteral("mAccelBox"));
274 
275  gridLayout->addWidget(mAccelBox, 17, 1, 1, 6);
276 
277  sSpeedWidget = new QWidget(ExtraSettingsWidget);
278  sSpeedWidget->setObjectName(QStringLiteral("sSpeedWidget"));
279  sizePolicy.setHeightForWidth(sSpeedWidget->sizePolicy().hasHeightForWidth());
280  sSpeedWidget->setSizePolicy(sizePolicy);
281  horizontalLayout_2 = new QHBoxLayout(sSpeedWidget);
282  horizontalLayout_2->setObjectName(QStringLiteral("horizontalLayout_2"));
283  horizontalLayout_2->setContentsMargins(0, 0, 0, 0);
284  label_10 = new QLabel(sSpeedWidget);
285  label_10->setObjectName(QStringLiteral("label_10"));
286 
287  horizontalLayout_2->addWidget(label_10);
288 
289  sSpeedBox = new QSpinBox(sSpeedWidget);
290  sSpeedBox->setObjectName(QStringLiteral("sSpeedBox"));
291  sSpeedBox->setMinimum(1);
292  sSpeedBox->setMaximum(10);
293  sSpeedBox->setValue(3);
294 
295  horizontalLayout_2->addWidget(sSpeedBox);
296 
297  label_11 = new QLabel(sSpeedWidget);
298  label_11->setObjectName(QStringLiteral("label_11"));
299  sizePolicy.setHeightForWidth(label_11->sizePolicy().hasHeightForWidth());
300  label_11->setSizePolicy(sizePolicy);
301 
302  horizontalLayout_2->addWidget(label_11);
303 
304 
305  gridLayout->addWidget(sSpeedWidget, 18, 5, 1, 2);
306 
307  buttonBox = new QDialogButtonBox(ExtraSettingsWidget);
308  buttonBox->setObjectName(QStringLiteral("buttonBox"));
309  buttonBox->setOrientation(Qt::Horizontal);
310  buttonBox->setStandardButtons(QDialogButtonBox::Ok);
311 
312  gridLayout->addWidget(buttonBox, 20, 0, 1, 7);
313 
314  QWidget::setTabOrder(trayBox, brightnessBox);
315  QWidget::setTabOrder(brightnessBox, animScanButton);
316  QWidget::setTabOrder(animScanButton, fpsBox);
317  QWidget::setTabOrder(fpsBox, ditherBox);
318  QWidget::setTabOrder(ditherBox, delayBox);
319  QWidget::setTabOrder(delayBox, mAccelBox);
320  QWidget::setTabOrder(mAccelBox, sAccelBox);
321  QWidget::setTabOrder(sAccelBox, sSpeedBox);
322 
323  retranslateUi(ExtraSettingsWidget);
324  QObject::connect(buttonBox, SIGNAL(accepted()), ExtraSettingsWidget, SLOT(accept()));
325  QObject::connect(buttonBox, SIGNAL(rejected()), ExtraSettingsWidget, SLOT(reject()));
326 
327  QMetaObject::connectSlotsByName(ExtraSettingsWidget);
328  } // setupUi
329 
331  {
332  ExtraSettingsWidget->setWindowTitle(QApplication::translate("ExtraSettingsWidget", "Application Settings", Q_NULLPTR));
333  fpsWarnLabel->setText(QApplication::translate("ExtraSettingsWidget", "Warning: high frame rates may cause stability issues", Q_NULLPTR));
334  label_3->setText(QApplication::translate("ExtraSettingsWidget", "Frame rate (FPS):", Q_NULLPTR));
335  label_6->setText(QApplication::translate("ExtraSettingsWidget", "Location:", Q_NULLPTR));
336 #ifndef QT_NO_TOOLTIP
337  sAccelBox->setToolTip(QApplication::translate("ExtraSettingsWidget", "Try this if you're having problems with the scroll wheel.", Q_NULLPTR));
338 #endif // QT_NO_TOOLTIP
339  sAccelBox->setText(QApplication::translate("ExtraSettingsWidget", "Disable scroll acceleration", Q_NULLPTR));
340  animPathLabel->setText(QApplication::translate("ExtraSettingsWidget", "/path/to/animations", Q_NULLPTR));
341  animCountLabel->setText(QApplication::translate("ExtraSettingsWidget", "0 animations found", Q_NULLPTR));
342  animScanButton->setText(QApplication::translate("ExtraSettingsWidget", "Re-scan", Q_NULLPTR));
343 #ifndef QT_NO_TOOLTIP
344  brightnessBox->setToolTip(QApplication::translate("ExtraSettingsWidget", "By default, the same brightness level will be applied to all profiles and all devices. Enable this to store it with the lighting mode instead.", Q_NULLPTR));
345 #endif // QT_NO_TOOLTIP
346  brightnessBox->setText(QApplication::translate("ExtraSettingsWidget", "Set brightness per-mode", Q_NULLPTR));
347 #ifndef QT_NO_TOOLTIP
348  trayBox->setToolTip(QApplication::translate("ExtraSettingsWidget", "The tray icon will not be displayed. The application will still run in the background; re-launch the app to see the GUI again.", Q_NULLPTR));
349 #endif // QT_NO_TOOLTIP
350  trayBox->setText(QApplication::translate("ExtraSettingsWidget", "Hide tray icon", Q_NULLPTR));
351  label->setText(QApplication::translate("ExtraSettingsWidget", "Behavior", Q_NULLPTR));
352  label_5->setText(QApplication::translate("ExtraSettingsWidget", "Animation scripts", Q_NULLPTR));
353  label_2->setText(QApplication::translate("ExtraSettingsWidget", "Hardware", Q_NULLPTR));
354 #ifndef QT_NO_TOOLTIP
355  ditherBox->setToolTip(QApplication::translate("ExtraSettingsWidget", "May improve appearance on some keyboards.", Q_NULLPTR));
356 #endif // QT_NO_TOOLTIP
357  ditherBox->setText(QApplication::translate("ExtraSettingsWidget", "Use spatial dithering to simulate extra color resolution", Q_NULLPTR));
358 #ifndef QT_NO_TOOLTIP
359  delayBox->setToolTip(QApplication::translate("ExtraSettingsWidget", "When using macros with strings longer than 25 chars, some OS may lose characters (e.g. Mint 17.2). Select to prevent that bug.", Q_NULLPTR));
360 #endif // QT_NO_TOOLTIP
361  delayBox->setText(QApplication::translate("ExtraSettingsWidget", "Use delay for very long macros", Q_NULLPTR));
362  osxLabel->setText(QApplication::translate("ExtraSettingsWidget", "OS X tweaks", Q_NULLPTR));
363 #ifndef QT_NO_TOOLTIP
364  mAccelBox->setToolTip(QApplication::translate("ExtraSettingsWidget", "Try this if you're having problems with mouse movement.", Q_NULLPTR));
365 #endif // QT_NO_TOOLTIP
366  mAccelBox->setText(QApplication::translate("ExtraSettingsWidget", "Disable mouse acceleration", Q_NULLPTR));
367  label_10->setText(QApplication::translate("ExtraSettingsWidget", "Scroll", Q_NULLPTR));
368  label_11->setText(QApplication::translate("ExtraSettingsWidget", "line(s) at a time", Q_NULLPTR));
369  } // retranslateUi
370 
371 };
372 
373 namespace Ui {
375 } // namespace Ui
376 
377 QT_END_NAMESPACE
378 
379 #endif // UI_EXTRASETTINGSWIDGET_H
void setupUi(QDialog *ExtraSettingsWidget)
QDialogButtonBox * buttonBox
void retranslateUi(QDialog *ExtraSettingsWidget)