Commit 3bbef100 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - Comments about TODO and FIXMEs on the main_interface, for my holidays :D

parent ee8809f4
......@@ -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()
{
......
......@@ -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" );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment