diff -r bbec1275e46f -r 3e9c0634065c QTfrontend/pages.cpp --- a/QTfrontend/pages.cpp Mon Aug 02 12:24:06 2010 +0200 +++ b/QTfrontend/pages.cpp Mon Aug 02 15:05:56 2010 +0200 @@ -39,7 +39,7 @@ #include #include #include - +#include #include "ammoSchemeModel.h" #include "pages.h" @@ -573,6 +573,7 @@ QVBoxLayout * GBAlayout = new QVBoxLayout(AGGroupBox); QHBoxLayout * GBAreslayout = new QHBoxLayout(0); + QHBoxLayout * GBAqualayout = new QHBoxLayout(0); CBFrontendFullscreen = new QCheckBox(AGGroupBox); CBFrontendFullscreen->setText(QCheckBox::tr("Frontend fullscreen")); @@ -608,9 +609,17 @@ CBFullscreen->setText(QCheckBox::tr("Fullscreen")); GBAlayout->addWidget(CBFullscreen); - CBReduceQuality = new QCheckBox(AGGroupBox); - CBReduceQuality->setText(QCheckBox::tr("Reduced quality")); - GBAlayout->addWidget(CBReduceQuality); + QLabel * quality = new QLabel(AGGroupBox); + quality->setText(QLabel::tr("Quality")); + GBAqualayout->addWidget(quality); + + SLQuality = new QSlider(Qt::Horizontal, AGGroupBox); + SLQuality->setTickPosition(QSlider::TicksBelow); + SLQuality->setMaximum(5); + SLQuality->setMinimum(0); + SLQuality->setFixedWidth(150); + GBAqualayout->addWidget(SLQuality); + GBAlayout->addLayout(GBAqualayout); CBEnableStereo = new QCheckBox(AGGroupBox); CBEnableStereo->setText(QCheckBox::tr("Anaglyph rendering (red/cyan)"));