diff options
author | vng <viktor.govako@gmail.com> | 2011-06-12 12:39:49 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:19:26 +0300 |
commit | 1f90697f1af585087aea489cdb0045e05eca29c2 (patch) | |
tree | 2f821fa7e9c33ec1f36c3e57345cce92a3d46993 /qt/mainwindow.cpp | |
parent | c566cde6fcc3350738fee6108db26888a5fd4beb (diff) |
Make smooth scale control.
Diffstat (limited to 'qt/mainwindow.cpp')
-rw-r--r-- | qt/mainwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qt/mainwindow.cpp b/qt/mainwindow.cpp index fee6b95de8..0d509c4968 100644 --- a/qt/mainwindow.cpp +++ b/qt/mainwindow.cpp @@ -260,8 +260,8 @@ void MainWindow::CreateNavigationBar() } // add scale slider - QClickSlider * pScale = new QClickSlider(Qt::Vertical, this); - pScale->setRange(3, scales::GetUpperScale()); + QScaleSlider * pScale = new QScaleSlider(Qt::Vertical, this, 20); + pScale->SetRange(2, scales::GetUpperScale()); pScale->setTickPosition(QSlider::TicksRight); pToolBar->addWidget(pScale); |