diff --git a/AboutDialog.cpp b/AboutDialog.cpp index 1cc8e1a..b3bc840 100644 --- a/AboutDialog.cpp +++ b/AboutDialog.cpp @@ -26,7 +26,8 @@ MM_BEGIN_NAMESPACE AboutDialog::AboutDialog(QWidget *parent) : QDialog(parent) { // Defines fixed size - setFixedSize(ABOUT_WINDOW_WIDTH, ABOUT_WINDOW_HEIGHT); + resize(ABOUT_WINDOW_WIDTH, ABOUT_WINDOW_HEIGHT); + setMinimumSize(ABOUT_WINDOW_WIDTH, ABOUT_WINDOW_HEIGHT); // Set title setWindowTitle(tr("About %1").arg(MM::APPLICATION_NAME)); @@ -36,26 +37,27 @@ AboutDialog::AboutDialog(QWidget *parent) : QDialog(parent) // Set icon label _iconLabel = new QLabel; - _iconLabel->setPixmap(QPixmap(":/mapmap-logo").scaled(64, 64)); - _mainLayout->addWidget(_iconLabel, 0, 0, 1, 1, Qt::AlignCenter); + _iconLabel->setPixmap(QPixmap(":/mapmap-logo").scaled(64, 64, Qt::KeepAspectRatio, Qt::SmoothTransformation)); + _iconLabel->setContentsMargins(0, 20, 0, 20); + _mainLayout->addWidget(_iconLabel, 0, 0, 1, 1, Qt::AlignRight); // Set title label _textLabel = new QLabel; - _textLabel->setPixmap(QPixmap(":/mapmap-title")); - _mainLayout->addWidget(_textLabel, 0, 1, 1, 1); + _textLabel->setPixmap(QPixmap(":/mapmap-title-light").scaled(200, 40, Qt::KeepAspectRatio, Qt::SmoothTransformation)); + _mainLayout->addWidget(_textLabel, 0, 2); // Set version label _versionLabel = new QLabel; _versionLabel->setText(QString("
" + tr("MapMap is a free/open source video mapping software.") + "
"; // Copyright and software owners @@ -92,6 +94,7 @@ void AboutDialog::createAboutTab() QString projectWebsiteText = "" + tr("See the ") + QString("").arg(MM::ORGANIZATION_DOMAIN) + tr("%1 website").arg(MM::APPLICATION_NAME) + " for more information on this software.
"; // Append texts + QString aboutText; aboutText.append(aboutSoftwareText); aboutText.append(copyrightText); aboutText.append(licenseNoticeText); @@ -121,6 +124,18 @@ void AboutDialog::createLibrairiesTab() _librariesTextBrowser = new QTextBrowser; _librariesTextBrowser->setOpenExternalLinks(true); + QString qtVersionText = QString("