]> git.sesse.net Git - vlc/commitdiff
Qt4 - Comments about TODO and FIXMEs on the main_interface, for my holidays :D
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 20 Aug 2007 12:04:06 +0000 (12:04 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 20 Aug 2007 12:04:06 +0000 (12:04 +0000)
modules/gui/qt4/components/interface_widgets.cpp
modules/gui/qt4/main_interface.cpp

index a334c9834ec09b4b5bcdf29c017eb2e7d0f59555..6ddfde187f89c3c435e9ed152825a828eaed5fdb 100644 (file)
@@ -284,6 +284,14 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i ) :
     controlLayout->addWidget( fasterButton, 0, 16 );
     fasterButton->setMaximumSize( QSize( 26, 20 ) );
 
+    /** TODO: Insert here the AdvControls Widget 
+     * and add - A->B button
+     *         - frame by frame
+     *         - record button
+     * and put the snapshot in the same QFrame 
+     * Then fix all the size issues in main_interface.cpp
+     **/
+    
     /** Disc and Menus handling */
     discFrame = new QFrame( this );
     QHBoxLayout *discLayout = new QHBoxLayout( discFrame );
@@ -316,6 +324,10 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i ) :
     CONNECT( menuButton, clicked(), THEMIM->getIM(),
              sectionMenu() );
 
+    /** TODO
+     * Telextext QFrame
+     **/
+
     /** Play Buttons **/
     QSizePolicy sizePolicy( QSizePolicy::Maximum, QSizePolicy::Fixed );
     sizePolicy.setHorizontalStretch( 0 );
@@ -406,6 +418,14 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i ) :
     volMuteLabel->setToolTip( qtr( "Mute" ) );
     volMuteLabel->installEventFilter( h );
 
+    /** TODO: 
+     * Change this slider to use a nice Amarok-like one 
+     * Add a Context menu to change to the most useful %
+     * **/
+    /** FIXME
+     *  THis percerntage thing has to be handled correctly
+     *  This has to match to the OSD
+     **/
     volumeSlider = new QSlider;
     volumeSlider->setSizePolicy( sizePolicy );
     volumeSlider->setMaximumSize( QSize( 80, 200 ) );
@@ -520,9 +540,11 @@ void ControlsWidget::setStatus( int status )
     }
 }
 
-/*
+/**
+ * TODO
  * This functions toggle the fullscreen mode
- * If there is no video, it should first activate Visualisations... TODO
+ * If there is no video, it should first activate Visualisations... 
+ *  This has also to be fixed in enableVideo()
  */
 void ControlsWidget::fullscreen()
 {
index 9495b44ff0b17f71abd944cbd70bb549286bae93..bc8d3e91ec8342b885c8780f7a50ef3d977c966c 100644 (file)
@@ -139,6 +139,12 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
                              advControlsEnabled, visualSelectorEnabled );
 
     /* Status Bar */
+    /**
+     * TODO: clicking on the elapsed time should switch to the remaining time
+     **/
+    /**
+     * TODO: do we add a label for the current Volume 
+     **/
     timeLabel = new QLabel;
     nameLabel = new QLabel;
     speedLabel = new QLabel( "1.0x" );