9 #ifndef UI_GUI_STREAMRECORDERPREFERENCES_H
10 #define UI_GUI_STREAMRECORDERPREFERENCES_H
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QApplication>
14 #include <QtWidgets/QCheckBox>
15 #include <QtWidgets/QFrame>
16 #include <QtWidgets/QGridLayout>
17 #include <QtWidgets/QLabel>
18 #include <QtWidgets/QLineEdit>
19 #include <QtWidgets/QPushButton>
20 #include <QtWidgets/QSpacerItem>
21 #include <QtWidgets/QTabWidget>
22 #include <QtWidgets/QWidget>
29 QGridLayout *gridLayout_2;
30 QTabWidget *tabWidget;
32 QGridLayout *gridLayout;
34 QSpacerItem *verticalSpacer;
35 QPushButton *btn_path;
39 QCheckBox *cb_activate;
40 QCheckBox *cb_auto_rec;
42 QCheckBox *cb_create_session_path;
45 QGridLayout *gridLayout_4;
47 QGridLayout *gridLayout_3;
48 QPushButton *btn_default;
51 QWidget *button_widget;
52 QPushButton *btn_undo;
53 QLineEdit *le_template;
57 QLineEdit *le_result_path;
65 QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
66 sizePolicy.setHorizontalStretch(0);
67 sizePolicy.setVerticalStretch(0);
71 gridLayout_2->setObjectName(QString::fromUtf8(
"gridLayout_2"));
73 tabWidget->setObjectName(QString::fromUtf8(
"tabWidget"));
74 tabWidget->setFocusPolicy(Qt::NoFocus);
76 tab->setObjectName(QString::fromUtf8(
"tab"));
77 gridLayout =
new QGridLayout(tab);
78 gridLayout->setSpacing(6);
79 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
80 label_2 =
new QLabel(tab);
81 label_2->setObjectName(QString::fromUtf8(
"label_2"));
83 gridLayout->addWidget(label_2, 3, 0, 1, 1);
85 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
87 gridLayout->addItem(verticalSpacer, 5, 1, 1, 1);
89 btn_path =
new QPushButton(tab);
90 btn_path->setObjectName(QString::fromUtf8(
"btn_path"));
91 #if QT_CONFIG(tooltip)
92 btn_path->setToolTip(QString::fromUtf8(
""));
93 #endif // QT_CONFIG(tooltip)
94 btn_path->setLayoutDirection(Qt::LeftToRight);
95 btn_path->setText(QString::fromUtf8(
"\342\211\241"));
97 gridLayout->addWidget(btn_path, 3, 2, 1, 1);
99 lab_warning =
new QLabel(tab);
100 lab_warning->setObjectName(QString::fromUtf8(
"lab_warning"));
102 gridLayout->addWidget(lab_warning, 4, 0, 1, 3);
104 label_3 =
new QLabel(tab);
105 label_3->setObjectName(QString::fromUtf8(
"label_3"));
107 gridLayout->addWidget(label_3, 1, 0, 1, 1);
109 lab_active =
new QLabel(tab);
110 lab_active->setObjectName(QString::fromUtf8(
"lab_active"));
111 lab_active->setText(QString::fromUtf8(
"Active"));
113 gridLayout->addWidget(lab_active, 0, 0, 1, 1);
115 cb_activate =
new QCheckBox(tab);
116 cb_activate->setObjectName(QString::fromUtf8(
"cb_activate"));
117 cb_activate->setFocusPolicy(Qt::StrongFocus);
119 gridLayout->addWidget(cb_activate, 0, 1, 1, 1);
121 cb_auto_rec =
new QCheckBox(tab);
122 cb_auto_rec->setObjectName(QString::fromUtf8(
"cb_auto_rec"));
124 gridLayout->addWidget(cb_auto_rec, 1, 1, 1, 1);
126 le_path =
new QLineEdit(tab);
127 le_path->setObjectName(QString::fromUtf8(
"le_path"));
128 le_path->setReadOnly(
false);
130 gridLayout->addWidget(le_path, 3, 1, 1, 1);
132 cb_create_session_path =
new QCheckBox(tab);
133 cb_create_session_path->setObjectName(QString::fromUtf8(
"cb_create_session_path"));
135 gridLayout->addWidget(cb_create_session_path, 2, 1, 1, 1);
137 label_4 =
new QLabel(tab);
138 label_4->setObjectName(QString::fromUtf8(
"label_4"));
140 gridLayout->addWidget(label_4, 2, 0, 1, 1);
142 tabWidget->addTab(tab, QString());
143 tab_2 =
new QWidget();
144 tab_2->setObjectName(QString::fromUtf8(
"tab_2"));
145 gridLayout_4 =
new QGridLayout(tab_2);
146 gridLayout_4->setObjectName(QString::fromUtf8(
"gridLayout_4"));
147 widget =
new QWidget(tab_2);
148 widget->setObjectName(QString::fromUtf8(
"widget"));
149 widget->setMinimumSize(QSize(0, 60));
150 gridLayout_3 =
new QGridLayout(widget);
151 gridLayout_3->setObjectName(QString::fromUtf8(
"gridLayout_3"));
152 btn_default =
new QPushButton(widget);
153 btn_default->setObjectName(QString::fromUtf8(
"btn_default"));
154 btn_default->setText(QString::fromUtf8(
"Default"));
156 gridLayout_3->addWidget(btn_default, 4, 0, 1, 1);
158 label_6 =
new QLabel(widget);
159 label_6->setObjectName(QString::fromUtf8(
"label_6"));
161 gridLayout_3->addWidget(label_6, 0, 0, 1, 3);
163 line =
new QFrame(widget);
164 line->setObjectName(QString::fromUtf8(
"line"));
165 line->setFrameShape(QFrame::HLine);
166 line->setFrameShadow(QFrame::Sunken);
168 gridLayout_3->addWidget(line, 3, 0, 1, 3);
170 button_widget =
new QWidget(widget);
171 button_widget->setObjectName(QString::fromUtf8(
"button_widget"));
172 QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::MinimumExpanding);
173 sizePolicy1.setHorizontalStretch(0);
174 sizePolicy1.setVerticalStretch(0);
175 sizePolicy1.setHeightForWidth(button_widget->sizePolicy().hasHeightForWidth());
176 button_widget->setSizePolicy(sizePolicy1);
178 gridLayout_3->addWidget(button_widget, 2, 0, 1, 3);
180 btn_undo =
new QPushButton(widget);
181 btn_undo->setObjectName(QString::fromUtf8(
"btn_undo"));
182 btn_undo->setText(QString::fromUtf8(
"Undo"));
184 gridLayout_3->addWidget(btn_undo, 4, 2, 1, 1);
187 gridLayout_4->addWidget(widget, 4, 0, 1, 2);
189 le_template =
new QLineEdit(tab_2);
190 le_template->setObjectName(QString::fromUtf8(
"le_template"));
192 gridLayout_4->addWidget(le_template, 0, 1, 1, 1);
194 label_5 =
new QLabel(tab_2);
195 label_5->setObjectName(QString::fromUtf8(
"label_5"));
197 gridLayout_4->addWidget(label_5, 0, 0, 1, 1);
199 line_2 =
new QFrame(tab_2);
200 line_2->setObjectName(QString::fromUtf8(
"line_2"));
201 line_2->setFrameShape(QFrame::HLine);
202 line_2->setFrameShadow(QFrame::Sunken);
204 gridLayout_4->addWidget(line_2, 1, 0, 1, 2);
206 line_3 =
new QFrame(tab_2);
207 line_3->setObjectName(QString::fromUtf8(
"line_3"));
208 line_3->setFrameShape(QFrame::HLine);
209 line_3->setFrameShadow(QFrame::Sunken);
211 gridLayout_4->addWidget(line_3, 3, 0, 1, 2);
213 le_result_path =
new QLineEdit(tab_2);
214 le_result_path->setObjectName(QString::fromUtf8(
"le_result_path"));
216 gridLayout_4->addWidget(le_result_path, 2, 1, 1, 1);
218 label_7 =
new QLabel(tab_2);
219 label_7->setObjectName(QString::fromUtf8(
"label_7"));
221 gridLayout_4->addWidget(label_7, 2, 0, 1, 1);
223 tabWidget->addTab(tab_2, QString());
225 gridLayout_2->addWidget(tabWidget, 0, 0, 1, 1);
227 QWidget::setTabOrder(tabWidget, cb_activate);
228 QWidget::setTabOrder(cb_activate, cb_auto_rec);
229 QWidget::setTabOrder(cb_auto_rec, cb_create_session_path);
230 QWidget::setTabOrder(cb_create_session_path, le_path);
231 QWidget::setTabOrder(le_path, btn_path);
232 QWidget::setTabOrder(btn_path, le_template);
233 QWidget::setTabOrder(le_template, le_result_path);
234 QWidget::setTabOrder(le_result_path, btn_default);
235 QWidget::setTabOrder(btn_default, btn_undo);
239 tabWidget->setCurrentIndex(0);
247 label_2->setText(QCoreApplication::translate(
"GUI_StreamRecorderPreferences",
"Target directory",
nullptr));
248 lab_warning->setText(QString());
249 label_3->setText(QCoreApplication::translate(
"GUI_StreamRecorderPreferences",
"Automatic recording",
nullptr));
250 cb_activate->setText(QString());
251 cb_auto_rec->setText(QString());
252 cb_create_session_path->setText(QString());
253 label_4->setText(QCoreApplication::translate(
"GUI_StreamRecorderPreferences",
"Create session directory",
nullptr));
254 tabWidget->setTabText(tabWidget->indexOf(tab), QCoreApplication::translate(
"GUI_StreamRecorderPreferences",
"General",
nullptr));
255 label_6->setText(QCoreApplication::translate(
"GUI_StreamRecorderPreferences",
"Choose available placeholders",
nullptr));
256 label_5->setText(QCoreApplication::translate(
"GUI_StreamRecorderPreferences",
"Path template",
nullptr));
257 label_7->setText(QCoreApplication::translate(
"GUI_StreamRecorderPreferences",
"Example",
nullptr));
258 tabWidget->setTabText(tabWidget->indexOf(tab_2), QCoreApplication::translate(
"GUI_StreamRecorderPreferences",
"Session Directory",
nullptr));
270 #endif // UI_GUI_STREAMRECORDERPREFERENCES_H