Commit 4761695c authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: playlist: add tooltips

parent 7c0bb066
...@@ -144,6 +144,7 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i, QWidget *_par ) ...@@ -144,6 +144,7 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i, QWidget *_par )
searchEdit = new SearchLineEdit( this ); searchEdit = new SearchLineEdit( this );
searchEdit->setMaximumWidth( 250 ); searchEdit->setMaximumWidth( 250 );
searchEdit->setMinimumWidth( 80 ); searchEdit->setMinimumWidth( 80 );
searchEdit->setToolTip( qtr("Search the playlist") );
topbarLayout->addWidget( searchEdit ); topbarLayout->addWidget( searchEdit );
CONNECT( searchEdit, textChanged( const QString& ), CONNECT( searchEdit, textChanged( const QString& ),
mainView, search( const QString& ) ); mainView, search( const QString& ) );
...@@ -158,6 +159,7 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i, QWidget *_par ) ...@@ -158,6 +159,7 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i, QWidget *_par )
zoomSlider->setRange( -10, 10); zoomSlider->setRange( -10, 10);
zoomSlider->setPageStep( 3 ); zoomSlider->setPageStep( 3 );
zoomSlider->setValue( model->getZoom() ); zoomSlider->setValue( model->getZoom() );
zoomSlider->setToolTip( qtr("Zoom playlist") );
CONNECT( zoomSlider, valueChanged( int ), model, changeZoom( int ) ); CONNECT( zoomSlider, valueChanged( int ), model, changeZoom( int ) );
topbarLayout->addWidget( zoomSlider ); topbarLayout->addWidget( zoomSlider );
......
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