9 #ifndef UI_GUI_AUDIOCONVERTER_H 10 #define UI_GUI_AUDIOCONVERTER_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QApplication> 14 #include <QtWidgets/QFrame> 15 #include <QtWidgets/QGridLayout> 16 #include <QtWidgets/QHBoxLayout> 17 #include <QtWidgets/QLabel> 18 #include <QtWidgets/QProgressBar> 19 #include <QtWidgets/QPushButton> 20 #include <QtWidgets/QSpinBox> 21 #include <QtWidgets/QStackedWidget> 22 #include <QtWidgets/QWidget> 23 #include "GUI/Utils/Widgets/ComboBox.h" 30 QGridLayout *gridLayout;
31 QStackedWidget *sw_progress;
33 QGridLayout *gridLayout_5;
34 QPushButton *btn_start;
36 QGridLayout *gridLayout_4;
37 QProgressBar *pb_progress;
38 QPushButton *btn_stop_encoding;
41 QStackedWidget *sw_preferences;
43 QGridLayout *gridLayout_2;
44 QSpinBox *sb_ogg_quality;
47 QGridLayout *gridLayout_3;
51 QHBoxLayout *horizontalLayout;
53 QSpinBox *sb_lame_vbr;
64 gridLayout->setObjectName(QStringLiteral(
"gridLayout"));
65 gridLayout->setVerticalSpacing(3);
66 gridLayout->setContentsMargins(-1, 3, -1, 0);
68 sw_progress->setObjectName(QStringLiteral(
"sw_progress"));
69 page_4 =
new QWidget();
70 page_4->setObjectName(QStringLiteral(
"page_4"));
71 gridLayout_5 =
new QGridLayout(page_4);
72 gridLayout_5->setObjectName(QStringLiteral(
"gridLayout_5"));
73 gridLayout_5->setContentsMargins(0, 0, 0, 0);
74 btn_start =
new QPushButton(page_4);
75 btn_start->setObjectName(QStringLiteral(
"btn_start"));
77 gridLayout_5->addWidget(btn_start, 0, 1, 1, 1);
79 sw_progress->addWidget(page_4);
80 page_5 =
new QWidget();
81 page_5->setObjectName(QStringLiteral(
"page_5"));
82 gridLayout_4 =
new QGridLayout(page_5);
83 gridLayout_4->setObjectName(QStringLiteral(
"gridLayout_4"));
84 gridLayout_4->setContentsMargins(0, 0, 0, 0);
85 pb_progress =
new QProgressBar(page_5);
86 pb_progress->setObjectName(QStringLiteral(
"pb_progress"));
87 pb_progress->setValue(24);
89 gridLayout_4->addWidget(pb_progress, 0, 0, 1, 1);
91 btn_stop_encoding =
new QPushButton(page_5);
92 btn_stop_encoding->setObjectName(QStringLiteral(
"btn_stop_encoding"));
94 gridLayout_4->addWidget(btn_stop_encoding, 0, 1, 1, 1);
96 sw_progress->addWidget(page_5);
98 gridLayout->addWidget(sw_progress, 10, 0, 1, 2);
101 sb_threads->setObjectName(QStringLiteral(
"sb_threads"));
102 sb_threads->setMinimum(1);
103 sb_threads->setMaximum(32);
104 sb_threads->setValue(4);
106 gridLayout->addWidget(sb_threads, 8, 1, 1, 1);
109 lab_threads->setObjectName(QStringLiteral(
"lab_threads"));
111 gridLayout->addWidget(lab_threads, 8, 0, 1, 1);
114 sw_preferences->setObjectName(QStringLiteral(
"sw_preferences"));
115 page =
new QWidget();
116 page->setObjectName(QStringLiteral(
"page"));
117 gridLayout_2 =
new QGridLayout(page);
118 gridLayout_2->setObjectName(QStringLiteral(
"gridLayout_2"));
119 gridLayout_2->setContentsMargins(0, 0, 0, 0);
120 sb_ogg_quality =
new QSpinBox(page);
121 sb_ogg_quality->setObjectName(QStringLiteral(
"sb_ogg_quality"));
122 sb_ogg_quality->setMinimum(1);
123 sb_ogg_quality->setMaximum(10);
124 sb_ogg_quality->setValue(7);
126 gridLayout_2->addWidget(sb_ogg_quality, 0, 3, 1, 1);
128 label =
new QLabel(page);
129 label->setObjectName(QStringLiteral(
"label"));
131 gridLayout_2->addWidget(label, 0, 2, 1, 1);
133 sw_preferences->addWidget(page);
134 page_2 =
new QWidget();
135 page_2->setObjectName(QStringLiteral(
"page_2"));
136 gridLayout_3 =
new QGridLayout(page_2);
137 gridLayout_3->setObjectName(QStringLiteral(
"gridLayout_3"));
138 gridLayout_3->setContentsMargins(0, 0, 0, 0);
140 combo_cbr->addItem(QStringLiteral(
"320"));
141 combo_cbr->addItem(QStringLiteral(
"256"));
142 combo_cbr->addItem(QStringLiteral(
"192"));
143 combo_cbr->addItem(QStringLiteral(
"160"));
144 combo_cbr->addItem(QStringLiteral(
"128"));
145 combo_cbr->addItem(QStringLiteral(
"96"));
146 combo_cbr->setObjectName(QStringLiteral(
"combo_cbr"));
147 combo_cbr->setCurrentText(QStringLiteral(
"320"));
149 gridLayout_3->addWidget(combo_cbr, 0, 1, 1, 1);
151 label_3 =
new QLabel(page_2);
152 label_3->setObjectName(QStringLiteral(
"label_3"));
154 gridLayout_3->addWidget(label_3, 0, 0, 1, 1);
156 sw_preferences->addWidget(page_2);
157 page_3 =
new QWidget();
158 page_3->setObjectName(QStringLiteral(
"page_3"));
159 horizontalLayout =
new QHBoxLayout(page_3);
160 horizontalLayout->setObjectName(QStringLiteral(
"horizontalLayout"));
161 horizontalLayout->setContentsMargins(0, 0, 0, 0);
162 label_2 =
new QLabel(page_3);
163 label_2->setObjectName(QStringLiteral(
"label_2"));
165 horizontalLayout->addWidget(label_2);
167 sb_lame_vbr =
new QSpinBox(page_3);
168 sb_lame_vbr->setObjectName(QStringLiteral(
"sb_lame_vbr"));
169 sb_lame_vbr->setMinimum(1);
170 sb_lame_vbr->setMaximum(10);
171 sb_lame_vbr->setValue(7);
173 horizontalLayout->addWidget(sb_lame_vbr);
175 sw_preferences->addWidget(page_3);
177 gridLayout->addWidget(sw_preferences, 6, 0, 1, 2);
180 combo_codecs->addItem(QStringLiteral(
"Ogg Vorbis"));
181 combo_codecs->addItem(QStringLiteral(
"MP3 (CBR)"));
182 combo_codecs->addItem(QStringLiteral(
"MP3 (VBR)"));
183 combo_codecs->setObjectName(QStringLiteral(
"combo_codecs"));
184 combo_codecs->setCurrentText(QStringLiteral(
"Ogg Vorbis"));
186 gridLayout->addWidget(combo_codecs, 5, 0, 1, 2);
189 line_2->setObjectName(QStringLiteral(
"line_2"));
190 line_2->setFrameShape(QFrame::HLine);
191 line_2->setFrameShadow(QFrame::Sunken);
193 gridLayout->addWidget(line_2, 9, 0, 1, 2);
196 line->setObjectName(QStringLiteral(
"line"));
197 line->setFrameShape(QFrame::HLine);
198 line->setFrameShadow(QFrame::Sunken);
200 gridLayout->addWidget(line, 7, 0, 1, 2);
205 sw_progress->setCurrentIndex(1);
206 sw_preferences->setCurrentIndex(1);
214 btn_start->setText(QApplication::translate(
"GUI_AudioConverter",
"Start",
nullptr));
215 btn_stop_encoding->setText(QApplication::translate(
"GUI_AudioConverter",
"Stop",
nullptr));
216 lab_threads->setText(QApplication::translate(
"GUI_AudioConverter",
"#Threads",
nullptr));
217 label->setText(QApplication::translate(
"GUI_AudioConverter",
"Quality",
nullptr));
219 label_3->setText(QApplication::translate(
"GUI_AudioConverter",
"Quality",
nullptr));
220 label_2->setText(QApplication::translate(
"GUI_AudioConverter",
"Quality",
nullptr));
233 #endif // UI_GUI_AUDIOCONVERTER_H Definition: ui_GUI_SomaFM.h:206
Definition: GUI_AudioConverter.h:31
Definition: ui_GUI_AudioConverter.h:228
Definition: ComboBox.h:29
Definition: ui_GUI_AudioConverter.h:27