Qt4: Faster/Slower buttons for whiners.
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 21 Sep 2008 09:03:41 +0000 (02:03 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 21 Sep 2008 09:03:41 +0000 (02:03 -0700)
modules/gui/qt4/Modules.am
modules/gui/qt4/components/interface_widgets.cpp
modules/gui/qt4/pixmaps/faster.png [new file with mode: 0644]
modules/gui/qt4/pixmaps/slower.png [new file with mode: 0644]
modules/gui/qt4/vlc.qrc

index d3b0d86..de2a7ed 100644 (file)
@@ -101,6 +101,8 @@ res_DEPENDENCIES = \
        pixmaps/noart.png \
        pixmaps/pause_16px.png \
        pixmaps/pause.png \
+       pixmaps/faster.png \
+       pixmaps/slower.png \
        pixmaps/play_16px.png \
        pixmaps/playlist/add.png \
        pixmaps/playlist/playlist.png \
index 1b01687..a77f726 100644 (file)
@@ -518,14 +518,14 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i,
     slowerButton->setMaximumSize( QSize( 26, 20 ) );
     slowerButton->setFocusPolicy( Qt::NoFocus );
 
-    BUTTON_SET_ACT( slowerButton, "-", qtr( "Slower" ), slower() );
+    BUTTON_SET_ACT_I( slowerButton, "", slower, qtr( "Slower" ), slower() );
 
     fasterButton = new QToolButton;
     fasterButton->setAutoRaise( true );
     fasterButton->setMaximumSize( QSize( 26, 20 ) );
     fasterButton->setFocusPolicy( Qt::NoFocus );
 
-    BUTTON_SET_ACT( fasterButton, "+", qtr( "Faster" ), faster() );
+    BUTTON_SET_ACT_I( fasterButton, "", faster, qtr( "Faster" ), faster() );
 
     /* advanced Controls handling */
     b_advancedVisible = b_advControls;
diff --git a/modules/gui/qt4/pixmaps/faster.png b/modules/gui/qt4/pixmaps/faster.png
new file mode 100644 (file)
index 0000000..9aec6d1
Binary files /dev/null and b/modules/gui/qt4/pixmaps/faster.png differ
diff --git a/modules/gui/qt4/pixmaps/slower.png b/modules/gui/qt4/pixmaps/slower.png
new file mode 100644 (file)
index 0000000..06a30bc
Binary files /dev/null and b/modules/gui/qt4/pixmaps/slower.png differ
index 579336f..e437e1d 100644 (file)
@@ -74,6 +74,8 @@
   <file alias="pause_b">pixmaps/pause.png</file>
   <file alias="play">pixmaps/play_16px.png</file>
   <file alias="play_b">pixmaps/play.png</file>
+  <file alias="faster">pixmaps/faster.png</file>
+  <file alias="slower">pixmaps/slower.png</file>
   <file alias="previous">pixmaps/previous_16px.png</file>
   <file alias="previous_b">pixmaps/previous.png</file>
   <file alias="stop">pixmaps/stop_16px.png</file>