9#ifndef UI_GUI_LIBRARYPREFERENCES_H
10#define UI_GUI_LIBRARYPREFERENCES_H
12#include <QtCore/QVariant>
13#include <QtWidgets/QApplication>
14#include <QtWidgets/QCheckBox>
15#include <QtWidgets/QFrame>
16#include <QtWidgets/QGridLayout>
17#include <QtWidgets/QGroupBox>
18#include <QtWidgets/QLabel>
19#include <QtWidgets/QListView>
20#include <QtWidgets/QPushButton>
21#include <QtWidgets/QRadioButton>
22#include <QtWidgets/QSpacerItem>
23#include <QtWidgets/QTabWidget>
24#include <QtWidgets/QVBoxLayout>
25#include <QtWidgets/QWidget>
32 QGridLayout *gridLayout;
33 QTabWidget *tab_widget;
34 QWidget *tab_libraries;
35 QGridLayout *gridLayout_5;
36 QVBoxLayout *verticalLayout_2;
38 QSpacerItem *verticalSpacer_3;
41 QPushButton *btnDelete;
42 QSpacerItem *verticalSpacer_4;
45 QLabel *labCurrentPath;
46 QWidget *tabPlaylistInteraction;
47 QGridLayout *gridLayout_3;
48 QGroupBox *groupBox_2;
49 QGridLayout *gridLayout_2;
50 QRadioButton *rbDdDoNothing;
51 QRadioButton *rbDdStartIfStopped;
52 QSpacerItem *verticalSpacer_2;
54 QVBoxLayout *verticalLayout;
55 QRadioButton *rbDcDoNothing;
56 QRadioButton *rbDcPlayIfStopped;
57 QRadioButton *rbDcPlayImmediatly;
61 QVBoxLayout *verticalLayout_3;
62 QCheckBox *cbIgnoreArticle;
63 QGridLayout *gridLayout_4;
64 QCheckBox *cbCaseInsensitive;
65 QCheckBox *cbIgnoreSpecialChars;
66 QCheckBox *cbIgnoreAccents;
70 QSpacerItem *verticalSpacer;
72 QGridLayout *gridLayout_6;
73 QCheckBox *cbShowClearSelectionButton;
74 QSpacerItem *verticalSpacer_5;
82 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
83 gridLayout->setVerticalSpacing(20);
85 tab_widget->setObjectName(QString::fromUtf8(
"tab_widget"));
86 tab_widget->setFocusPolicy(Qt::NoFocus);
87 tab_libraries =
new QWidget();
88 tab_libraries->setObjectName(QString::fromUtf8(
"tab_libraries"));
89 gridLayout_5 =
new QGridLayout(tab_libraries);
90 gridLayout_5->setObjectName(QString::fromUtf8(
"gridLayout_5"));
91 verticalLayout_2 =
new QVBoxLayout();
92 verticalLayout_2->setObjectName(QString::fromUtf8(
"verticalLayout_2"));
93 btnUp =
new QPushButton(tab_libraries);
94 btnUp->setObjectName(QString::fromUtf8(
"btnUp"));
95 btnUp->setText(QString::fromUtf8(
"\342\206\221"));
97 verticalLayout_2->addWidget(btnUp);
99 verticalSpacer_3 =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
101 verticalLayout_2->addItem(verticalSpacer_3);
103 btnNew =
new QPushButton(tab_libraries);
104 btnNew->setObjectName(QString::fromUtf8(
"btnNew"));
105 btnNew->setText(QString::fromUtf8(
"New"));
107 verticalLayout_2->addWidget(btnNew);
109 btnEdit =
new QPushButton(tab_libraries);
110 btnEdit->setObjectName(QString::fromUtf8(
"btnEdit"));
111 btnEdit->setText(QString::fromUtf8(
"Edit"));
113 verticalLayout_2->addWidget(btnEdit);
115 btnDelete =
new QPushButton(tab_libraries);
116 btnDelete->setObjectName(QString::fromUtf8(
"btnDelete"));
117 btnDelete->setText(QString::fromUtf8(
"Delete"));
119 verticalLayout_2->addWidget(btnDelete);
121 verticalSpacer_4 =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
123 verticalLayout_2->addItem(verticalSpacer_4);
125 btnDown =
new QPushButton(tab_libraries);
126 btnDown->setObjectName(QString::fromUtf8(
"btnDown"));
127 btnDown->setText(QString::fromUtf8(
"\342\206\223"));
129 verticalLayout_2->addWidget(btnDown);
132 gridLayout_5->addLayout(verticalLayout_2, 2, 1, 1, 1);
134 lvLibs =
new QListView(tab_libraries);
135 lvLibs->setObjectName(QString::fromUtf8(
"lvLibs"));
136 lvLibs->setAlternatingRowColors(
true);
138 gridLayout_5->addWidget(lvLibs, 2, 0, 1, 1);
140 labCurrentPath =
new QLabel(tab_libraries);
141 labCurrentPath->setObjectName(QString::fromUtf8(
"labCurrentPath"));
143 gridLayout_5->addWidget(labCurrentPath, 3, 0, 1, 2);
145 tab_widget->addTab(tab_libraries, QString());
146 tabPlaylistInteraction =
new QWidget();
147 tabPlaylistInteraction->setObjectName(QString::fromUtf8(
"tabPlaylistInteraction"));
148 gridLayout_3 =
new QGridLayout(tabPlaylistInteraction);
149 gridLayout_3->setObjectName(QString::fromUtf8(
"gridLayout_3"));
150 gridLayout_3->setVerticalSpacing(10);
151 gridLayout_3->setContentsMargins(-1, 10, -1, -1);
152 groupBox_2 =
new QGroupBox(tabPlaylistInteraction);
153 groupBox_2->setObjectName(QString::fromUtf8(
"groupBox_2"));
154 gridLayout_2 =
new QGridLayout(groupBox_2);
155 gridLayout_2->setObjectName(QString::fromUtf8(
"gridLayout_2"));
156 rbDdDoNothing =
new QRadioButton(groupBox_2);
157 rbDdDoNothing->setObjectName(QString::fromUtf8(
"rbDdDoNothing"));
159 gridLayout_2->addWidget(rbDdDoNothing, 0, 0, 1, 1);
161 rbDdStartIfStopped =
new QRadioButton(groupBox_2);
162 rbDdStartIfStopped->setObjectName(QString::fromUtf8(
"rbDdStartIfStopped"));
164 gridLayout_2->addWidget(rbDdStartIfStopped, 1, 0, 1, 1);
167 gridLayout_3->addWidget(groupBox_2, 2, 0, 1, 1);
169 verticalSpacer_2 =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
171 gridLayout_3->addItem(verticalSpacer_2, 3, 0, 1, 1);
173 groupBox =
new QGroupBox(tabPlaylistInteraction);
174 groupBox->setObjectName(QString::fromUtf8(
"groupBox"));
175 verticalLayout =
new QVBoxLayout(groupBox);
176 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
177 rbDcDoNothing =
new QRadioButton(groupBox);
178 rbDcDoNothing->setObjectName(QString::fromUtf8(
"rbDcDoNothing"));
180 verticalLayout->addWidget(rbDcDoNothing);
182 rbDcPlayIfStopped =
new QRadioButton(groupBox);
183 rbDcPlayIfStopped->setObjectName(QString::fromUtf8(
"rbDcPlayIfStopped"));
185 verticalLayout->addWidget(rbDcPlayIfStopped);
187 rbDcPlayImmediatly =
new QRadioButton(groupBox);
188 rbDcPlayImmediatly->setObjectName(QString::fromUtf8(
"rbDcPlayImmediatly"));
190 verticalLayout->addWidget(rbDcPlayImmediatly);
192 label =
new QLabel(groupBox);
193 label->setObjectName(QString::fromUtf8(
"label"));
195 verticalLayout->addWidget(label);
198 gridLayout_3->addWidget(groupBox, 0, 0, 1, 1);
200 line =
new QFrame(tabPlaylistInteraction);
201 line->setObjectName(QString::fromUtf8(
"line"));
202 line->setFrameShape(QFrame::HLine);
203 line->setFrameShadow(QFrame::Sunken);
205 gridLayout_3->addWidget(line, 1, 0, 1, 1);
207 tab_widget->addTab(tabPlaylistInteraction, QString());
208 tabSorting =
new QWidget();
209 tabSorting->setObjectName(QString::fromUtf8(
"tabSorting"));
210 verticalLayout_3 =
new QVBoxLayout(tabSorting);
211 verticalLayout_3->setObjectName(QString::fromUtf8(
"verticalLayout_3"));
212 cbIgnoreArticle =
new QCheckBox(tabSorting);
213 cbIgnoreArticle->setObjectName(QString::fromUtf8(
"cbIgnoreArticle"));
215 verticalLayout_3->addWidget(cbIgnoreArticle);
217 gridLayout_4 =
new QGridLayout();
218 gridLayout_4->setObjectName(QString::fromUtf8(
"gridLayout_4"));
219 gridLayout_4->setContentsMargins(0, 0, 0, 0);
220 cbCaseInsensitive =
new QCheckBox(tabSorting);
221 cbCaseInsensitive->setObjectName(QString::fromUtf8(
"cbCaseInsensitive"));
222 cbCaseInsensitive->setText(QString::fromUtf8(
"Case Insensitive"));
224 gridLayout_4->addWidget(cbCaseInsensitive, 0, 0, 1, 1);
226 cbIgnoreSpecialChars =
new QCheckBox(tabSorting);
227 cbIgnoreSpecialChars->setObjectName(QString::fromUtf8(
"cbIgnoreSpecialChars"));
228 cbIgnoreSpecialChars->setText(QString::fromUtf8(
"Ignore special characters"));
230 gridLayout_4->addWidget(cbIgnoreSpecialChars, 1, 0, 1, 1);
232 cbIgnoreAccents =
new QCheckBox(tabSorting);
233 cbIgnoreAccents->setObjectName(QString::fromUtf8(
"cbIgnoreAccents"));
234 cbIgnoreAccents->setText(QString::fromUtf8(
"Ignore accents"));
236 gridLayout_4->addWidget(cbIgnoreAccents, 2, 0, 1, 1);
238 label_2 =
new QLabel(tabSorting);
239 label_2->setObjectName(QString::fromUtf8(
"label_2"));
240 label_2->setText(QString::fromUtf8(
"A \342\206\222 a, a \342\206\222 a"));
242 gridLayout_4->addWidget(label_2, 0, 1, 1, 1);
244 label_3 =
new QLabel(tabSorting);
245 label_3->setObjectName(QString::fromUtf8(
"label_3"));
246#if QT_CONFIG(tooltip)
247 label_3->setToolTip(QString::fromUtf8(
". ' \" & ! $ + * / ( ) = - _ ; : , ? < >[ ] { } @ \342\202\254 white-spaces"));
249 label_3->setText(QString::fromUtf8(
"don't \342\206\222 dont, R&B \342\206\222 RB"));
251 gridLayout_4->addWidget(label_3, 1, 1, 1, 1);
253 label_4 =
new QLabel(tabSorting);
254 label_4->setObjectName(QString::fromUtf8(
"label_4"));
255#if QT_CONFIG(tooltip)
256 label_4->setToolTip(QString::fromUtf8(
"\305\240 \305\222 \305\275 \305\241 \305\223 \305\276 \305\270\302\245 \302\265 \303\200 \303\201 \303\202 \303\203 \303\204 \303\205 \303\206 \303\207 \303\210 \303\211 \303\212 \303\213 \303\214 \303\215 \303\216 \303\217 \303\220 \303\221 \303\222 \303\223 \303\224 \303\225 \303\226 \303\230 \303\231 \303\232 \303\233 \303\234 \303\235 \303\237 \303\240 \303\241 \303\242 \303\243 \303\244 \303\245 \303\246 \303\247 \303\250 \303\251 \303\252 \303\253 \303\254 \303\255 \303\256 \303\257 \303\260 \303\261 \303\262 \303\263 \303\264 \303\265 \303\266 \303\270 \303\271 \303\272 \303\273 \303\274 \303\275 \303\277"));
258 label_4->setText(QString::fromUtf8(
"\303\251 \342\206\222 e, \303\266 \342\206\222 o"));
260 gridLayout_4->addWidget(label_4, 2, 1, 1, 1);
263 verticalLayout_3->addLayout(gridLayout_4);
265 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
267 verticalLayout_3->addItem(verticalSpacer);
269 tab_widget->addTab(tabSorting, QString());
270 tabOther =
new QWidget();
271 tabOther->setObjectName(QString::fromUtf8(
"tabOther"));
272 gridLayout_6 =
new QGridLayout(tabOther);
273 gridLayout_6->setObjectName(QString::fromUtf8(
"gridLayout_6"));
274 cbShowClearSelectionButton =
new QCheckBox(tabOther);
275 cbShowClearSelectionButton->setObjectName(QString::fromUtf8(
"cbShowClearSelectionButton"));
277 gridLayout_6->addWidget(cbShowClearSelectionButton, 0, 0, 1, 1);
279 verticalSpacer_5 =
new QSpacerItem(20, 606, QSizePolicy::Minimum, QSizePolicy::Expanding);
281 gridLayout_6->addItem(verticalSpacer_5, 1, 0, 1, 1);
283 tab_widget->addTab(tabOther, QString());
285 gridLayout->addWidget(tab_widget, 0, 0, 1, 1);
287 QWidget::setTabOrder(tab_widget, lvLibs);
288 QWidget::setTabOrder(lvLibs, btnUp);
289 QWidget::setTabOrder(btnUp, btnNew);
290 QWidget::setTabOrder(btnNew, btnEdit);
291 QWidget::setTabOrder(btnEdit, btnDelete);
292 QWidget::setTabOrder(btnDelete, btnDown);
293 QWidget::setTabOrder(btnDown, rbDcDoNothing);
294 QWidget::setTabOrder(rbDcDoNothing, rbDcPlayIfStopped);
295 QWidget::setTabOrder(rbDcPlayIfStopped, rbDcPlayImmediatly);
296 QWidget::setTabOrder(rbDcPlayImmediatly, rbDdDoNothing);
297 QWidget::setTabOrder(rbDdDoNothing, rbDdStartIfStopped);
298 QWidget::setTabOrder(rbDdStartIfStopped, cbShowClearSelectionButton);
302 tab_widget->setCurrentIndex(2);
310 labCurrentPath->setText(QString());
311 tab_widget->setTabText(tab_widget->indexOf(tab_libraries), QCoreApplication::translate(
"GUI_LibraryPreferences",
"Libraries",
nullptr));
312 groupBox_2->setTitle(QCoreApplication::translate(
"GUI_LibraryPreferences",
"When drag and drop into playlist ",
nullptr));
313 rbDdDoNothing->setText(QCoreApplication::translate(
"GUI_LibraryPreferences",
"do nothing (default)",
nullptr));
314 rbDdStartIfStopped->setText(QCoreApplication::translate(
"GUI_LibraryPreferences",
"start if stopped and playlist is empty",
nullptr));
315 groupBox->setTitle(QCoreApplication::translate(
"GUI_LibraryPreferences",
"On double click, create playlist and",
nullptr));
316 rbDcDoNothing->setText(QCoreApplication::translate(
"GUI_LibraryPreferences",
"do nothing (default)",
nullptr));
317 rbDcPlayIfStopped->setText(QCoreApplication::translate(
"GUI_LibraryPreferences",
"start playback if stopped",
nullptr));
318 rbDcPlayImmediatly->setText(QCoreApplication::translate(
"GUI_LibraryPreferences",
"start playback immediately",
nullptr));
319 label->setText(QCoreApplication::translate(
"GUI_LibraryPreferences",
"(this is ignored when playlist is in 'append mode')",
nullptr));
320 tab_widget->setTabText(tab_widget->indexOf(tabPlaylistInteraction), QCoreApplication::translate(
"GUI_LibraryPreferences",
"Library-Playlist Interaction",
nullptr));
321 cbIgnoreArticle->setText(QCoreApplication::translate(
"GUI_LibraryPreferences",
"Ignore English article \"The\" in artist name",
nullptr));
322 tab_widget->setTabText(tab_widget->indexOf(tabSorting), QCoreApplication::translate(
"GUI_LibraryPreferences",
"Sorting",
nullptr));
323 cbShowClearSelectionButton->setText(QCoreApplication::translate(
"GUI_LibraryPreferences",
"Show \"Clear selection\" buttons",
nullptr));
324 tab_widget->setTabText(tab_widget->indexOf(tabOther), QCoreApplication::translate(
"GUI_LibraryPreferences",
"Other",
nullptr));
Definition: GUI_LibraryPreferences.h:36
Definition: ui_GUI_LibraryPreferences.h:331
Definition: ui_GUI_LibraryPreferences.h:30