201 framerateBox = new QSpinBox(pOptionsGroup); |
201 framerateBox = new QSpinBox(pOptionsGroup); |
202 framerateBox->setRange(1, 200); |
202 framerateBox->setRange(1, 200); |
203 framerateBox->setSingleStep(1); |
203 framerateBox->setSingleStep(1); |
204 pOptLayout->addWidget(framerateBox, 6, 1); |
204 pOptLayout->addWidget(framerateBox, 6, 1); |
205 |
205 |
|
206 // label for Bitrate |
|
207 QLabel *labelBitrate = new QLabel(pOptionsGroup); |
|
208 labelBitrate->setText(QLabel::tr("Bitrate (Kbps)")); |
|
209 pOptLayout->addWidget(labelBitrate, 6, 2); |
|
210 |
|
211 // bitrate |
|
212 bitrateBox = new QSpinBox(pOptionsGroup); |
|
213 bitrateBox->setRange(100, 5000); |
|
214 bitrateBox->setSingleStep(100); |
|
215 pOptLayout->addWidget(bitrateBox, 6, 3); |
|
216 |
206 // button 'set default options' |
217 // button 'set default options' |
207 btnDefaults = new QPushButton(pOptionsGroup); |
218 btnDefaults = new QPushButton(pOptionsGroup); |
208 btnDefaults->setText(QPushButton::tr("Set default options")); |
219 btnDefaults->setText(QPushButton::tr("Set default options")); |
209 pOptLayout->addWidget(btnDefaults, 7, 0, 1, 5); |
220 pOptLayout->addWidget(btnDefaults, 7, 0, 1, 5); |
210 |
221 |