Re-format code
This commit is contained in:
+11
-7
@@ -20,7 +20,8 @@
|
||||
/**
|
||||
* \file AboutDialog.cpp
|
||||
* \brief About Dialog
|
||||
* Based on the work of Glad Deschrijver <glad.deschrijver@gmail.com> in KTikZ project
|
||||
* Based on the work of Glad Deschrijver <glad.deschrijver@gmail.com>
|
||||
* in KTikZ project
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
@@ -36,14 +37,16 @@
|
||||
|
||||
AboutDialog::AboutDialog( QWidget* parent ) : QDialog( parent )
|
||||
{
|
||||
QPixmap logo = QPixmap( ":/images/playuver-backgroud-logo.png" ).scaled( QSize( 500, 350 ), Qt::KeepAspectRatio );
|
||||
QPixmap logo = QPixmap( ":/images/playuver-backgroud-logo.png" )
|
||||
.scaled( QSize( 500, 350 ), Qt::KeepAspectRatio );
|
||||
QLabel* pixmapLabel = new QLabel;
|
||||
pixmapLabel->setPixmap( logo );
|
||||
|
||||
QLabel* label = new QLabel( QString( "<h1 style='text-align:center'>%1 Version %2</h1><h2>%3</h2>" )
|
||||
.arg( QApplication::applicationName() )
|
||||
.arg( QApplication::applicationVersion() )
|
||||
.arg( tr( "Enhanced open-source Qt-based raw video player" ) ) );
|
||||
QLabel* label =
|
||||
new QLabel( QString( "<h1 style='text-align:center'>%1 Version %2</h1><h2>%3</h2>" )
|
||||
.arg( QApplication::applicationName() )
|
||||
.arg( QApplication::applicationVersion() )
|
||||
.arg( tr( "Enhanced open-source Qt-based raw video player" ) ) );
|
||||
label->setWordWrap( true );
|
||||
|
||||
QString featuresList = QStringLiteral( "<p><b>Features:</b><ul>" );
|
||||
@@ -61,7 +64,8 @@ AboutDialog::AboutDialog( QWidget* parent ) : QDialog( parent )
|
||||
|
||||
QLabel* labelFeatures = new QLabel( featuresList );
|
||||
|
||||
QLabel* labelCopyright = new QLabel( QStringLiteral( "Copyright © 2014–2015 Luis Lucas and Joao Carreira" ) );
|
||||
QLabel* labelCopyright =
|
||||
new QLabel( QStringLiteral( "Copyright © 2014–2015 Luis Lucas and Joao Carreira" ) );
|
||||
|
||||
QWidget* topWidget = new QWidget;
|
||||
QVBoxLayout* topLayout = new QVBoxLayout;
|
||||
|
||||
Reference in New Issue
Block a user