equal
deleted
inserted
replaced
37 #include <QTableWidget> |
37 #include <QTableWidget> |
38 #include <QAction> |
38 #include <QAction> |
39 #include <QMenu> |
39 #include <QMenu> |
40 #include <QDataWidgetMapper> |
40 #include <QDataWidgetMapper> |
41 #include <QTime> |
41 #include <QTime> |
42 |
42 #include <QSlider> |
43 |
43 |
44 #include "ammoSchemeModel.h" |
44 #include "ammoSchemeModel.h" |
45 #include "pages.h" |
45 #include "pages.h" |
46 #include "sdlkeys.h" |
46 #include "sdlkeys.h" |
47 #include "hwconsts.h" |
47 #include "hwconsts.h" |
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 * GBAqualayout = new QHBoxLayout(0); |
576 |
577 |
577 CBFrontendFullscreen = new QCheckBox(AGGroupBox); |
578 CBFrontendFullscreen = new QCheckBox(AGGroupBox); |
578 CBFrontendFullscreen->setText(QCheckBox::tr("Frontend fullscreen")); |
579 CBFrontendFullscreen->setText(QCheckBox::tr("Frontend fullscreen")); |
579 GBAlayout->addWidget(CBFrontendFullscreen); |
580 GBAlayout->addWidget(CBFrontendFullscreen); |
580 |
581 |
606 |
607 |
607 CBFullscreen = new QCheckBox(AGGroupBox); |
608 CBFullscreen = new QCheckBox(AGGroupBox); |
608 CBFullscreen->setText(QCheckBox::tr("Fullscreen")); |
609 CBFullscreen->setText(QCheckBox::tr("Fullscreen")); |
609 GBAlayout->addWidget(CBFullscreen); |
610 GBAlayout->addWidget(CBFullscreen); |
610 |
611 |
611 CBReduceQuality = new QCheckBox(AGGroupBox); |
612 QLabel * quality = new QLabel(AGGroupBox); |
612 CBReduceQuality->setText(QCheckBox::tr("Reduced quality")); |
613 quality->setText(QLabel::tr("Quality")); |
613 GBAlayout->addWidget(CBReduceQuality); |
614 GBAqualayout->addWidget(quality); |
|
615 |
|
616 SLQuality = new QSlider(Qt::Horizontal, AGGroupBox); |
|
617 SLQuality->setTickPosition(QSlider::TicksBelow); |
|
618 SLQuality->setMaximum(5); |
|
619 SLQuality->setMinimum(0); |
|
620 SLQuality->setFixedWidth(150); |
|
621 GBAqualayout->addWidget(SLQuality); |
|
622 GBAlayout->addLayout(GBAqualayout); |
614 |
623 |
615 CBEnableStereo = new QCheckBox(AGGroupBox); |
624 CBEnableStereo = new QCheckBox(AGGroupBox); |
616 CBEnableStereo->setText(QCheckBox::tr("Anaglyph rendering (red/cyan)")); |
625 CBEnableStereo->setText(QCheckBox::tr("Anaglyph rendering (red/cyan)")); |
617 GBAlayout->addWidget(CBEnableStereo); |
626 GBAlayout->addWidget(CBEnableStereo); |
618 |
627 |