9 #ifndef UI_GUI_IMPORTFOLDER_H 10 #define UI_GUI_IMPORTFOLDER_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QAction> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QButtonGroup> 16 #include <QtWidgets/QDialog> 17 #include <QtWidgets/QFrame> 18 #include <QtWidgets/QGridLayout> 19 #include <QtWidgets/QHBoxLayout> 20 #include <QtWidgets/QHeaderView> 21 #include <QtWidgets/QLabel> 22 #include <QtWidgets/QLineEdit> 23 #include <QtWidgets/QProgressBar> 24 #include <QtWidgets/QPushButton> 31 QGridLayout *gridLayout;
33 QLabel *lab_target_info;
34 QHBoxLayout *horizontalLayout_2;
35 QProgressBar *pb_progress;
37 QPushButton *btn_edit;
38 QPushButton *btn_cancel;
40 QHBoxLayout *horizontalLayout;
41 QLabel *lab_target_path;
42 QLineEdit *le_directory;
43 QPushButton *btn_choose_dir;
47 void setupUi(QDialog *ImportFolder)
49 if (ImportFolder->objectName().isEmpty())
50 ImportFolder->setObjectName(QStringLiteral(
"ImportFolder"));
51 ImportFolder->resize(563, 151);
52 gridLayout =
new QGridLayout(ImportFolder);
53 gridLayout->setObjectName(QStringLiteral(
"gridLayout"));
54 lab_title =
new QLabel(ImportFolder);
55 lab_title->setObjectName(QStringLiteral(
"lab_title"));
57 font.setPointSize(11);
60 lab_title->setFont(font);
62 gridLayout->addWidget(lab_title, 0, 0, 1, 2);
64 lab_target_info =
new QLabel(ImportFolder);
65 lab_target_info->setObjectName(QStringLiteral(
"lab_target_info"));
67 gridLayout->addWidget(lab_target_info, 2, 0, 1, 1);
69 horizontalLayout_2 =
new QHBoxLayout();
70 horizontalLayout_2->setObjectName(QStringLiteral(
"horizontalLayout_2"));
71 pb_progress =
new QProgressBar(ImportFolder);
72 pb_progress->setObjectName(QStringLiteral(
"pb_progress"));
73 pb_progress->setValue(24);
75 horizontalLayout_2->addWidget(pb_progress);
77 lab_status =
new QLabel(ImportFolder);
78 lab_status->setObjectName(QStringLiteral(
"lab_status"));
80 horizontalLayout_2->addWidget(lab_status);
82 btn_edit =
new QPushButton(ImportFolder);
83 btn_edit->setObjectName(QStringLiteral(
"btn_edit"));
85 horizontalLayout_2->addWidget(btn_edit);
87 btn_cancel =
new QPushButton(ImportFolder);
88 btn_cancel->setObjectName(QStringLiteral(
"btn_cancel"));
89 btn_cancel->setFocusPolicy(Qt::StrongFocus);
91 horizontalLayout_2->addWidget(btn_cancel);
93 btn_ok =
new QPushButton(ImportFolder);
94 btn_ok->setObjectName(QStringLiteral(
"btn_ok"));
95 btn_ok->setFocusPolicy(Qt::StrongFocus);
97 horizontalLayout_2->addWidget(btn_ok);
100 gridLayout->addLayout(horizontalLayout_2, 8, 0, 1, 2);
102 horizontalLayout =
new QHBoxLayout();
103 horizontalLayout->setObjectName(QStringLiteral(
"horizontalLayout"));
104 lab_target_path =
new QLabel(ImportFolder);
105 lab_target_path->setObjectName(QStringLiteral(
"lab_target_path"));
106 lab_target_path->setText(QStringLiteral(
"/music/library"));
108 horizontalLayout->addWidget(lab_target_path);
110 le_directory =
new QLineEdit(ImportFolder);
111 le_directory->setObjectName(QStringLiteral(
"le_directory"));
112 le_directory->setReadOnly(
true);
114 horizontalLayout->addWidget(le_directory);
116 btn_choose_dir =
new QPushButton(ImportFolder);
117 btn_choose_dir->setObjectName(QStringLiteral(
"btn_choose_dir"));
118 btn_choose_dir->setMaximumSize(QSize(25, 25));
119 btn_choose_dir->setSizeIncrement(QSize(25, 25));
120 btn_choose_dir->setFocusPolicy(Qt::StrongFocus);
122 horizontalLayout->addWidget(btn_choose_dir);
125 gridLayout->addLayout(horizontalLayout, 3, 0, 1, 2);
127 line_3 =
new QFrame(ImportFolder);
128 line_3->setObjectName(QStringLiteral(
"line_3"));
129 line_3->setFrameShape(QFrame::HLine);
130 line_3->setFrameShadow(QFrame::Sunken);
132 gridLayout->addWidget(line_3, 7, 0, 1, 2);
134 line =
new QFrame(ImportFolder);
135 line->setObjectName(QStringLiteral(
"line"));
136 line->setFrameShape(QFrame::HLine);
137 line->setFrameShadow(QFrame::Sunken);
139 gridLayout->addWidget(line, 1, 0, 1, 2);
142 retranslateUi(ImportFolder);
144 QMetaObject::connectSlotsByName(ImportFolder);
147 void retranslateUi(QDialog *ImportFolder)
149 ImportFolder->setWindowTitle(QApplication::translate(
"ImportFolder",
"Import", Q_NULLPTR));
150 lab_title->setText(QApplication::translate(
"ImportFolder",
"Import tracks to library", Q_NULLPTR));
151 lab_target_info->setText(QApplication::translate(
"ImportFolder",
"Select target folder", Q_NULLPTR));
152 lab_status->setText(QString());
153 btn_edit->setText(QApplication::translate(
"ImportFolder",
"Edit", Q_NULLPTR));
154 btn_cancel->setText(QApplication::translate(
"ImportFolder",
"Cancel", Q_NULLPTR));
155 btn_ok->setText(QApplication::translate(
"ImportFolder",
"OK", Q_NULLPTR));
156 btn_choose_dir->setText(QApplication::translate(
"ImportFolder",
"...", Q_NULLPTR));
167 #endif // UI_GUI_IMPORTFOLDER_H Definition: ui_GUI_SomaFM.h:217
Definition: ui_GUI_ImportFolder.h:28
Definition: ui_GUI_ImportFolder.h:162