Corrected background image name and added the logo to the about menu.

This commit is contained in:
jsantos committed 2018-02-01 16:40:24 +00:00
1 parent e69f405c9c
commit 777073cc23
4 files changed
+7 -3

No files matched your search

+2 -1
View File
@@ -1,6 +1,7 @@
/* This file is a part of PlaYUVer project
* Copyright (C) 2014-2018 by Joao Carreira (jfmcarreira@gmail.com)
* Luis Lucas (luisfrlucas@gmail.com)
* Joao Santos (joaompssantos@gmail.com)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -39,7 +40,7 @@
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-background-logo.png" ).scaled( QSize( 500, 350 ), Qt::KeepAspectRatio );
QLabel* pixmapLabel = new QLabel;
pixmapLabel->setPixmap( logo );
+2
View File
@@ -1,6 +1,7 @@
/* This file is a part of PlaYUVer project
* Copyright (C) 2014-2018 by Joao Carreira (jfmcarreira@gmail.com)
* Luis Lucas (luisfrlucas@gmail.com)
* Joao Santos (joaompssantos@gmail.com)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -747,6 +748,7 @@ Void PlaYUVerApp::createActions()
#endif
m_arrayActions[ABOUT_ACT] = new QAction( tr( "&About" ), this );
m_arrayActions[ABOUT_ACT]->setIcon( QIcon( ":images/playuver.png" ) );
m_arrayActions[ABOUT_ACT]->setStatusTip( tr( "Show the application's About box" ) );
connect( m_arrayActions[ABOUT_ACT], SIGNAL( triggered() ), this, SLOT( about() ) );
+2 -1
View File
@@ -1,6 +1,7 @@
/* This file is a part of PlaYUVer project
* Copyright (C) 2014-2018 by Joao Carreira (jfmcarreira@gmail.com)
* Luis Lucas (luisfrlucas@gmail.com)
* Joao Santos (joaompssantos@gmail.com)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -44,7 +45,7 @@ class PlaYUVerMdiArea : public QMdiArea
{
public:
PlaYUVerMdiArea( QWidget* parent = 0 )
: QMdiArea( parent ), m_pixmapLogo( ":/images/playuver-backgroud-logo.png" )
: QMdiArea( parent ), m_pixmapLogo( ":/images/playuver-background-logo.png" )
{
setBackgroundRole( QPalette::Background );
}
+1 -1
View File
@@ -1,7 +1,7 @@
<RCC>
<qresource>
<file alias="images/playuver.png">playuver.png</file>
<file alias="images/playuver-backgroud-logo.png">playuver-background-logo.png</file>
<file alias="images/playuver-background-logo.png">playuver-background-logo.png</file>
<file alias="images/open.png">icons/open.png</file>
<file alias="images/save.png">icons/save.png</file>