9 #ifndef UI_GUI_TARGETPLAYLISTDIALOG_H
10 #define UI_GUI_TARGETPLAYLISTDIALOG_H
12 #include <QtCore/QVariant>
13 #include <QtGui/QIcon>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QCheckBox>
16 #include <QtWidgets/QDialog>
17 #include <QtWidgets/QFrame>
18 #include <QtWidgets/QGridLayout>
19 #include <QtWidgets/QHBoxLayout>
20 #include <QtWidgets/QLabel>
21 #include <QtWidgets/QLineEdit>
22 #include <QtWidgets/QPushButton>
29 QGridLayout *gridLayout;
31 QCheckBox *cb_relative;
32 QPushButton *btn_choose;
33 QHBoxLayout *horizontalLayout;
34 QPushButton *btn_cancel;
45 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
47 le_path->setObjectName(QString::fromUtf8(
"le_path"));
48 le_path->setMinimumSize(QSize(0, 28));
49 le_path->setMaximumSize(QSize(16777215, 30));
50 le_path->setReadOnly(
true);
52 gridLayout->addWidget(le_path, 2, 0, 1, 2);
55 cb_relative->setObjectName(QString::fromUtf8(
"cb_relative"));
57 gridLayout->addWidget(cb_relative, 4, 0, 1, 1);
60 btn_choose->setObjectName(QString::fromUtf8(
"btn_choose"));
61 btn_choose->setMinimumSize(QSize(30, 28));
62 btn_choose->setMaximumSize(QSize(30, 28));
63 btn_choose->setText(QString::fromUtf8(
"\342\211\241"));
65 gridLayout->addWidget(btn_choose, 2, 2, 1, 1);
67 horizontalLayout =
new QHBoxLayout();
68 horizontalLayout->setObjectName(QString::fromUtf8(
"horizontalLayout"));
70 btn_cancel->setObjectName(QString::fromUtf8(
"btn_cancel"));
71 btn_cancel->setMinimumSize(QSize(0, 30));
73 horizontalLayout->addWidget(btn_cancel);
76 btn_ok->setObjectName(QString::fromUtf8(
"btn_ok"));
77 btn_ok->setMinimumSize(QSize(0, 28));
79 icon.addFile(QString::fromUtf8(
":/Icons/save.svg.png"), QSize(), QIcon::Normal, QIcon::Off);
80 btn_ok->setIcon(
icon);
82 horizontalLayout->addWidget(btn_ok);
85 gridLayout->addLayout(horizontalLayout, 6, 1, 1, 2);
88 lab_title->setObjectName(QString::fromUtf8(
"lab_title"));
90 gridLayout->addWidget(lab_title, 0, 0, 1, 3);
93 line->setObjectName(QString::fromUtf8(
"line"));
94 line->setFrameShape(QFrame::HLine);
95 line->setFrameShadow(QFrame::Sunken);
97 gridLayout->addWidget(line, 1, 0, 1, 3);
108 GUI_TargetPlaylistDialog->setWindowTitle(QApplication::translate(
"GUI_TargetPlaylistDialog",
"Choose target playlist",
nullptr));
109 cb_relative->setText(QApplication::translate(
"GUI_TargetPlaylistDialog",
"relative filepaths",
nullptr));
110 btn_cancel->setText(QApplication::translate(
"GUI_TargetPlaylistDialog",
"Close",
nullptr));
111 btn_ok->setText(QApplication::translate(
"GUI_TargetPlaylistDialog",
"Save",
nullptr));
112 lab_title->setText(QApplication::translate(
"GUI_TargetPlaylistDialog",
"Save playlist as...",
nullptr));
123 #endif // UI_GUI_TARGETPLAYLISTDIALOG_H