this, updateArt( const QString& ) );
}
-void BackgroundWidget::resizeEvent( QResizeEvent * event )
-{
- updateArt( "" );
- QWidget::resizeEvent( event );
-}
-
void BackgroundWidget::updateArt( const QString& url )
{
if ( !url.isEmpty() )
else
pixmapUrl = QString( ":/logo/vlc128.png" );
}
+ update();
}
void BackgroundWidget::paintEvent( QPaintEvent *e )
bool b_expandPixmap;
virtual void contextMenuEvent( QContextMenuEvent *event );
intf_thread_t *p_intf;
- virtual void resizeEvent( QResizeEvent * event );
protected:
void paintEvent( QPaintEvent *e );
static const int MARGIN = 5;