--- a/QTfrontend/pages.cpp Mon Aug 02 01:07:51 2010 +0200
+++ b/QTfrontend/pages.cpp Mon Aug 02 15:23:16 2010 +0200
@@ -39,7 +39,7 @@
#include <QMenu>
#include <QDataWidgetMapper>
#include <QTime>
-
+#include <QSlider>
#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);
hr = new QFrame(AGGroupBox);
hr->setFrameStyle(QFrame::HLine);