Qt4 - add a record icon, might be unused.
authorJean-Baptiste Kempf <jb@videolan.org>
Sat, 29 Sep 2007 22:50:30 +0000 (22:50 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 29 Sep 2007 22:50:30 +0000 (22:50 +0000)
modules/gui/qt4/Modules.am
modules/gui/qt4/components/interface_widgets.cpp
modules/gui/qt4/pixmaps/vlc_record_16px.png [new file with mode: 0644]
modules/gui/qt4/res.qrc

index c65e99f..d3a5c7a 100644 (file)
@@ -232,6 +232,7 @@ EXTRA_DIST += \
        pixmaps/vlc_info_16px.png \
        pixmaps/vlc_previous_16px.png \
        pixmaps/vlc_next_16px.png \
+       pixmaps/vlc_record_16px.png \
        pixmaps/vlc_playlist_add.png \
        pixmaps/vlc_playlist_repeat_off.png \
        pixmaps/vlc_playlist_repeat_all.png \
index d542cbe..4663c15 100644 (file)
@@ -250,7 +250,8 @@ AdvControlsWidget::AdvControlsWidget( intf_thread_t *_p_i ) :
     recordButton->setMaximumSize( QSize( 26, 26 ) );
     recordButton->setIconSize( QSize( 20, 20 ) );
     advLayout->addWidget( recordButton );
-    BUTTON_SET_ACT( recordButton, "R", qtr( "Record" ), record() );
+    BUTTON_SET_ACT_I( recordButton, "", vlc_record_16px.png,
+            qtr( "Record" ), record() );
 
     normalButton = new QPushButton( "N" );
     normalButton->setMaximumSize( QSize( 26, 26 ) );
@@ -393,7 +394,7 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i, bool b_advControls ) :
     playButton->setIconSize( QSize( 30, 30 ) );
 
     controlLayout->addWidget( playButton, 2, 0, 2, 2, Qt::AlignBottom );
+
     controlLayout->setColumnMinimumWidth( 2, 20 );
     controlLayout->setColumnStretch( 2, 0 );
 
@@ -433,7 +434,7 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i, bool b_advControls ) :
 
     controlLayout->setColumnStretch( 8 , 10 );
     controlLayout->setColumnStretch( 9, 0 );
+
     /*
      * Other first Line buttons
      * Might need to be inside a frame to avoid a few resizing pb
diff --git a/modules/gui/qt4/pixmaps/vlc_record_16px.png b/modules/gui/qt4/pixmaps/vlc_record_16px.png
new file mode 100644 (file)
index 0000000..88a4643
Binary files /dev/null and b/modules/gui/qt4/pixmaps/vlc_record_16px.png differ
index abccf17..7c252c1 100644 (file)
@@ -37,6 +37,7 @@
   <file>pixmaps/vlc_folder-grey_16px.png</file>
   <file>pixmaps/vlc_capture-card_16px.png</file>
   <file>pixmaps/vlc_preferences_16px.png</file>
+  <file>pixmaps/vlc_record_16px.png</file>
   <file>pixmaps/vlc_playlist_16px.png</file>
   <file>pixmaps/vlc_settings_16px.png</file>
   <file>pixmaps/vlc_stream_16px.png</file>