Set smaller pageStep for all QSliders
authorWuzzy <Wuzzy2@mail.ru>
Sun, 16 Jun 2019 00:49:58 +0200
changeset 15160 4c13bc464c61
parent 15159 fcd697bce2a8
child 15161 d20e52a646e7
Set smaller pageStep for all QSliders
QTfrontend/ui/page/pageoptions.cpp
QTfrontend/ui/widget/mapContainer.cpp
--- a/QTfrontend/ui/page/pageoptions.cpp	Sat Jun 15 19:49:02 2019 +0200
+++ b/QTfrontend/ui/page/pageoptions.cpp	Sun Jun 16 00:49:58 2019 +0200
@@ -316,6 +316,7 @@
 
             SLQuality = new QSlider(Qt::Horizontal, groupGame);
             SLQuality->setTickPosition(QSlider::TicksBelow);
+            SLQuality->setPageStep(2);
             SLQuality->setMaximum(5);
             SLQuality->setMinimum(0);
             SLQuality->setFixedWidth(150);
--- a/QTfrontend/ui/widget/mapContainer.cpp	Sat Jun 15 19:49:02 2019 +0200
+++ b/QTfrontend/ui/widget/mapContainer.cpp	Sun Jun 16 00:49:58 2019 +0200
@@ -297,6 +297,7 @@
     mapFeatureSize->setMaximum(25);
     mapFeatureSize->setMinimum(1);
     //mapFeatureSize->setFixedWidth(259);
+    mapFeatureSize->setPageStep(5);
     mapFeatureSize->setValue(m_mapFeatureSize);
     mapFeatureSize->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Expanding);
     bottomLeftLayout->addWidget(mapFeatureSize, 0);