9 #ifndef UI_CONFIGDIALOG_H 10 #define UI_CONFIGDIALOG_H 12 #include <QtCore/QVariant> 13 #include <QtGui/QAction> 14 #include <QtGui/QApplication> 15 #include <QtGui/QButtonGroup> 16 #include <QtGui/QCheckBox> 17 #include <QtGui/QComboBox> 18 #include <QtGui/QDialog> 19 #include <QtGui/QDialogButtonBox> 20 #include <QtGui/QDoubleSpinBox> 21 #include <QtGui/QGridLayout> 22 #include <QtGui/QGroupBox> 23 #include <QtGui/QHBoxLayout> 24 #include <QtGui/QHeaderView> 25 #include <QtGui/QLabel> 26 #include <QtGui/QLineEdit> 27 #include <QtGui/QListWidget> 28 #include <QtGui/QPushButton> 29 #include <QtGui/QSpacerItem> 30 #include <QtGui/QSpinBox> 31 #include <QtGui/QSplitter> 32 #include <QtGui/QStackedWidget> 33 #include <QtGui/QToolButton> 34 #include <QtGui/QTreeWidget> 35 #include <QtGui/QVBoxLayout> 36 #include <QtGui/QWidget> 43 QVBoxLayout *verticalLayout_2;
45 QListWidget *contentsWidget;
46 QStackedWidget *stackedWidget;
48 QVBoxLayout *verticalLayout;
49 QGroupBox *groupBox_3;
50 QGridLayout *gridLayout;
51 QCheckBox *metaDataCheckBox;
52 QCheckBox *underscoresCheckBox;
53 QCheckBox *per20CheckBox;
55 QLineEdit *groupLineEdit;
56 QToolButton *groupButton;
57 QCheckBox *plMetaDataCheckBox;
58 QGroupBox *groupBox_2;
59 QGridLayout *gridLayout_20;
61 QLineEdit *dirRestrictLineEdit;
63 QLineEdit *dirExcludeLineEdit;
64 QGroupBox *groupBox_4;
65 QVBoxLayout *verticalLayout_4;
66 QCheckBox *autoSavePlayListCheckBox;
67 QCheckBox *clearPrevPLCheckBox;
68 QSpacerItem *verticalSpacer;
70 QGridLayout *gridLayout1;
71 QPushButton *preferencesButton;
72 QPushButton *informationButton;
73 QSpacerItem *spacerItem;
74 QTreeWidget *treeWidget;
76 QVBoxLayout *verticalLayout_5;
78 QHBoxLayout *horizontalLayout;
80 QComboBox *langComboBox;
81 QSpacerItem *horizontalSpacer_2;
82 QGroupBox *groupBox_6;
83 QGridLayout *gridLayout_70;
84 QCheckBox *continuePlaybackCheckBox;
85 QCheckBox *byContentCheckBox;
86 QCheckBox *defaultPlayListCheckBox;
87 QLineEdit *defaultPlayListLineEdit;
88 QGroupBox *groupBox_9;
89 QGridLayout *gridLayout_6;
90 QCheckBox *useCoverFilesCheckBox;
92 QLineEdit *coverIncludeLineEdit;
94 QLineEdit *coverExcludeLineEdit;
95 QHBoxLayout *horizontalLayout_4;
97 QSpinBox *coverDepthSpinBox;
98 QSpacerItem *horizontalSpacer_3;
99 QGroupBox *groupBox_7;
100 QVBoxLayout *verticalLayout_3;
101 QCheckBox *clipboardCheckBox;
102 QSpacerItem *verticalSpacer_3;
104 QVBoxLayout *vboxLayout;
105 QGroupBox *groupBox_5;
106 QGridLayout *gridLayout2;
107 QCheckBox *enableProxyCheckBox;
109 QLineEdit *hostLineEdit;
111 QLineEdit *portLineEdit;
112 QCheckBox *authProxyCheckBox;
114 QLineEdit *proxyUserLineEdit;
116 QLineEdit *proxyPasswLineEdit;
117 QSpacerItem *spacerItem1;
119 QVBoxLayout *verticalLayout_7;
120 QGroupBox *groupBox_10;
121 QGridLayout *gridLayout_7;
123 QComboBox *replayGainModeComboBox;
125 QDoubleSpinBox *preampDoubleSpinBox;
128 QDoubleSpinBox *defaultGainDoubleSpinBox;
130 QSpacerItem *horizontalSpacer_4;
131 QCheckBox *clippingCheckBox;
132 QGroupBox *groupBox_11;
133 QGridLayout *gridLayout3;
135 QCheckBox *ditheringCheckBox;
137 QSpinBox *bufferSizeSpinBox;
138 QCheckBox *softVolumeCheckBox;
139 QComboBox *bitDepthComboBox;
141 QSpinBox *volumeStepSpinBox;
142 QSpacerItem *horizontalSpacer_6;
143 QSpacerItem *verticalSpacer_2;
144 QDialogButtonBox *buttonBox;
149 ConfigDialog->setObjectName(QString::fromUtf8(
"ConfigDialog"));
152 verticalLayout_2->setObjectName(QString::fromUtf8(
"verticalLayout_2"));
153 verticalLayout_2->setContentsMargins(6, -1, 6, 6);
155 splitter->setObjectName(QString::fromUtf8(
"splitter"));
156 splitter->setOrientation(Qt::Horizontal);
157 contentsWidget =
new QListWidget(splitter);
159 icon.addFile(QString::fromUtf8(
":/playlist.png"), QSize(), QIcon::Normal, QIcon::Off);
160 QListWidgetItem *__qlistwidgetitem =
new QListWidgetItem(contentsWidget);
161 __qlistwidgetitem->setIcon(icon);
163 icon1.addFile(QString::fromUtf8(
":/plugins.png"), QSize(), QIcon::Normal, QIcon::Off);
164 QListWidgetItem *__qlistwidgetitem1 =
new QListWidgetItem(contentsWidget);
165 __qlistwidgetitem1->setIcon(icon1);
167 icon2.addFile(QString::fromUtf8(
":/advanced.png"), QSize(), QIcon::Normal, QIcon::Off);
168 QListWidgetItem *__qlistwidgetitem2 =
new QListWidgetItem(contentsWidget);
169 __qlistwidgetitem2->setIcon(icon2);
171 icon3.addFile(QString::fromUtf8(
":/network.png"), QSize(), QIcon::Normal, QIcon::Off);
172 QListWidgetItem *__qlistwidgetitem3 =
new QListWidgetItem(contentsWidget);
173 __qlistwidgetitem3->setIcon(icon3);
175 icon4.addFile(QString::fromUtf8(
":/replaygain.png"), QSize(), QIcon::Normal, QIcon::Off);
176 QListWidgetItem *__qlistwidgetitem4 =
new QListWidgetItem(contentsWidget);
177 __qlistwidgetitem4->setIcon(icon4);
178 contentsWidget->setObjectName(QString::fromUtf8(
"contentsWidget"));
179 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
180 sizePolicy.setHorizontalStretch(0);
181 sizePolicy.setVerticalStretch(0);
182 sizePolicy.setHeightForWidth(contentsWidget->sizePolicy().hasHeightForWidth());
183 contentsWidget->setSizePolicy(sizePolicy);
184 contentsWidget->setSelectionBehavior(QAbstractItemView::SelectRows);
185 contentsWidget->setIconSize(QSize(38, 38));
186 contentsWidget->setSpacing(2);
187 contentsWidget->setSelectionRectVisible(
false);
188 splitter->addWidget(contentsWidget);
189 stackedWidget =
new QStackedWidget(splitter);
190 stackedWidget->setObjectName(QString::fromUtf8(
"stackedWidget"));
191 QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Preferred);
192 sizePolicy1.setHorizontalStretch(0);
193 sizePolicy1.setVerticalStretch(0);
194 sizePolicy1.setHeightForWidth(stackedWidget->sizePolicy().hasHeightForWidth());
195 stackedWidget->setSizePolicy(sizePolicy1);
196 stackedWidget->setFrameShape(QFrame::NoFrame);
197 stackedWidget->setFrameShadow(QFrame::Raised);
198 page =
new QWidget();
199 page->setObjectName(QString::fromUtf8(
"page"));
200 verticalLayout =
new QVBoxLayout(page);
201 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
202 groupBox_3 =
new QGroupBox(page);
203 groupBox_3->setObjectName(QString::fromUtf8(
"groupBox_3"));
204 gridLayout =
new QGridLayout(groupBox_3);
205 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
206 metaDataCheckBox =
new QCheckBox(groupBox_3);
207 metaDataCheckBox->setObjectName(QString::fromUtf8(
"metaDataCheckBox"));
209 gridLayout->addWidget(metaDataCheckBox, 0, 0, 1, 2);
211 underscoresCheckBox =
new QCheckBox(groupBox_3);
212 underscoresCheckBox->setObjectName(QString::fromUtf8(
"underscoresCheckBox"));
214 gridLayout->addWidget(underscoresCheckBox, 2, 0, 1, 2);
216 per20CheckBox =
new QCheckBox(groupBox_3);
217 per20CheckBox->setObjectName(QString::fromUtf8(
"per20CheckBox"));
219 gridLayout->addWidget(per20CheckBox, 3, 0, 1, 2);
221 label_3 =
new QLabel(groupBox_3);
222 label_3->setObjectName(QString::fromUtf8(
"label_3"));
224 gridLayout->addWidget(label_3, 4, 0, 1, 1);
226 groupLineEdit =
new QLineEdit(groupBox_3);
227 groupLineEdit->setObjectName(QString::fromUtf8(
"groupLineEdit"));
229 gridLayout->addWidget(groupLineEdit, 4, 1, 1, 1);
231 groupButton =
new QToolButton(groupBox_3);
232 groupButton->setObjectName(QString::fromUtf8(
"groupButton"));
234 gridLayout->addWidget(groupButton, 4, 2, 1, 1);
236 plMetaDataCheckBox =
new QCheckBox(groupBox_3);
237 plMetaDataCheckBox->setObjectName(QString::fromUtf8(
"plMetaDataCheckBox"));
238 plMetaDataCheckBox->setEnabled(
false);
240 gridLayout->addWidget(plMetaDataCheckBox, 1, 0, 1, 3);
243 verticalLayout->addWidget(groupBox_3);
245 groupBox_2 =
new QGroupBox(page);
246 groupBox_2->setObjectName(QString::fromUtf8(
"groupBox_2"));
247 gridLayout_20 =
new QGridLayout(groupBox_2);
248 gridLayout_20->setObjectName(QString::fromUtf8(
"gridLayout_20"));
249 label =
new QLabel(groupBox_2);
250 label->setObjectName(QString::fromUtf8(
"label"));
252 gridLayout_20->addWidget(label, 0, 0, 1, 1);
254 dirRestrictLineEdit =
new QLineEdit(groupBox_2);
255 dirRestrictLineEdit->setObjectName(QString::fromUtf8(
"dirRestrictLineEdit"));
257 gridLayout_20->addWidget(dirRestrictLineEdit, 0, 1, 1, 1);
259 label_2 =
new QLabel(groupBox_2);
260 label_2->setObjectName(QString::fromUtf8(
"label_2"));
262 gridLayout_20->addWidget(label_2, 1, 0, 1, 1);
264 dirExcludeLineEdit =
new QLineEdit(groupBox_2);
265 dirExcludeLineEdit->setObjectName(QString::fromUtf8(
"dirExcludeLineEdit"));
267 gridLayout_20->addWidget(dirExcludeLineEdit, 1, 1, 1, 1);
270 verticalLayout->addWidget(groupBox_2);
272 groupBox_4 =
new QGroupBox(page);
273 groupBox_4->setObjectName(QString::fromUtf8(
"groupBox_4"));
274 verticalLayout_4 =
new QVBoxLayout(groupBox_4);
275 verticalLayout_4->setObjectName(QString::fromUtf8(
"verticalLayout_4"));
276 autoSavePlayListCheckBox =
new QCheckBox(groupBox_4);
277 autoSavePlayListCheckBox->setObjectName(QString::fromUtf8(
"autoSavePlayListCheckBox"));
279 verticalLayout_4->addWidget(autoSavePlayListCheckBox);
281 clearPrevPLCheckBox =
new QCheckBox(groupBox_4);
282 clearPrevPLCheckBox->setObjectName(QString::fromUtf8(
"clearPrevPLCheckBox"));
284 verticalLayout_4->addWidget(clearPrevPLCheckBox);
287 verticalLayout->addWidget(groupBox_4);
289 verticalSpacer =
new QSpacerItem(20, 54, QSizePolicy::Minimum, QSizePolicy::Expanding);
291 verticalLayout->addItem(verticalSpacer);
293 stackedWidget->addWidget(page);
294 widget =
new QWidget();
295 widget->setObjectName(QString::fromUtf8(
"widget"));
296 gridLayout1 =
new QGridLayout(widget);
297 gridLayout1->setSpacing(6);
298 gridLayout1->setObjectName(QString::fromUtf8(
"gridLayout1"));
299 gridLayout1->setContentsMargins(9, 5, 0, 0);
300 preferencesButton =
new QPushButton(widget);
301 preferencesButton->setObjectName(QString::fromUtf8(
"preferencesButton"));
302 preferencesButton->setMinimumSize(QSize(0, 0));
304 gridLayout1->addWidget(preferencesButton, 1, 0, 1, 1);
306 informationButton =
new QPushButton(widget);
307 informationButton->setObjectName(QString::fromUtf8(
"informationButton"));
308 informationButton->setMinimumSize(QSize(0, 0));
310 gridLayout1->addWidget(informationButton, 1, 1, 1, 1);
312 spacerItem =
new QSpacerItem(101, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
314 gridLayout1->addItem(spacerItem, 1, 2, 1, 1);
316 treeWidget =
new QTreeWidget(widget);
317 treeWidget->setObjectName(QString::fromUtf8(
"treeWidget"));
318 QSizePolicy sizePolicy2(QSizePolicy::Expanding, QSizePolicy::Ignored);
319 sizePolicy2.setHorizontalStretch(0);
320 sizePolicy2.setVerticalStretch(0);
321 sizePolicy2.setHeightForWidth(treeWidget->sizePolicy().hasHeightForWidth());
322 treeWidget->setSizePolicy(sizePolicy2);
323 treeWidget->setAlternatingRowColors(
true);
324 treeWidget->setSelectionBehavior(QAbstractItemView::SelectRows);
325 treeWidget->setAnimated(
true);
326 treeWidget->setAllColumnsShowFocus(
false);
327 treeWidget->setColumnCount(2);
329 gridLayout1->addWidget(treeWidget, 0, 0, 1, 3);
331 stackedWidget->addWidget(widget);
332 page_2 =
new QWidget();
333 page_2->setObjectName(QString::fromUtf8(
"page_2"));
334 verticalLayout_5 =
new QVBoxLayout(page_2);
335 verticalLayout_5->setObjectName(QString::fromUtf8(
"verticalLayout_5"));
336 groupBox =
new QGroupBox(page_2);
337 groupBox->setObjectName(QString::fromUtf8(
"groupBox"));
338 horizontalLayout =
new QHBoxLayout(groupBox);
339 horizontalLayout->setObjectName(QString::fromUtf8(
"horizontalLayout"));
340 label_10 =
new QLabel(groupBox);
341 label_10->setObjectName(QString::fromUtf8(
"label_10"));
343 horizontalLayout->addWidget(label_10);
345 langComboBox =
new QComboBox(groupBox);
346 langComboBox->setObjectName(QString::fromUtf8(
"langComboBox"));
347 QSizePolicy sizePolicy3(QSizePolicy::Preferred, QSizePolicy::Fixed);
348 sizePolicy3.setHorizontalStretch(0);
349 sizePolicy3.setVerticalStretch(0);
350 sizePolicy3.setHeightForWidth(langComboBox->sizePolicy().hasHeightForWidth());
351 langComboBox->setSizePolicy(sizePolicy3);
353 horizontalLayout->addWidget(langComboBox);
355 horizontalSpacer_2 =
new QSpacerItem(0, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
357 horizontalLayout->addItem(horizontalSpacer_2);
360 verticalLayout_5->addWidget(groupBox);
362 groupBox_6 =
new QGroupBox(page_2);
363 groupBox_6->setObjectName(QString::fromUtf8(
"groupBox_6"));
364 gridLayout_70 =
new QGridLayout(groupBox_6);
365 gridLayout_70->setObjectName(QString::fromUtf8(
"gridLayout_70"));
366 continuePlaybackCheckBox =
new QCheckBox(groupBox_6);
367 continuePlaybackCheckBox->setObjectName(QString::fromUtf8(
"continuePlaybackCheckBox"));
369 gridLayout_70->addWidget(continuePlaybackCheckBox, 0, 0, 1, 2);
371 byContentCheckBox =
new QCheckBox(groupBox_6);
372 byContentCheckBox->setObjectName(QString::fromUtf8(
"byContentCheckBox"));
374 gridLayout_70->addWidget(byContentCheckBox, 1, 0, 1, 2);
376 defaultPlayListCheckBox =
new QCheckBox(groupBox_6);
377 defaultPlayListCheckBox->setObjectName(QString::fromUtf8(
"defaultPlayListCheckBox"));
379 gridLayout_70->addWidget(defaultPlayListCheckBox, 2, 0, 1, 1);
381 defaultPlayListLineEdit =
new QLineEdit(groupBox_6);
382 defaultPlayListLineEdit->setObjectName(QString::fromUtf8(
"defaultPlayListLineEdit"));
383 defaultPlayListLineEdit->setEnabled(
false);
385 gridLayout_70->addWidget(defaultPlayListLineEdit, 2, 1, 1, 1);
388 verticalLayout_5->addWidget(groupBox_6);
390 groupBox_9 =
new QGroupBox(page_2);
391 groupBox_9->setObjectName(QString::fromUtf8(
"groupBox_9"));
392 gridLayout_6 =
new QGridLayout(groupBox_9);
393 gridLayout_6->setObjectName(QString::fromUtf8(
"gridLayout_6"));
394 useCoverFilesCheckBox =
new QCheckBox(groupBox_9);
395 useCoverFilesCheckBox->setObjectName(QString::fromUtf8(
"useCoverFilesCheckBox"));
396 useCoverFilesCheckBox->setChecked(
true);
398 gridLayout_6->addWidget(useCoverFilesCheckBox, 0, 0, 1, 2);
400 label_11 =
new QLabel(groupBox_9);
401 label_11->setObjectName(QString::fromUtf8(
"label_11"));
403 gridLayout_6->addWidget(label_11, 1, 0, 1, 1);
405 coverIncludeLineEdit =
new QLineEdit(groupBox_9);
406 coverIncludeLineEdit->setObjectName(QString::fromUtf8(
"coverIncludeLineEdit"));
408 gridLayout_6->addWidget(coverIncludeLineEdit, 1, 1, 1, 1);
410 label_12 =
new QLabel(groupBox_9);
411 label_12->setObjectName(QString::fromUtf8(
"label_12"));
413 gridLayout_6->addWidget(label_12, 2, 0, 1, 1);
415 coverExcludeLineEdit =
new QLineEdit(groupBox_9);
416 coverExcludeLineEdit->setObjectName(QString::fromUtf8(
"coverExcludeLineEdit"));
418 gridLayout_6->addWidget(coverExcludeLineEdit, 2, 1, 1, 1);
420 horizontalLayout_4 =
new QHBoxLayout();
421 horizontalLayout_4->setObjectName(QString::fromUtf8(
"horizontalLayout_4"));
422 label_13 =
new QLabel(groupBox_9);
423 label_13->setObjectName(QString::fromUtf8(
"label_13"));
425 horizontalLayout_4->addWidget(label_13);
427 coverDepthSpinBox =
new QSpinBox(groupBox_9);
428 coverDepthSpinBox->setObjectName(QString::fromUtf8(
"coverDepthSpinBox"));
429 coverDepthSpinBox->setMaximum(6);
431 horizontalLayout_4->addWidget(coverDepthSpinBox);
433 horizontalSpacer_3 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
435 horizontalLayout_4->addItem(horizontalSpacer_3);
438 gridLayout_6->addLayout(horizontalLayout_4, 3, 0, 1, 2);
441 verticalLayout_5->addWidget(groupBox_9);
443 groupBox_7 =
new QGroupBox(page_2);
444 groupBox_7->setObjectName(QString::fromUtf8(
"groupBox_7"));
445 verticalLayout_3 =
new QVBoxLayout(groupBox_7);
446 verticalLayout_3->setObjectName(QString::fromUtf8(
"verticalLayout_3"));
447 clipboardCheckBox =
new QCheckBox(groupBox_7);
448 clipboardCheckBox->setObjectName(QString::fromUtf8(
"clipboardCheckBox"));
450 verticalLayout_3->addWidget(clipboardCheckBox);
453 verticalLayout_5->addWidget(groupBox_7);
455 verticalSpacer_3 =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
457 verticalLayout_5->addItem(verticalSpacer_3);
459 stackedWidget->addWidget(page_2);
460 network =
new QWidget();
461 network->setObjectName(QString::fromUtf8(
"network"));
462 vboxLayout =
new QVBoxLayout(network);
463 vboxLayout->setObjectName(QString::fromUtf8(
"vboxLayout"));
464 vboxLayout->setContentsMargins(9, 5, 0, 0);
465 groupBox_5 =
new QGroupBox(network);
466 groupBox_5->setObjectName(QString::fromUtf8(
"groupBox_5"));
467 groupBox_5->setFlat(
false);
468 groupBox_5->setCheckable(
false);
469 gridLayout2 =
new QGridLayout(groupBox_5);
470 gridLayout2->setObjectName(QString::fromUtf8(
"gridLayout2"));
471 enableProxyCheckBox =
new QCheckBox(groupBox_5);
472 enableProxyCheckBox->setObjectName(QString::fromUtf8(
"enableProxyCheckBox"));
474 gridLayout2->addWidget(enableProxyCheckBox, 0, 0, 1, 2);
476 label_5 =
new QLabel(groupBox_5);
477 label_5->setObjectName(QString::fromUtf8(
"label_5"));
478 label_5->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
480 gridLayout2->addWidget(label_5, 1, 0, 1, 1);
482 hostLineEdit =
new QLineEdit(groupBox_5);
483 hostLineEdit->setObjectName(QString::fromUtf8(
"hostLineEdit"));
485 gridLayout2->addWidget(hostLineEdit, 1, 1, 1, 1);
487 label_6 =
new QLabel(groupBox_5);
488 label_6->setObjectName(QString::fromUtf8(
"label_6"));
489 label_6->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
491 gridLayout2->addWidget(label_6, 2, 0, 1, 1);
493 portLineEdit =
new QLineEdit(groupBox_5);
494 portLineEdit->setObjectName(QString::fromUtf8(
"portLineEdit"));
496 gridLayout2->addWidget(portLineEdit, 2, 1, 1, 1);
498 authProxyCheckBox =
new QCheckBox(groupBox_5);
499 authProxyCheckBox->setObjectName(QString::fromUtf8(
"authProxyCheckBox"));
501 gridLayout2->addWidget(authProxyCheckBox, 3, 0, 1, 2);
503 label_7 =
new QLabel(groupBox_5);
504 label_7->setObjectName(QString::fromUtf8(
"label_7"));
505 label_7->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
507 gridLayout2->addWidget(label_7, 4, 0, 1, 1);
509 proxyUserLineEdit =
new QLineEdit(groupBox_5);
510 proxyUserLineEdit->setObjectName(QString::fromUtf8(
"proxyUserLineEdit"));
512 gridLayout2->addWidget(proxyUserLineEdit, 4, 1, 1, 1);
514 label_8 =
new QLabel(groupBox_5);
515 label_8->setObjectName(QString::fromUtf8(
"label_8"));
516 label_8->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
518 gridLayout2->addWidget(label_8, 5, 0, 1, 1);
520 proxyPasswLineEdit =
new QLineEdit(groupBox_5);
521 proxyPasswLineEdit->setObjectName(QString::fromUtf8(
"proxyPasswLineEdit"));
522 proxyPasswLineEdit->setEchoMode(QLineEdit::Password);
524 gridLayout2->addWidget(proxyPasswLineEdit, 5, 1, 1, 1);
527 vboxLayout->addWidget(groupBox_5);
529 spacerItem1 =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
531 vboxLayout->addItem(spacerItem1);
533 stackedWidget->addWidget(network);
534 audio =
new QWidget();
535 audio->setObjectName(QString::fromUtf8(
"audio"));
536 verticalLayout_7 =
new QVBoxLayout(audio);
537 verticalLayout_7->setObjectName(QString::fromUtf8(
"verticalLayout_7"));
538 groupBox_10 =
new QGroupBox(audio);
539 groupBox_10->setObjectName(QString::fromUtf8(
"groupBox_10"));
540 gridLayout_7 =
new QGridLayout(groupBox_10);
541 gridLayout_7->setObjectName(QString::fromUtf8(
"gridLayout_7"));
542 label_14 =
new QLabel(groupBox_10);
543 label_14->setObjectName(QString::fromUtf8(
"label_14"));
545 gridLayout_7->addWidget(label_14, 1, 0, 1, 1);
547 replayGainModeComboBox =
new QComboBox(groupBox_10);
548 replayGainModeComboBox->setObjectName(QString::fromUtf8(
"replayGainModeComboBox"));
549 QSizePolicy sizePolicy4(QSizePolicy::Minimum, QSizePolicy::Fixed);
550 sizePolicy4.setHorizontalStretch(0);
551 sizePolicy4.setVerticalStretch(0);
552 sizePolicy4.setHeightForWidth(replayGainModeComboBox->sizePolicy().hasHeightForWidth());
553 replayGainModeComboBox->setSizePolicy(sizePolicy4);
555 gridLayout_7->addWidget(replayGainModeComboBox, 1, 1, 1, 1);
557 label_15 =
new QLabel(groupBox_10);
558 label_15->setObjectName(QString::fromUtf8(
"label_15"));
560 gridLayout_7->addWidget(label_15, 2, 0, 1, 1);
562 preampDoubleSpinBox =
new QDoubleSpinBox(groupBox_10);
563 preampDoubleSpinBox->setObjectName(QString::fromUtf8(
"preampDoubleSpinBox"));
564 sizePolicy4.setHeightForWidth(preampDoubleSpinBox->sizePolicy().hasHeightForWidth());
565 preampDoubleSpinBox->setSizePolicy(sizePolicy4);
566 preampDoubleSpinBox->setMinimum(-15);
567 preampDoubleSpinBox->setMaximum(15);
568 preampDoubleSpinBox->setSingleStep(0.01);
570 gridLayout_7->addWidget(preampDoubleSpinBox, 2, 1, 1, 1);
572 label_17 =
new QLabel(groupBox_10);
573 label_17->setObjectName(QString::fromUtf8(
"label_17"));
574 sizePolicy1.setHeightForWidth(label_17->sizePolicy().hasHeightForWidth());
575 label_17->setSizePolicy(sizePolicy1);
577 gridLayout_7->addWidget(label_17, 2, 2, 1, 1);
579 label_16 =
new QLabel(groupBox_10);
580 label_16->setObjectName(QString::fromUtf8(
"label_16"));
581 sizePolicy.setHeightForWidth(label_16->sizePolicy().hasHeightForWidth());
582 label_16->setSizePolicy(sizePolicy);
584 gridLayout_7->addWidget(label_16, 3, 0, 1, 1);
586 defaultGainDoubleSpinBox =
new QDoubleSpinBox(groupBox_10);
587 defaultGainDoubleSpinBox->setObjectName(QString::fromUtf8(
"defaultGainDoubleSpinBox"));
588 sizePolicy4.setHeightForWidth(defaultGainDoubleSpinBox->sizePolicy().hasHeightForWidth());
589 defaultGainDoubleSpinBox->setSizePolicy(sizePolicy4);
590 defaultGainDoubleSpinBox->setMinimum(-15);
591 defaultGainDoubleSpinBox->setMaximum(15);
592 defaultGainDoubleSpinBox->setSingleStep(0.01);
594 gridLayout_7->addWidget(defaultGainDoubleSpinBox, 3, 1, 1, 1);
596 label_18 =
new QLabel(groupBox_10);
597 label_18->setObjectName(QString::fromUtf8(
"label_18"));
598 sizePolicy1.setHeightForWidth(label_18->sizePolicy().hasHeightForWidth());
599 label_18->setSizePolicy(sizePolicy1);
601 gridLayout_7->addWidget(label_18, 3, 2, 1, 1);
603 horizontalSpacer_4 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
605 gridLayout_7->addItem(horizontalSpacer_4, 1, 2, 1, 1);
607 clippingCheckBox =
new QCheckBox(groupBox_10);
608 clippingCheckBox->setObjectName(QString::fromUtf8(
"clippingCheckBox"));
610 gridLayout_7->addWidget(clippingCheckBox, 4, 0, 1, 3);
613 verticalLayout_7->addWidget(groupBox_10);
615 groupBox_11 =
new QGroupBox(audio);
616 groupBox_11->setObjectName(QString::fromUtf8(
"groupBox_11"));
617 gridLayout3 =
new QGridLayout(groupBox_11);
618 gridLayout3->setObjectName(QString::fromUtf8(
"gridLayout3"));
619 label_4 =
new QLabel(groupBox_11);
620 label_4->setObjectName(QString::fromUtf8(
"label_4"));
622 gridLayout3->addWidget(label_4, 2, 0, 1, 1);
624 ditheringCheckBox =
new QCheckBox(groupBox_11);
625 ditheringCheckBox->setObjectName(QString::fromUtf8(
"ditheringCheckBox"));
627 gridLayout3->addWidget(ditheringCheckBox, 4, 0, 1, 3);
629 label_20 =
new QLabel(groupBox_11);
630 label_20->setObjectName(QString::fromUtf8(
"label_20"));
632 gridLayout3->addWidget(label_20, 1, 0, 1, 1);
634 bufferSizeSpinBox =
new QSpinBox(groupBox_11);
635 bufferSizeSpinBox->setObjectName(QString::fromUtf8(
"bufferSizeSpinBox"));
636 sizePolicy3.setHeightForWidth(bufferSizeSpinBox->sizePolicy().hasHeightForWidth());
637 bufferSizeSpinBox->setSizePolicy(sizePolicy3);
638 bufferSizeSpinBox->setMinimumSize(QSize(80, 0));
639 bufferSizeSpinBox->setMinimum(500);
640 bufferSizeSpinBox->setMaximum(6000);
641 bufferSizeSpinBox->setSingleStep(50);
643 gridLayout3->addWidget(bufferSizeSpinBox, 1, 1, 1, 1);
645 softVolumeCheckBox =
new QCheckBox(groupBox_11);
646 softVolumeCheckBox->setObjectName(QString::fromUtf8(
"softVolumeCheckBox"));
648 gridLayout3->addWidget(softVolumeCheckBox, 3, 0, 1, 3);
650 bitDepthComboBox =
new QComboBox(groupBox_11);
651 bitDepthComboBox->setObjectName(QString::fromUtf8(
"bitDepthComboBox"));
652 bitDepthComboBox->setMinimumSize(QSize(100, 0));
654 gridLayout3->addWidget(bitDepthComboBox, 2, 1, 1, 1);
656 label_9 =
new QLabel(groupBox_11);
657 label_9->setObjectName(QString::fromUtf8(
"label_9"));
659 gridLayout3->addWidget(label_9, 0, 0, 1, 1);
661 volumeStepSpinBox =
new QSpinBox(groupBox_11);
662 volumeStepSpinBox->setObjectName(QString::fromUtf8(
"volumeStepSpinBox"));
663 volumeStepSpinBox->setSuffix(QString::fromUtf8(
"%"));
664 volumeStepSpinBox->setMinimum(1);
665 volumeStepSpinBox->setMaximum(20);
667 gridLayout3->addWidget(volumeStepSpinBox, 0, 1, 1, 1);
669 horizontalSpacer_6 =
new QSpacerItem(266, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
671 gridLayout3->addItem(horizontalSpacer_6, 0, 2, 3, 1);
674 verticalLayout_7->addWidget(groupBox_11);
676 verticalSpacer_2 =
new QSpacerItem(20, 132, QSizePolicy::Minimum, QSizePolicy::Expanding);
678 verticalLayout_7->addItem(verticalSpacer_2);
680 stackedWidget->addWidget(audio);
681 splitter->addWidget(stackedWidget);
683 verticalLayout_2->addWidget(splitter);
686 buttonBox->setObjectName(QString::fromUtf8(
"buttonBox"));
687 buttonBox->setStandardButtons(QDialogButtonBox::Close);
689 verticalLayout_2->addWidget(buttonBox);
693 QObject::connect(enableProxyCheckBox, SIGNAL(toggled(
bool)), hostLineEdit, SLOT(setEnabled(
bool)));
694 QObject::connect(enableProxyCheckBox, SIGNAL(toggled(
bool)), portLineEdit, SLOT(setEnabled(
bool)));
695 QObject::connect(authProxyCheckBox, SIGNAL(toggled(
bool)), proxyUserLineEdit, SLOT(setEnabled(
bool)));
696 QObject::connect(authProxyCheckBox, SIGNAL(toggled(
bool)), proxyPasswLineEdit, SLOT(setEnabled(
bool)));
697 QObject::connect(buttonBox, SIGNAL(rejected()),
ConfigDialog, SLOT(reject()));
698 QObject::connect(buttonBox, SIGNAL(accepted()),
ConfigDialog, SLOT(accept()));
699 QObject::connect(defaultPlayListCheckBox, SIGNAL(toggled(
bool)), defaultPlayListLineEdit, SLOT(setEnabled(
bool)));
700 QObject::connect(metaDataCheckBox, SIGNAL(toggled(
bool)), plMetaDataCheckBox, SLOT(setEnabled(
bool)));
702 contentsWidget->setCurrentRow(0);
703 stackedWidget->setCurrentIndex(0);
711 ConfigDialog->setWindowTitle(QApplication::translate(
"ConfigDialog",
"Qmmp Settings", 0, QApplication::UnicodeUTF8));
713 const bool __sortingEnabled = contentsWidget->isSortingEnabled();
714 contentsWidget->setSortingEnabled(
false);
715 QListWidgetItem *___qlistwidgetitem = contentsWidget->item(0);
716 ___qlistwidgetitem->setText(QApplication::translate(
"ConfigDialog",
"Playlist", 0, QApplication::UnicodeUTF8));
717 QListWidgetItem *___qlistwidgetitem1 = contentsWidget->item(1);
718 ___qlistwidgetitem1->setText(QApplication::translate(
"ConfigDialog",
"Plugins", 0, QApplication::UnicodeUTF8));
719 QListWidgetItem *___qlistwidgetitem2 = contentsWidget->item(2);
720 ___qlistwidgetitem2->setText(QApplication::translate(
"ConfigDialog",
"Advanced", 0, QApplication::UnicodeUTF8));
721 QListWidgetItem *___qlistwidgetitem3 = contentsWidget->item(3);
722 ___qlistwidgetitem3->setText(QApplication::translate(
"ConfigDialog",
"Connectivity", 0, QApplication::UnicodeUTF8));
723 QListWidgetItem *___qlistwidgetitem4 = contentsWidget->item(4);
724 ___qlistwidgetitem4->setText(QApplication::translate(
"ConfigDialog",
"Audio", 0, QApplication::UnicodeUTF8));
725 contentsWidget->setSortingEnabled(__sortingEnabled);
727 groupBox_3->setTitle(QApplication::translate(
"ConfigDialog",
"Metadata", 0, QApplication::UnicodeUTF8));
728 metaDataCheckBox->setText(QApplication::translate(
"ConfigDialog",
"Load metadata from files", 0, QApplication::UnicodeUTF8));
729 underscoresCheckBox->setText(QApplication::translate(
"ConfigDialog",
"Convert underscores to blanks", 0, QApplication::UnicodeUTF8));
730 per20CheckBox->setText(QApplication::translate(
"ConfigDialog",
"Convert %20 to blanks", 0, QApplication::UnicodeUTF8));
731 label_3->setText(QApplication::translate(
"ConfigDialog",
"Group format:", 0, QApplication::UnicodeUTF8));
732 groupButton->setText(QApplication::translate(
"ConfigDialog",
"...", 0, QApplication::UnicodeUTF8));
733 plMetaDataCheckBox->setText(QApplication::translate(
"ConfigDialog",
"Read tags while loading a playlist", 0, QApplication::UnicodeUTF8));
734 groupBox_2->setTitle(QApplication::translate(
"ConfigDialog",
"Directory Scanning Options", 0, QApplication::UnicodeUTF8));
735 label->setText(QApplication::translate(
"ConfigDialog",
"Restrict files to:", 0, QApplication::UnicodeUTF8));
736 label_2->setText(QApplication::translate(
"ConfigDialog",
"Exclude files:", 0, QApplication::UnicodeUTF8));
737 groupBox_4->setTitle(QApplication::translate(
"ConfigDialog",
"Miscellaneous", 0, QApplication::UnicodeUTF8));
738 autoSavePlayListCheckBox->setText(QApplication::translate(
"ConfigDialog",
"Auto-save playlist when modified", 0, QApplication::UnicodeUTF8));
739 clearPrevPLCheckBox->setText(QApplication::translate(
"ConfigDialog",
"Clear previous playlist when opening new one", 0, QApplication::UnicodeUTF8));
740 preferencesButton->setText(QApplication::translate(
"ConfigDialog",
"Preferences", 0, QApplication::UnicodeUTF8));
741 informationButton->setText(QApplication::translate(
"ConfigDialog",
"Information", 0, QApplication::UnicodeUTF8));
742 QTreeWidgetItem *___qtreewidgetitem = treeWidget->headerItem();
743 ___qtreewidgetitem->setText(1, QApplication::translate(
"ConfigDialog",
"Filename", 0, QApplication::UnicodeUTF8));
744 ___qtreewidgetitem->setText(0, QApplication::translate(
"ConfigDialog",
"Description", 0, QApplication::UnicodeUTF8));
745 groupBox->setTitle(QApplication::translate(
"ConfigDialog",
"Look and Feel", 0, QApplication::UnicodeUTF8));
746 label_10->setText(QApplication::translate(
"ConfigDialog",
"Language:", 0, QApplication::UnicodeUTF8));
747 groupBox_6->setTitle(QApplication::translate(
"ConfigDialog",
"Playback", 0, QApplication::UnicodeUTF8));
748 continuePlaybackCheckBox->setText(QApplication::translate(
"ConfigDialog",
"Continue playback on startup", 0, QApplication::UnicodeUTF8));
749 byContentCheckBox->setText(QApplication::translate(
"ConfigDialog",
"Determine file type by content", 0, QApplication::UnicodeUTF8));
750 defaultPlayListCheckBox->setText(QApplication::translate(
"ConfigDialog",
"Add files from command line to this playlist:", 0, QApplication::UnicodeUTF8));
751 groupBox_9->setTitle(QApplication::translate(
"ConfigDialog",
"Cover Image Retrieve", 0, QApplication::UnicodeUTF8));
752 useCoverFilesCheckBox->setText(QApplication::translate(
"ConfigDialog",
"Use separate image files", 0, QApplication::UnicodeUTF8));
753 label_11->setText(QApplication::translate(
"ConfigDialog",
"Include files:", 0, QApplication::UnicodeUTF8));
754 label_12->setText(QApplication::translate(
"ConfigDialog",
"Exclude files:", 0, QApplication::UnicodeUTF8));
755 label_13->setText(QApplication::translate(
"ConfigDialog",
"Recursive search depth:", 0, QApplication::UnicodeUTF8));
756 groupBox_7->setTitle(QApplication::translate(
"ConfigDialog",
"URL Dialog", 0, QApplication::UnicodeUTF8));
757 clipboardCheckBox->setText(QApplication::translate(
"ConfigDialog",
"Auto-paste URL from clipboard", 0, QApplication::UnicodeUTF8));
758 groupBox_5->setTitle(QApplication::translate(
"ConfigDialog",
"Proxy", 0, QApplication::UnicodeUTF8));
759 enableProxyCheckBox->setText(QApplication::translate(
"ConfigDialog",
"Enable proxy usage", 0, QApplication::UnicodeUTF8));
760 label_5->setText(QApplication::translate(
"ConfigDialog",
"Proxy host name:", 0, QApplication::UnicodeUTF8));
761 label_6->setText(QApplication::translate(
"ConfigDialog",
"Proxy port:", 0, QApplication::UnicodeUTF8));
762 authProxyCheckBox->setText(QApplication::translate(
"ConfigDialog",
"Use authentication with proxy", 0, QApplication::UnicodeUTF8));
763 label_7->setText(QApplication::translate(
"ConfigDialog",
"Proxy user name:", 0, QApplication::UnicodeUTF8));
764 label_8->setText(QApplication::translate(
"ConfigDialog",
"Proxy password:", 0, QApplication::UnicodeUTF8));
765 groupBox_10->setTitle(QApplication::translate(
"ConfigDialog",
"Replay Gain", 0, QApplication::UnicodeUTF8));
766 label_14->setText(QApplication::translate(
"ConfigDialog",
"Replay Gain mode:", 0, QApplication::UnicodeUTF8));
767 label_15->setText(QApplication::translate(
"ConfigDialog",
"Preamp:", 0, QApplication::UnicodeUTF8));
768 label_17->setText(QApplication::translate(
"ConfigDialog",
"dB", 0, QApplication::UnicodeUTF8));
769 label_16->setText(QApplication::translate(
"ConfigDialog",
"Default gain:", 0, QApplication::UnicodeUTF8));
770 label_18->setText(QApplication::translate(
"ConfigDialog",
"dB", 0, QApplication::UnicodeUTF8));
771 clippingCheckBox->setText(QApplication::translate(
"ConfigDialog",
"Use peak info to prevent clipping", 0, QApplication::UnicodeUTF8));
772 groupBox_11->setTitle(QApplication::translate(
"ConfigDialog",
"Audio", 0, QApplication::UnicodeUTF8));
773 label_4->setText(QApplication::translate(
"ConfigDialog",
"Output bit depth:", 0, QApplication::UnicodeUTF8));
774 ditheringCheckBox->setText(QApplication::translate(
"ConfigDialog",
"Use dithering", 0, QApplication::UnicodeUTF8));
775 label_20->setText(QApplication::translate(
"ConfigDialog",
"Buffer size:", 0, QApplication::UnicodeUTF8));
776 bufferSizeSpinBox->setSuffix(QApplication::translate(
"ConfigDialog",
"ms", 0, QApplication::UnicodeUTF8));
777 softVolumeCheckBox->setText(QApplication::translate(
"ConfigDialog",
"Use software volume control", 0, QApplication::UnicodeUTF8));
778 label_9->setText(QApplication::translate(
"ConfigDialog",
"Volume adjustment step:", 0, QApplication::UnicodeUTF8));
789 #endif // UI_CONFIGDIALOG_H Configuration dialog class.
Definition: configdialog.h:41