[vlmc-devel] commit: MainWindow GUI: Set zoom qslider layout. (Rohit Yadav )
git at videolan.org
git at videolan.org
Mon Oct 11 19:26:56 CEST 2010
vlmc | branch: master | Rohit Yadav <rohityadav89 at gmail.com> | Mon Oct 11 23:03:35 2010 +0530| [e378bce71dcf53b3fd652309d3e106d541c5852c] | committer: Rohit Yadav
MainWindow GUI: Set zoom qslider layout.
More groove in a slider means more quantity, in this case the zoom level.
> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=e378bce71dcf53b3fd652309d3e106d541c5852c
---
src/Gui/MainWindow.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/Gui/MainWindow.cpp b/src/Gui/MainWindow.cpp
index dd3df68..9b2afe7 100644
--- a/src/Gui/MainWindow.cpp
+++ b/src/Gui/MainWindow.cpp
@@ -398,6 +398,7 @@ MainWindow::createStatusBar()
// Zoom slider
m_zoomSlider = new QSlider( this );
m_zoomSlider->setOrientation( Qt::Horizontal );
+ m_zoomSlider->setLayoutDirection( Qt::LeftToRight );
m_zoomSlider->setTickInterval( 1 );
m_zoomSlider->setSingleStep( 1 );
m_zoomSlider->setPageStep( 1 );
@@ -405,7 +406,6 @@ MainWindow::createStatusBar()
m_zoomSlider->setMaximum( 13 );
m_zoomSlider->setValue( 10 );
m_zoomSlider->setFixedWidth( 80 );
- m_zoomSlider->setInvertedAppearance( true );
m_ui.statusbar->addPermanentWidget( m_zoomSlider );
// Zoom IN
More information about the Vlmc-devel
mailing list