33 QGridLayout *gridLayout;
34 QTabWidget *tab_widget;
35 QWidget *tab_libraries;
36 QGridLayout *gridLayout_5;
37 QVBoxLayout *verticalLayout_2;
39 QSpacerItem *verticalSpacer_3;
42 QPushButton *btnDelete;
43 QSpacerItem *verticalSpacer_4;
46 QLabel *labCurrentPath;
47 QWidget *tabPlaylistInteraction;
48 QGridLayout *gridLayout_3;
49 QGroupBox *groupBox_2;
50 QGridLayout *gridLayout_2;
51 QRadioButton *rbDdDoNothing;
52 QRadioButton *rbDdStartIfStopped;
53 QSpacerItem *verticalSpacer_2;
55 QVBoxLayout *verticalLayout;
56 QRadioButton *rbDcDoNothing;
57 QRadioButton *rbDcPlayIfStopped;
58 QRadioButton *rbDcPlayImmediatly;
60 QCheckBox *cbStartRandomIfShuffle;
63 QVBoxLayout *verticalLayout_3;
64 QCheckBox *cbIgnoreArticle;
65 QGridLayout *gridLayout_4;
66 QCheckBox *cbCaseInsensitive;
67 QCheckBox *cbIgnoreSpecialChars;
68 QCheckBox *cbIgnoreAccents;
72 QSpacerItem *verticalSpacer;
74 QGridLayout *gridLayout_6;
75 QSpacerItem *verticalSpacer_5;
76 QCheckBox *cbShowClearSelectionButton;
77 QGroupBox *gbCoverView;
78 QGridLayout *gridLayout_7;
79 QSpinBox *sbScrollSpeed;
81 QPushButton *btnScrollspeedDefault;
89 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
90 gridLayout->setVerticalSpacing(20);
92 tab_widget->setObjectName(QString::fromUtf8(
"tab_widget"));
93 tab_widget->setFocusPolicy(Qt::NoFocus);
94 tab_libraries =
new QWidget();
95 tab_libraries->setObjectName(QString::fromUtf8(
"tab_libraries"));
96 gridLayout_5 =
new QGridLayout(tab_libraries);
97 gridLayout_5->setObjectName(QString::fromUtf8(
"gridLayout_5"));
98 verticalLayout_2 =
new QVBoxLayout();
99 verticalLayout_2->setObjectName(QString::fromUtf8(
"verticalLayout_2"));
100 btnUp =
new QPushButton(tab_libraries);
101 btnUp->setObjectName(QString::fromUtf8(
"btnUp"));
102 btnUp->setText(QString::fromUtf8(
"\342\206\221"));
104 verticalLayout_2->addWidget(btnUp);
106 verticalSpacer_3 =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
108 verticalLayout_2->addItem(verticalSpacer_3);
110 btnNew =
new QPushButton(tab_libraries);
111 btnNew->setObjectName(QString::fromUtf8(
"btnNew"));
112 btnNew->setText(QString::fromUtf8(
"New"));
114 verticalLayout_2->addWidget(btnNew);
116 btnEdit =
new QPushButton(tab_libraries);
117 btnEdit->setObjectName(QString::fromUtf8(
"btnEdit"));
118 btnEdit->setText(QString::fromUtf8(
"Edit"));
120 verticalLayout_2->addWidget(btnEdit);
122 btnDelete =
new QPushButton(tab_libraries);
123 btnDelete->setObjectName(QString::fromUtf8(
"btnDelete"));
124 btnDelete->setText(QString::fromUtf8(
"Delete"));
126 verticalLayout_2->addWidget(btnDelete);
128 verticalSpacer_4 =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
130 verticalLayout_2->addItem(verticalSpacer_4);
132 btnDown =
new QPushButton(tab_libraries);
133 btnDown->setObjectName(QString::fromUtf8(
"btnDown"));
134 btnDown->setText(QString::fromUtf8(
"\342\206\223"));
136 verticalLayout_2->addWidget(btnDown);
139 gridLayout_5->addLayout(verticalLayout_2, 2, 1, 1, 1);
141 lvLibs =
new QListView(tab_libraries);
142 lvLibs->setObjectName(QString::fromUtf8(
"lvLibs"));
143 lvLibs->setAlternatingRowColors(
true);
145 gridLayout_5->addWidget(lvLibs, 2, 0, 1, 1);
147 labCurrentPath =
new QLabel(tab_libraries);
148 labCurrentPath->setObjectName(QString::fromUtf8(
"labCurrentPath"));
150 gridLayout_5->addWidget(labCurrentPath, 3, 0, 1, 2);
152 tab_widget->addTab(tab_libraries, QString());
153 tabPlaylistInteraction =
new QWidget();
154 tabPlaylistInteraction->setObjectName(QString::fromUtf8(
"tabPlaylistInteraction"));
155 gridLayout_3 =
new QGridLayout(tabPlaylistInteraction);
156 gridLayout_3->setObjectName(QString::fromUtf8(
"gridLayout_3"));
157 gridLayout_3->setVerticalSpacing(10);
158 gridLayout_3->setContentsMargins(-1, 10, -1, -1);
159 groupBox_2 =
new QGroupBox(tabPlaylistInteraction);
160 groupBox_2->setObjectName(QString::fromUtf8(
"groupBox_2"));
161 gridLayout_2 =
new QGridLayout(groupBox_2);
162 gridLayout_2->setObjectName(QString::fromUtf8(
"gridLayout_2"));
163 rbDdDoNothing =
new QRadioButton(groupBox_2);
164 rbDdDoNothing->setObjectName(QString::fromUtf8(
"rbDdDoNothing"));
166 gridLayout_2->addWidget(rbDdDoNothing, 0, 0, 1, 1);
168 rbDdStartIfStopped =
new QRadioButton(groupBox_2);
169 rbDdStartIfStopped->setObjectName(QString::fromUtf8(
"rbDdStartIfStopped"));
171 gridLayout_2->addWidget(rbDdStartIfStopped, 1, 0, 1, 1);
174 gridLayout_3->addWidget(groupBox_2, 2, 0, 1, 1);
176 verticalSpacer_2 =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
178 gridLayout_3->addItem(verticalSpacer_2, 3, 0, 1, 1);
180 groupBox =
new QGroupBox(tabPlaylistInteraction);
181 groupBox->setObjectName(QString::fromUtf8(
"groupBox"));
182 verticalLayout =
new QVBoxLayout(groupBox);
183 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
184 rbDcDoNothing =
new QRadioButton(groupBox);
185 rbDcDoNothing->setObjectName(QString::fromUtf8(
"rbDcDoNothing"));
187 verticalLayout->addWidget(rbDcDoNothing);
189 rbDcPlayIfStopped =
new QRadioButton(groupBox);
190 rbDcPlayIfStopped->setObjectName(QString::fromUtf8(
"rbDcPlayIfStopped"));
192 verticalLayout->addWidget(rbDcPlayIfStopped);
194 rbDcPlayImmediatly =
new QRadioButton(groupBox);
195 rbDcPlayImmediatly->setObjectName(QString::fromUtf8(
"rbDcPlayImmediatly"));
197 verticalLayout->addWidget(rbDcPlayImmediatly);
199 label =
new QLabel(groupBox);
200 label->setObjectName(QString::fromUtf8(
"label"));
202 verticalLayout->addWidget(label);
204 cbStartRandomIfShuffle =
new QCheckBox(groupBox);
205 cbStartRandomIfShuffle->setObjectName(QString::fromUtf8(
"cbStartRandomIfShuffle"));
207 verticalLayout->addWidget(cbStartRandomIfShuffle);
210 gridLayout_3->addWidget(groupBox, 0, 0, 1, 1);
212 line =
new QFrame(tabPlaylistInteraction);
213 line->setObjectName(QString::fromUtf8(
"line"));
214 line->setFrameShape(QFrame::HLine);
215 line->setFrameShadow(QFrame::Sunken);
217 gridLayout_3->addWidget(line, 1, 0, 1, 1);
219 tab_widget->addTab(tabPlaylistInteraction, QString());
220 tabSorting =
new QWidget();
221 tabSorting->setObjectName(QString::fromUtf8(
"tabSorting"));
222 verticalLayout_3 =
new QVBoxLayout(tabSorting);
223 verticalLayout_3->setObjectName(QString::fromUtf8(
"verticalLayout_3"));
224 cbIgnoreArticle =
new QCheckBox(tabSorting);
225 cbIgnoreArticle->setObjectName(QString::fromUtf8(
"cbIgnoreArticle"));
227 verticalLayout_3->addWidget(cbIgnoreArticle);
229 gridLayout_4 =
new QGridLayout();
230 gridLayout_4->setObjectName(QString::fromUtf8(
"gridLayout_4"));
231 gridLayout_4->setContentsMargins(0, 0, 0, 0);
232 cbCaseInsensitive =
new QCheckBox(tabSorting);
233 cbCaseInsensitive->setObjectName(QString::fromUtf8(
"cbCaseInsensitive"));
234 cbCaseInsensitive->setText(QString::fromUtf8(
"Case Insensitive"));
236 gridLayout_4->addWidget(cbCaseInsensitive, 0, 0, 1, 1);
238 cbIgnoreSpecialChars =
new QCheckBox(tabSorting);
239 cbIgnoreSpecialChars->setObjectName(QString::fromUtf8(
"cbIgnoreSpecialChars"));
240 cbIgnoreSpecialChars->setText(QString::fromUtf8(
"Ignore special characters"));
242 gridLayout_4->addWidget(cbIgnoreSpecialChars, 1, 0, 1, 1);
244 cbIgnoreAccents =
new QCheckBox(tabSorting);
245 cbIgnoreAccents->setObjectName(QString::fromUtf8(
"cbIgnoreAccents"));
246 cbIgnoreAccents->setText(QString::fromUtf8(
"Ignore accents"));
248 gridLayout_4->addWidget(cbIgnoreAccents, 2, 0, 1, 1);
250 label_2 =
new QLabel(tabSorting);
251 label_2->setObjectName(QString::fromUtf8(
"label_2"));
252 label_2->setText(QString::fromUtf8(
"A \342\206\222 a, a \342\206\222 a"));
254 gridLayout_4->addWidget(label_2, 0, 1, 1, 1);
256 label_3 =
new QLabel(tabSorting);
257 label_3->setObjectName(QString::fromUtf8(
"label_3"));
258#if QT_CONFIG(tooltip)
259 label_3->setToolTip(QString::fromUtf8(
". ' \" & ! $ + * / ( ) = - _ ; : , ? < >[ ] { } @ \342\202\254 white-spaces"));
261 label_3->setText(QString::fromUtf8(
"don't \342\206\222 dont, R&B \342\206\222 RB"));
263 gridLayout_4->addWidget(label_3, 1, 1, 1, 1);
265 label_4 =
new QLabel(tabSorting);
266 label_4->setObjectName(QString::fromUtf8(
"label_4"));
267#if QT_CONFIG(tooltip)
268 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"));
270 label_4->setText(QString::fromUtf8(
"\303\251 \342\206\222 e, \303\266 \342\206\222 o"));
272 gridLayout_4->addWidget(label_4, 2, 1, 1, 1);
275 verticalLayout_3->addLayout(gridLayout_4);
277 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
279 verticalLayout_3->addItem(verticalSpacer);
281 tab_widget->addTab(tabSorting, QString());
282 tabOther =
new QWidget();
283 tabOther->setObjectName(QString::fromUtf8(
"tabOther"));
284 gridLayout_6 =
new QGridLayout(tabOther);
285 gridLayout_6->setObjectName(QString::fromUtf8(
"gridLayout_6"));
286 verticalSpacer_5 =
new QSpacerItem(20, 606, QSizePolicy::Minimum, QSizePolicy::Expanding);
288 gridLayout_6->addItem(verticalSpacer_5, 2, 0, 1, 1);
290 cbShowClearSelectionButton =
new QCheckBox(tabOther);
291 cbShowClearSelectionButton->setObjectName(QString::fromUtf8(
"cbShowClearSelectionButton"));
293 gridLayout_6->addWidget(cbShowClearSelectionButton, 0, 0, 1, 1);
295 gbCoverView =
new QGroupBox(tabOther);
296 gbCoverView->setObjectName(QString::fromUtf8(
"gbCoverView"));
297 gbCoverView->setTitle(QString::fromUtf8(
"Cover view"));
298 gridLayout_7 =
new QGridLayout(gbCoverView);
299 gridLayout_7->setObjectName(QString::fromUtf8(
"gridLayout_7"));
300 sbScrollSpeed =
new QSpinBox(gbCoverView);
301 sbScrollSpeed->setObjectName(QString::fromUtf8(
"sbScrollSpeed"));
302 sbScrollSpeed->setSuffix(QString::fromUtf8(
""));
303 sbScrollSpeed->setMinimum(-1);
304 sbScrollSpeed->setMaximum(200);
305 sbScrollSpeed->setSingleStep(1);
306 sbScrollSpeed->setValue(-1);
308 gridLayout_7->addWidget(sbScrollSpeed, 0, 1, 1, 1);
310 label_5 =
new QLabel(gbCoverView);
311 label_5->setObjectName(QString::fromUtf8(
"label_5"));
313 gridLayout_7->addWidget(label_5, 0, 0, 1, 1);
315 btnScrollspeedDefault =
new QPushButton(gbCoverView);
316 btnScrollspeedDefault->setObjectName(QString::fromUtf8(
"btnScrollspeedDefault"));
317 QSizePolicy sizePolicy(QSizePolicy::Maximum, QSizePolicy::Fixed);
318 sizePolicy.setHorizontalStretch(0);
319 sizePolicy.setVerticalStretch(0);
320 sizePolicy.setHeightForWidth(btnScrollspeedDefault->sizePolicy().hasHeightForWidth());
321 btnScrollspeedDefault->setSizePolicy(sizePolicy);
322 btnScrollspeedDefault->setText(QString::fromUtf8(
"Default"));
324 gridLayout_7->addWidget(btnScrollspeedDefault, 0, 2, 1, 1);
327 gridLayout_6->addWidget(gbCoverView, 1, 0, 1, 1);
329 tab_widget->addTab(tabOther, QString());
331 gridLayout->addWidget(tab_widget, 0, 0, 1, 1);
333 QWidget::setTabOrder(tab_widget, lvLibs);
334 QWidget::setTabOrder(lvLibs, btnUp);
335 QWidget::setTabOrder(btnUp, btnNew);
336 QWidget::setTabOrder(btnNew, btnEdit);
337 QWidget::setTabOrder(btnEdit, btnDelete);
338 QWidget::setTabOrder(btnDelete, btnDown);
339 QWidget::setTabOrder(btnDown, rbDcDoNothing);
340 QWidget::setTabOrder(rbDcDoNothing, rbDcPlayIfStopped);
341 QWidget::setTabOrder(rbDcPlayIfStopped, rbDcPlayImmediatly);
342 QWidget::setTabOrder(rbDcPlayImmediatly, rbDdDoNothing);
343 QWidget::setTabOrder(rbDdDoNothing, rbDdStartIfStopped);
344 QWidget::setTabOrder(rbDdStartIfStopped, cbShowClearSelectionButton);
348 tab_widget->setCurrentIndex(3);
356 labCurrentPath->setText(QString());
357 tab_widget->setTabText(tab_widget->indexOf(tab_libraries), QCoreApplication::translate(
"GUI_LibraryPreferences",
"Libraries",
nullptr));
358 groupBox_2->setTitle(QCoreApplication::translate(
"GUI_LibraryPreferences",
"When drag and drop into playlist ",
nullptr));
359 rbDdDoNothing->setText(QCoreApplication::translate(
"GUI_LibraryPreferences",
"do nothing (default)",
nullptr));
360 rbDdStartIfStopped->setText(QCoreApplication::translate(
"GUI_LibraryPreferences",
"start if stopped and playlist is empty",
nullptr));
361 groupBox->setTitle(QCoreApplication::translate(
"GUI_LibraryPreferences",
"On double click, create playlist and",
nullptr));
362 rbDcDoNothing->setText(QCoreApplication::translate(
"GUI_LibraryPreferences",
"do nothing (default)",
nullptr));
363 rbDcPlayIfStopped->setText(QCoreApplication::translate(
"GUI_LibraryPreferences",
"start playback if stopped",
nullptr));
364 rbDcPlayImmediatly->setText(QCoreApplication::translate(
"GUI_LibraryPreferences",
"start playback immediately",
nullptr));
365 label->setText(QCoreApplication::translate(
"GUI_LibraryPreferences",
"(this is ignored when playlist is in 'append mode')",
nullptr));
366 cbStartRandomIfShuffle->setText(QCoreApplication::translate(
"GUI_LibraryPreferences",
"Start playing a random track if shuffle is enabled",
nullptr));
367 tab_widget->setTabText(tab_widget->indexOf(tabPlaylistInteraction), QCoreApplication::translate(
"GUI_LibraryPreferences",
"Library-Playlist Interaction",
nullptr));
368 cbIgnoreArticle->setText(QCoreApplication::translate(
"GUI_LibraryPreferences",
"Ignore English article \"The\" in artist name",
nullptr));
369 tab_widget->setTabText(tab_widget->indexOf(tabSorting), QCoreApplication::translate(
"GUI_LibraryPreferences",
"Sorting",
nullptr));
370 cbShowClearSelectionButton->setText(QCoreApplication::translate(
"GUI_LibraryPreferences",
"Show \"Clear selection\" buttons",
nullptr));
371 label_5->setText(QCoreApplication::translate(
"GUI_LibraryPreferences",
"Scroll speed",
nullptr));
372 tab_widget->setTabText(tab_widget->indexOf(tabOther), QCoreApplication::translate(
"GUI_LibraryPreferences",
"Other",
nullptr));