Commit 3f1f34db authored by Ludovic Fauvet's avatar Ludovic Fauvet

Qt: add an icon in front of the resume panel

parent 0a9e3479
...@@ -374,12 +374,18 @@ void MainInterface::createContinueDialog( QWidget *w ) ...@@ -374,12 +374,18 @@ void MainInterface::createContinueDialog( QWidget *w )
QHBoxLayout *continueDialogLayout = new QHBoxLayout( continueDialog ); QHBoxLayout *continueDialogLayout = new QHBoxLayout( continueDialog );
continueDialogLayout->setSpacing( 0 ); continueDialogLayout->setMargin( 0 ); continueDialogLayout->setSpacing( 0 ); continueDialogLayout->setMargin( 0 );
QLabel *continuePixmapLabel = new QLabel();
continuePixmapLabel->setPixmap( QPixmap( ":/menu/help" ) );
continuePixmapLabel->setContentsMargins( 5, 0, 5, 0 );
QLabel *continueLabel = new QLabel( qtr( "Do you want to restart the playback where left off?") ); QLabel *continueLabel = new QLabel( qtr( "Do you want to restart the playback where left off?") );
QToolButton *cancel = new QToolButton( continueDialog ); QToolButton *cancel = new QToolButton( continueDialog );
cancel->setAutoRaise( true ); cancel->setAutoRaise( true );
cancel->setText( "X" ); cancel->setText( "X" );
QPushButton *ok = new QPushButton( qtr("&Continue") ); QPushButton *ok = new QPushButton( qtr("&Continue") );
continueDialogLayout->addWidget( continuePixmapLabel );
continueDialogLayout->addWidget(continueLabel); continueDialogLayout->addWidget(continueLabel);
continueDialogLayout->addStretch( 1 ); continueDialogLayout->addStretch( 1 );
continueDialogLayout->addWidget( ok ); continueDialogLayout->addWidget( ok );
......
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