Commit bd4b7150 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - MainInterface: support for speed gestion.

parent efe42d45
...@@ -138,11 +138,14 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf ) ...@@ -138,11 +138,14 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
advControlsEnabled, visualSelectorEnabled ); advControlsEnabled, visualSelectorEnabled );
/* Status Bar */ /* Status Bar */
timeLabel = new QLabel( 0 ); timeLabel = new QLabel;
nameLabel = new QLabel( 0 ); nameLabel = new QLabel;
speedLabel = new QLabel( "1.0x" );
timeLabel->setFrameStyle( QFrame::Sunken | QFrame::Panel ); timeLabel->setFrameStyle( QFrame::Sunken | QFrame::Panel );
statusBar()->addWidget( nameLabel, 4 ); speedLabel->setFrameStyle( QFrame::Sunken | QFrame::Panel );
statusBar()->addPermanentWidget( timeLabel, 1 ); statusBar()->addWidget( nameLabel, 8 );
statusBar()->addPermanentWidget( speedLabel, 0 );
statusBar()->addPermanentWidget( timeLabel, 2 );
/* Systray */ /* Systray */
sysTray = NULL; sysTray = NULL;
......
...@@ -112,6 +112,7 @@ private: ...@@ -112,6 +112,7 @@ private:
input_thread_t *p_input; ///< Main input associated to the playlist input_thread_t *p_input; ///< Main input associated to the playlist
QLabel *timeLabel; QLabel *timeLabel;
QLabel *speedLabel;
QLabel *nameLabel; QLabel *nameLabel;
void customEvent( QEvent *); void customEvent( QEvent *);
......
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