[vlc-devel] commit: Qt4: larger fullscreen controller. (Jean-Baptiste Kempf )

git version control git at videolan.org
Mon Sep 22 21:05:31 CEST 2008


vlc | branch: 0.9-bugfix | Jean-Baptiste Kempf <jb at videolan.org> | Mon Sep 22 11:44:08 2008 -0700| [e67328f29ac3965ee32d6809c5826bdffa108b16] | committer: Jean-Baptiste Kempf 

Qt4: larger fullscreen controller.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e67328f29ac3965ee32d6809c5826bdffa108b16
---

 NEWS                                             |    4 +++-
 modules/gui/qt4/components/interface_widgets.cpp |    9 ++++-----
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/NEWS b/NEWS
index 399d236..0fe7870 100644
--- a/NEWS
+++ b/NEWS
@@ -25,11 +25,13 @@ Windows port:
  * Fixed sensitivity of Fullscreen Controller
  * Fixed error messages on startup when VLC wasn't correctly uninstalled
    before installation
+ * Fix showing of controller when returning from fullscreen playback
 
 Qt4 interface:
- * Added Faster/Slower buttons to the controller panel
+ * Added Faster/Slower icons to the controller panel
  * Fixed lost playlist columns when switching the playlist view
  * Added needed options to Simple preferences (to avoid NVIDIA drivers issues)
+ * Added time label in the Fullscreen controller
 
 
 Changes between 0.9.1 and 0.9.2:
diff --git a/modules/gui/qt4/components/interface_widgets.cpp b/modules/gui/qt4/components/interface_widgets.cpp
index afdffec..fce9c91 100644
--- a/modules/gui/qt4/components/interface_widgets.cpp
+++ b/modules/gui/qt4/components/interface_widgets.cpp
@@ -1035,10 +1035,9 @@ FullscreenControllerWidget::FullscreenControllerWidget( intf_thread_t *_p_i,
 
     /* First line */
     slider->setSizePolicy( QSizePolicy::Expanding, QSizePolicy::Minimum);
-    slider->setMinimumWidth( 300 );
     fsLayout->addWidget( slowerButton, 0, 0 );
-    fsLayout->addWidget( slider, 0, 1, 1, 9 );
-    fsLayout->addWidget( fasterButton, 0, 10 );
+    fsLayout->addWidget( slider, 0, 1, 1, 11 );
+    fsLayout->addWidget( fasterButton, 0, 12 );
 
     /* Second line */
     fsLayout->addWidget( playButton, 1, 0, 1, 2 );
@@ -1055,7 +1054,7 @@ FullscreenControllerWidget::FullscreenControllerWidget( intf_thread_t *_p_i,
 
     fsLayout->addWidget( timeLabel, 1, 8 );
     fsLayout->addWidget( volMuteLabel, 1, 9 );
-    fsLayout->addWidget( volumeSlider, 1, 10,1, 2 );
+    fsLayout->addWidget( volumeSlider, 1, 10, 1, 2 );
 
     /* hiding timer */
     p_hideTimer = new QTimer( this );
@@ -1086,7 +1085,7 @@ FullscreenControllerWidget::FullscreenControllerWidget( intf_thread_t *_p_i,
     fullscreenButton->setIcon( QIcon( ":/defullscreen" ) );
 
     vlc_mutex_init_recursive( &lock );
-    setMinimumWidth( 450 );
+    setMinimumWidth( 600 );
 }
 
 FullscreenControllerWidget::~FullscreenControllerWidget()




More information about the vlc-devel mailing list