- QWidget *infoWidget = new QWidget( this );
- QHBoxLayout *infoLayout = new QHBoxLayout( infoWidget );
- QLabel *infoLabel = new QLabel( "VLC media player " PACKAGE_VERSION "\n\n"
- "(c) 1996-2007 - the VideoLAN Team\n\n" +
- qtr( "VLC media player is a free media player, made by the "
- "VideoLAN Team.\nIt is a standalone multimedia player, "
- "encoder and streamer, that can read from many supports "
- "(files, CDs, DVDs, networks, capture cards...) and that "
- "works on many platforms.\n\n" )
- + qtr( "You are using the new Qt4 Interface.\n" )
- + qtr( "Compiled by " ) + qfu( VLC_CompileBy() )+ "@"
- + qfu( VLC_CompileDomain() ) + ".\n"
- + "Compiler: " + qfu( VLC_Compiler() ) + ".\n"
- + qtr( "Based on SVN revision: " ) + qfu( VLC_Changeset() )
- + ".\n\n"
- + qtr( "This program comes with NO WARRANTY, to the extent "
- "permitted by the law; read the distribution tab.\n\n" )
- + "The VideoLAN team <videolan@videolan.org> \n"
- "http://www.videolan.org/\n" );
- infoLabel->setWordWrap( infoLabel );
-
- QLabel *iconVLC2 = new QLabel;
- if( QDate::currentDate().dayOfYear() >= 354 )
- iconVLC2->setPixmap( QPixmap( ":/vlc128-christmas.png" ) );
- else
- iconVLC2->setPixmap( QPixmap( ":/vlc128.png" ) );
- infoLayout->addWidget( iconVLC2 );
- infoLayout->addWidget( infoLabel );
+ ui.infoLabel->setText(
+ qtr( "VLC media player is a free media player, "
+ "encoder and streamer that can read from files, "
+ "CDs, DVDs, network streams, capture cards and even more!\n"
+ "VLC uses its internal codecs and works on essentially every "
+ "popular platform.\n\n" )
+ + qtr( "This version of VLC was compiled by:\n " )
+ + qfu( VLC_CompileBy() )+ " on " + qfu( VLC_CompileHost() ) +
+ + " ("__DATE__" "__TIME__").\n"
+ + qtr( "Compiler: " ) + qfu( VLC_Compiler() ) + ".\n"
+ + qtr( "You are using the Qt4 Interface.\n\n" )
+ + qtr( "Copyright (C) " ) + COPYRIGHT_YEARS
+ + qtr( " by the VideoLAN Team.\n" )
+ + "vlc@videolan.org, http://www.videolan.org" );