12#include <QtCore/QVariant>
13#include <QtWidgets/QApplication>
14#include <QtWidgets/QCheckBox>
15#include <QtWidgets/QComboBox>
16#include <QtWidgets/QDialog>
17#include <QtWidgets/QFrame>
18#include <QtWidgets/QGridLayout>
19#include <QtWidgets/QGroupBox>
20#include <QtWidgets/QHBoxLayout>
21#include <QtWidgets/QLabel>
22#include <QtWidgets/QPushButton>
23#include <QtWidgets/QSpacerItem>
24#include <QtWidgets/QSpinBox>
31 QGridLayout *gridLayout;
34 QHBoxLayout *horizontalLayout_2;
35 QSpacerItem *horizontalSpacer;
36 QPushButton *btn_close;
37 QPushButton *btn_apply;
39 QHBoxLayout *horizontalLayout_4;
41 QGridLayout *gridLayout_2;
42 QSpinBox *sb_rect_height_sp;
45 QSpinBox *sb_fading_steps_sp;
47 QSpinBox *sb_v_spacing_sp;
49 QSpinBox *sb_h_spacing_sp;
51 QGroupBox *groupBox_2;
52 QGridLayout *gridLayout_3;
54 QSpinBox *sb_rect_height_lv;
58 QSpinBox *sb_v_spacing_lv;
60 QSpinBox *sb_fading_steps_lv;
61 QSpinBox *sb_h_spacing_lv;
62 QSpinBox *sb_rect_width_lv;
64 QHBoxLayout *horizontalLayout;
65 QComboBox *combo_styles;
66 QPushButton *btn_undo;
67 QPushButton *btn_save;
68 QPushButton *btn_delete;
69 QGridLayout *gridLayout_4;
70 QSpacerItem *horizontalSpacer_3;
73 QPushButton *btn_col2;
77 QCheckBox *checkBox_2;
80 QPushButton *btn_col1;
81 QPushButton *btn_col3;
82 QPushButton *btn_col4;
83 QSpacerItem *horizontalSpacer_2;
84 QSpacerItem *horizontalSpacer_4;
86 void setupUi(QDialog *GUI_Style)
88 if (GUI_Style->objectName().isEmpty())
89 GUI_Style->setObjectName(QString::fromUtf8(
"GUI_Style"));
90 GUI_Style->resize(692, 498);
91 gridLayout =
new QGridLayout(GUI_Style);
92 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
93 line_2 =
new QFrame(GUI_Style);
94 line_2->setObjectName(QString::fromUtf8(
"line_2"));
95 line_2->setFrameShape(QFrame::HLine);
96 line_2->setFrameShadow(QFrame::Sunken);
98 gridLayout->addWidget(line_2, 1, 0, 1, 6);
100 line =
new QFrame(GUI_Style);
101 line->setObjectName(QString::fromUtf8(
"line"));
102 line->setFrameShape(QFrame::HLine);
103 line->setFrameShadow(QFrame::Sunken);
105 gridLayout->addWidget(line, 14, 0, 1, 6);
107 horizontalLayout_2 =
new QHBoxLayout();
108 horizontalLayout_2->setObjectName(QString::fromUtf8(
"horizontalLayout_2"));
109 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
111 horizontalLayout_2->addItem(horizontalSpacer);
113 btn_close =
new QPushButton(GUI_Style);
114 btn_close->setObjectName(QString::fromUtf8(
"btn_close"));
115 btn_close->setFocusPolicy(Qt::StrongFocus);
116 btn_close->setText(QString::fromUtf8(
"Close"));
118 horizontalLayout_2->addWidget(btn_close);
120 btn_apply =
new QPushButton(GUI_Style);
121 btn_apply->setObjectName(QString::fromUtf8(
"btn_apply"));
122 btn_apply->setText(QString::fromUtf8(
"Apply"));
124 horizontalLayout_2->addWidget(btn_apply);
126 btn_ok =
new QPushButton(GUI_Style);
127 btn_ok->setObjectName(QString::fromUtf8(
"btn_ok"));
128 btn_ok->setText(QString::fromUtf8(
"Ok"));
130 horizontalLayout_2->addWidget(btn_ok);
133 gridLayout->addLayout(horizontalLayout_2, 15, 0, 1, 6);
135 horizontalLayout_4 =
new QHBoxLayout();
136 horizontalLayout_4->setObjectName(QString::fromUtf8(
"horizontalLayout_4"));
137 groupBox =
new QGroupBox(GUI_Style);
138 groupBox->setObjectName(QString::fromUtf8(
"groupBox"));
139 gridLayout_2 =
new QGridLayout(groupBox);
140 gridLayout_2->setObjectName(QString::fromUtf8(
"gridLayout_2"));
141 sb_rect_height_sp =
new QSpinBox(groupBox);
142 sb_rect_height_sp->setObjectName(QString::fromUtf8(
"sb_rect_height_sp"));
143 sb_rect_height_sp->setMinimum(1);
144 sb_rect_height_sp->setMaximum(10);
146 gridLayout_2->addWidget(sb_rect_height_sp, 6, 1, 1, 1);
148 label_4 =
new QLabel(groupBox);
149 label_4->setObjectName(QString::fromUtf8(
"label_4"));
151 gridLayout_2->addWidget(label_4, 5, 0, 1, 1);
153 label_3 =
new QLabel(groupBox);
154 label_3->setObjectName(QString::fromUtf8(
"label_3"));
156 gridLayout_2->addWidget(label_3, 6, 0, 1, 1);
158 sb_fading_steps_sp =
new QSpinBox(groupBox);
159 sb_fading_steps_sp->setObjectName(QString::fromUtf8(
"sb_fading_steps_sp"));
160 sb_fading_steps_sp->setMinimum(0);
161 sb_fading_steps_sp->setMaximum(100);
162 sb_fading_steps_sp->setValue(0);
164 gridLayout_2->addWidget(sb_fading_steps_sp, 0, 1, 1, 1);
166 label_7 =
new QLabel(groupBox);
167 label_7->setObjectName(QString::fromUtf8(
"label_7"));
169 gridLayout_2->addWidget(label_7, 2, 0, 1, 1);
171 sb_v_spacing_sp =
new QSpinBox(groupBox);
172 sb_v_spacing_sp->setObjectName(QString::fromUtf8(
"sb_v_spacing_sp"));
173 sb_v_spacing_sp->setMaximum(20);
175 gridLayout_2->addWidget(sb_v_spacing_sp, 5, 1, 1, 1);
177 label_8 =
new QLabel(groupBox);
178 label_8->setObjectName(QString::fromUtf8(
"label_8"));
180 gridLayout_2->addWidget(label_8, 0, 0, 1, 1);
182 sb_h_spacing_sp =
new QSpinBox(groupBox);
183 sb_h_spacing_sp->setObjectName(QString::fromUtf8(
"sb_h_spacing_sp"));
184 sb_h_spacing_sp->setMaximum(20);
186 gridLayout_2->addWidget(sb_h_spacing_sp, 2, 1, 1, 1);
188 label_2 =
new QLabel(groupBox);
189 label_2->setObjectName(QString::fromUtf8(
"label_2"));
191 gridLayout_2->addWidget(label_2, 7, 0, 1, 1);
194 horizontalLayout_4->addWidget(groupBox);
196 groupBox_2 =
new QGroupBox(GUI_Style);
197 groupBox_2->setObjectName(QString::fromUtf8(
"groupBox_2"));
198 gridLayout_3 =
new QGridLayout(groupBox_2);
199 gridLayout_3->setObjectName(QString::fromUtf8(
"gridLayout_3"));
200 label_12 =
new QLabel(groupBox_2);
201 label_12->setObjectName(QString::fromUtf8(
"label_12"));
203 gridLayout_3->addWidget(label_12, 2, 0, 1, 1);
205 sb_rect_height_lv =
new QSpinBox(groupBox_2);
206 sb_rect_height_lv->setObjectName(QString::fromUtf8(
"sb_rect_height_lv"));
207 sb_rect_height_lv->setMinimum(1);
208 sb_rect_height_lv->setMaximum(10);
210 gridLayout_3->addWidget(sb_rect_height_lv, 12, 1, 1, 1);
212 label_13 =
new QLabel(groupBox_2);
213 label_13->setObjectName(QString::fromUtf8(
"label_13"));
215 gridLayout_3->addWidget(label_13, 13, 0, 1, 1);
217 label_9 =
new QLabel(groupBox_2);
218 label_9->setObjectName(QString::fromUtf8(
"label_9"));
220 gridLayout_3->addWidget(label_9, 12, 0, 1, 1);
222 label_10 =
new QLabel(groupBox_2);
223 label_10->setObjectName(QString::fromUtf8(
"label_10"));
225 gridLayout_3->addWidget(label_10, 4, 0, 1, 1);
227 sb_v_spacing_lv =
new QSpinBox(groupBox_2);
228 sb_v_spacing_lv->setObjectName(QString::fromUtf8(
"sb_v_spacing_lv"));
229 sb_v_spacing_lv->setMaximum(20);
231 gridLayout_3->addWidget(sb_v_spacing_lv, 4, 1, 1, 1);
233 label_6 =
new QLabel(groupBox_2);
234 label_6->setObjectName(QString::fromUtf8(
"label_6"));
236 gridLayout_3->addWidget(label_6, 1, 0, 1, 1);
238 sb_fading_steps_lv =
new QSpinBox(groupBox_2);
239 sb_fading_steps_lv->setObjectName(QString::fromUtf8(
"sb_fading_steps_lv"));
240 sb_fading_steps_lv->setMaximum(100);
242 gridLayout_3->addWidget(sb_fading_steps_lv, 1, 1, 1, 1);
244 sb_h_spacing_lv =
new QSpinBox(groupBox_2);
245 sb_h_spacing_lv->setObjectName(QString::fromUtf8(
"sb_h_spacing_lv"));
246 sb_h_spacing_lv->setMaximum(20);
248 gridLayout_3->addWidget(sb_h_spacing_lv, 2, 1, 1, 1);
250 sb_rect_width_lv =
new QSpinBox(groupBox_2);
251 sb_rect_width_lv->setObjectName(QString::fromUtf8(
"sb_rect_width_lv"));
252 sb_rect_width_lv->setMinimum(1);
254 gridLayout_3->addWidget(sb_rect_width_lv, 13, 1, 1, 1);
257 horizontalLayout_4->addWidget(groupBox_2);
260 gridLayout->addLayout(horizontalLayout_4, 10, 0, 1, 6);
262 lab_title =
new QLabel(GUI_Style);
263 lab_title->setObjectName(QString::fromUtf8(
"lab_title"));
265 font.setPointSize(11);
268 lab_title->setFont(font);
270 gridLayout->addWidget(lab_title, 0, 0, 1, 3);
272 horizontalLayout =
new QHBoxLayout();
273 horizontalLayout->setObjectName(QString::fromUtf8(
"horizontalLayout"));
274 combo_styles =
new QComboBox(GUI_Style);
275 combo_styles->setObjectName(QString::fromUtf8(
"combo_styles"));
276 QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
277 sizePolicy.setHorizontalStretch(0);
278 sizePolicy.setVerticalStretch(0);
279 sizePolicy.setHeightForWidth(combo_styles->sizePolicy().hasHeightForWidth());
280 combo_styles->setSizePolicy(sizePolicy);
281 combo_styles->setEditable(
true);
283 horizontalLayout->addWidget(combo_styles);
285 btn_undo =
new QPushButton(GUI_Style);
286 btn_undo->setObjectName(QString::fromUtf8(
"btn_undo"));
287 btn_undo->setFocusPolicy(Qt::StrongFocus);
289 horizontalLayout->addWidget(btn_undo);
291 btn_save =
new QPushButton(GUI_Style);
292 btn_save->setObjectName(QString::fromUtf8(
"btn_save"));
293 btn_save->setFocusPolicy(Qt::StrongFocus);
295 horizontalLayout->addWidget(btn_save);
297 btn_delete =
new QPushButton(GUI_Style);
298 btn_delete->setObjectName(QString::fromUtf8(
"btn_delete"));
299 btn_delete->setFocusPolicy(Qt::StrongFocus);
301 horizontalLayout->addWidget(btn_delete);
304 gridLayout->addLayout(horizontalLayout, 2, 0, 1, 6);
306 gridLayout_4 =
new QGridLayout();
307 gridLayout_4->setObjectName(QString::fromUtf8(
"gridLayout_4"));
308 horizontalSpacer_3 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
310 gridLayout_4->addItem(horizontalSpacer_3, 0, 7, 1, 1);
312 lab_col_2 =
new QLabel(GUI_Style);
313 lab_col_2->setObjectName(QString::fromUtf8(
"lab_col_2"));
315 gridLayout_4->addWidget(lab_col_2, 0, 4, 1, 1);
317 lab_col_1 =
new QLabel(GUI_Style);
318 lab_col_1->setObjectName(QString::fromUtf8(
"lab_col_1"));
320 gridLayout_4->addWidget(lab_col_1, 0, 0, 1, 1);
322 btn_col2 =
new QPushButton(GUI_Style);
323 btn_col2->setObjectName(QString::fromUtf8(
"btn_col2"));
324 btn_col2->setMaximumSize(QSize(25, 16777215));
325 btn_col2->setFocusPolicy(Qt::StrongFocus);
326 btn_col2->setIconSize(QSize(18, 18));
327 btn_col2->setChecked(
false);
329 gridLayout_4->addWidget(btn_col2, 0, 6, 1, 1);
331 lab_col_3 =
new QLabel(GUI_Style);
332 lab_col_3->setObjectName(QString::fromUtf8(
"lab_col_3"));
334 gridLayout_4->addWidget(lab_col_3, 0, 8, 1, 1);
336 lab_col_4 =
new QLabel(GUI_Style);
337 lab_col_4->setObjectName(QString::fromUtf8(
"lab_col_4"));
339 gridLayout_4->addWidget(lab_col_4, 0, 12, 1, 1);
341 checkBox =
new QCheckBox(GUI_Style);
342 checkBox->setObjectName(QString::fromUtf8(
"checkBox"));
343 checkBox->setEnabled(
false);
344 checkBox->setMaximumSize(QSize(20, 16777215));
345 checkBox->setLayoutDirection(Qt::RightToLeft);
346 checkBox->setCheckable(
true);
347 checkBox->setChecked(
true);
349 gridLayout_4->addWidget(checkBox, 0, 1, 1, 1);
351 checkBox_2 =
new QCheckBox(GUI_Style);
352 checkBox_2->setObjectName(QString::fromUtf8(
"checkBox_2"));
353 checkBox_2->setEnabled(
false);
354 checkBox_2->setMaximumSize(QSize(20, 16777215));
355 checkBox_2->setLayoutDirection(Qt::RightToLeft);
356 checkBox_2->setCheckable(
true);
357 checkBox_2->setChecked(
true);
359 gridLayout_4->addWidget(checkBox_2, 0, 5, 1, 1);
361 cb_col3 =
new QCheckBox(GUI_Style);
362 cb_col3->setObjectName(QString::fromUtf8(
"cb_col3"));
363 cb_col3->setMaximumSize(QSize(20, 16777215));
364 cb_col3->setLayoutDirection(Qt::RightToLeft);
366 gridLayout_4->addWidget(cb_col3, 0, 9, 1, 1);
368 cb_col4 =
new QCheckBox(GUI_Style);
369 cb_col4->setObjectName(QString::fromUtf8(
"cb_col4"));
370 cb_col4->setMaximumSize(QSize(20, 16777215));
371 cb_col4->setLayoutDirection(Qt::RightToLeft);
373 gridLayout_4->addWidget(cb_col4, 0, 13, 1, 1);
375 btn_col1 =
new QPushButton(GUI_Style);
376 btn_col1->setObjectName(QString::fromUtf8(
"btn_col1"));
377 btn_col1->setMaximumSize(QSize(25, 16777215));
378 btn_col1->setFocusPolicy(Qt::StrongFocus);
379 btn_col1->setIconSize(QSize(18, 18));
380 btn_col1->setChecked(
false);
382 gridLayout_4->addWidget(btn_col1, 0, 2, 1, 1);
384 btn_col3 =
new QPushButton(GUI_Style);
385 btn_col3->setObjectName(QString::fromUtf8(
"btn_col3"));
386 btn_col3->setMaximumSize(QSize(25, 16777215));
387 btn_col3->setFocusPolicy(Qt::StrongFocus);
388 btn_col3->setIconSize(QSize(18, 18));
390 gridLayout_4->addWidget(btn_col3, 0, 10, 1, 1);
392 btn_col4 =
new QPushButton(GUI_Style);
393 btn_col4->setObjectName(QString::fromUtf8(
"btn_col4"));
394 btn_col4->setMaximumSize(QSize(25, 16777215));
395 btn_col4->setFocusPolicy(Qt::StrongFocus);
396 btn_col4->setIconSize(QSize(18, 18));
398 gridLayout_4->addWidget(btn_col4, 0, 14, 1, 1);
400 horizontalSpacer_2 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
402 gridLayout_4->addItem(horizontalSpacer_2, 0, 3, 1, 1);
404 horizontalSpacer_4 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
406 gridLayout_4->addItem(horizontalSpacer_4, 0, 11, 1, 1);
409 gridLayout->addLayout(gridLayout_4, 3, 0, 1, 6);
411 QWidget::setTabOrder(combo_styles, btn_undo);
412 QWidget::setTabOrder(btn_undo, btn_save);
413 QWidget::setTabOrder(btn_save, btn_delete);
414 QWidget::setTabOrder(btn_delete, checkBox);
415 QWidget::setTabOrder(checkBox, btn_col1);
416 QWidget::setTabOrder(btn_col1, checkBox_2);
417 QWidget::setTabOrder(checkBox_2, btn_col2);
418 QWidget::setTabOrder(btn_col2, cb_col3);
419 QWidget::setTabOrder(cb_col3, btn_col3);
420 QWidget::setTabOrder(btn_col3, cb_col4);
421 QWidget::setTabOrder(cb_col4, btn_col4);
422 QWidget::setTabOrder(btn_col4, sb_fading_steps_sp);
423 QWidget::setTabOrder(sb_fading_steps_sp, sb_h_spacing_sp);
424 QWidget::setTabOrder(sb_h_spacing_sp, sb_v_spacing_sp);
425 QWidget::setTabOrder(sb_v_spacing_sp, sb_rect_height_sp);
426 QWidget::setTabOrder(sb_rect_height_sp, sb_fading_steps_lv);
427 QWidget::setTabOrder(sb_fading_steps_lv, sb_h_spacing_lv);
428 QWidget::setTabOrder(sb_h_spacing_lv, sb_v_spacing_lv);
429 QWidget::setTabOrder(sb_v_spacing_lv, sb_rect_height_lv);
430 QWidget::setTabOrder(sb_rect_height_lv, sb_rect_width_lv);
432 retranslateUi(GUI_Style);
433 QObject::connect(btn_close, SIGNAL(clicked()), GUI_Style, SLOT(close()));
434 QObject::connect(cb_col3, SIGNAL(toggled(
bool)), btn_col3, SLOT(setEnabled(
bool)));
435 QObject::connect(cb_col4, SIGNAL(toggled(
bool)), btn_col4, SLOT(setEnabled(
bool)));
437 QMetaObject::connectSlotsByName(GUI_Style);
440 void retranslateUi(QDialog *GUI_Style)
442 GUI_Style->setWindowTitle(QCoreApplication::translate(
"GUI_Style",
"Style",
nullptr));
443 groupBox->setTitle(QCoreApplication::translate(
"GUI_Style",
"Spectrum",
nullptr));
444 label_4->setText(QCoreApplication::translate(
"GUI_Style",
"Vert. spacing",
nullptr));
445 label_3->setText(QCoreApplication::translate(
"GUI_Style",
"Rect height",
nullptr));
446 label_7->setText(QCoreApplication::translate(
"GUI_Style",
"Hor. spacing",
nullptr));
447 label_8->setText(QCoreApplication::translate(
"GUI_Style",
"Fading steps",
nullptr));
448 label_2->setText(QString());
449 groupBox_2->setTitle(QCoreApplication::translate(
"GUI_Style",
"Level",
nullptr));
450 label_12->setText(QCoreApplication::translate(
"GUI_Style",
"Hor. spacing",
nullptr));
451 label_13->setText(QCoreApplication::translate(
"GUI_Style",
"Rect width",
nullptr));
452 label_9->setText(QCoreApplication::translate(
"GUI_Style",
"Rect height",
nullptr));
453 label_10->setText(QCoreApplication::translate(
"GUI_Style",
"Ver. spacing",
nullptr));
454 label_6->setText(QCoreApplication::translate(
"GUI_Style",
"Fading steps",
nullptr));
455 lab_title->setText(QCoreApplication::translate(
"GUI_Style",
"Style settings",
nullptr));
456 btn_undo->setText(QString());
457 btn_save->setText(QString());
458 btn_delete->setText(QString());
459 lab_col_2->setText(QCoreApplication::translate(
"GUI_Style",
"Color 2",
nullptr));
460 lab_col_1->setText(QCoreApplication::translate(
"GUI_Style",
"Color 1",
nullptr));
461 btn_col2->setText(QString());
462 lab_col_3->setText(QCoreApplication::translate(
"GUI_Style",
"Color 3",
nullptr));
463 lab_col_4->setText(QCoreApplication::translate(
"GUI_Style",
"Color 4",
nullptr));
464 checkBox->setText(QString());
465 checkBox_2->setText(QString());
466 cb_col3->setText(QString());
467 cb_col4->setText(QString());
468 btn_col1->setText(QString());
469 btn_col3->setText(QString());
470 btn_col4->setText(QString());
Definition: ui_GUI_Style.h:476
Definition: ui_GUI_Style.h:29