571 //AGGroupBox->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed); |
571 //AGGroupBox->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed); |
572 AGGroupBox->setTitle(QGroupBox::tr("Audio/Graphic options")); |
572 AGGroupBox->setTitle(QGroupBox::tr("Audio/Graphic options")); |
573 |
573 |
574 QVBoxLayout * GBAlayout = new QVBoxLayout(AGGroupBox); |
574 QVBoxLayout * GBAlayout = new QVBoxLayout(AGGroupBox); |
575 QHBoxLayout * GBAreslayout = new QHBoxLayout(0); |
575 QHBoxLayout * GBAreslayout = new QHBoxLayout(0); |
|
576 QHBoxLayout * GBAstereolayout = new QHBoxLayout(0); |
576 QHBoxLayout * GBAqualayout = new QHBoxLayout(0); |
577 QHBoxLayout * GBAqualayout = new QHBoxLayout(0); |
577 |
578 |
578 CBFrontendFullscreen = new QCheckBox(AGGroupBox); |
579 CBFrontendFullscreen = new QCheckBox(AGGroupBox); |
579 CBFrontendFullscreen->setText(QCheckBox::tr("Frontend fullscreen")); |
580 CBFrontendFullscreen->setText(QCheckBox::tr("Frontend fullscreen")); |
580 GBAlayout->addWidget(CBFrontendFullscreen); |
581 GBAlayout->addWidget(CBFrontendFullscreen); |
619 SLQuality->setMinimum(0); |
620 SLQuality->setMinimum(0); |
620 SLQuality->setFixedWidth(150); |
621 SLQuality->setFixedWidth(150); |
621 GBAqualayout->addWidget(SLQuality); |
622 GBAqualayout->addWidget(SLQuality); |
622 GBAlayout->addLayout(GBAqualayout); |
623 GBAlayout->addLayout(GBAqualayout); |
623 |
624 |
624 CBEnableStereo = new QCheckBox(AGGroupBox); |
625 QLabel * stereo = new QLabel(AGGroupBox); |
625 CBEnableStereo->setText(QCheckBox::tr("Anaglyph rendering (red/cyan)")); |
626 stereo->setText(QLabel::tr("Stereo rendering")); |
626 GBAlayout->addWidget(CBEnableStereo); |
627 GBAstereolayout->addWidget(stereo); |
|
628 |
|
629 CBStereoMode = new QComboBox(AGGroupBox); |
|
630 CBStereoMode->addItem(QComboBox::tr("Disabled")); |
|
631 CBStereoMode->addItem(QComboBox::tr("Red/Cyan")); |
|
632 CBStereoMode->addItem(QComboBox::tr("Cyan/Red")); |
|
633 CBStereoMode->addItem(QComboBox::tr("Red/Blue")); |
|
634 CBStereoMode->addItem(QComboBox::tr("Blue/Red")); |
|
635 CBStereoMode->addItem(QComboBox::tr("Red/Green")); |
|
636 CBStereoMode->addItem(QComboBox::tr("Green/Red")); |
|
637 CBStereoMode->addItem(QComboBox::tr("Side-by-side (horizontal)")); |
|
638 CBStereoMode->addItem(QComboBox::tr("Side-by-side (vertical)")); |
|
639 CBStereoMode->addItem(QComboBox::tr("Alternate frame rendering")); |
|
640 |
|
641 GBAstereolayout->addWidget(CBStereoMode); |
|
642 GBAlayout->addLayout(GBAstereolayout); |
627 |
643 |
628 hr = new QFrame(AGGroupBox); |
644 hr = new QFrame(AGGroupBox); |
629 hr->setFrameStyle(QFrame::HLine); |
645 hr->setFrameStyle(QFrame::HLine); |
630 hr->setLineWidth(3); |
646 hr->setLineWidth(3); |
631 hr->setFixedHeight(10); |
647 hr->setFixedHeight(10); |