Browse Source

New header image for about dialog

pull/63/head
dsc 3 months ago
parent
commit
85d4e0ac6d
  1. 1
      src/assets.qrc
  2. BIN
      src/assets/images/credits.jpg
  3. 4
      src/dialog/aboutdialog.cpp

1
src/assets.qrc

@ -131,6 +131,7 @@
<file>assets/images/welcome/wow76.png</file>
<file>assets/images/preferences.png</file>
<file>assets/images/preferences.svg</file>
<file>assets/images/credits.jpg</file>
<file>assets/images/qrcode.png</file>
<file>assets/images/qrcode_white.png</file>
<file>assets/images/revealer_c.png</file>

BIN
src/assets/images/credits.jpg

After

Width: 1268  |  Height: 586  |  Size: 227 KiB

4
src/dialog/aboutdialog.cpp

@ -13,8 +13,8 @@ AboutDialog::AboutDialog(QWidget *parent)
ui->setupUi(this);
this->setWindowIcon(QIcon("://assets/images/appicons/64x64.png"));
QPixmap p(":assets/images/illiterate_illuminati.png");
ui->aboutImage->setPixmap(p.scaled(128, 128, Qt::KeepAspectRatio, Qt::SmoothTransformation));
QPixmap p(":assets/images/credits.jpg");
ui->aboutImage->setPixmap(p.scaled(800, 600, Qt::KeepAspectRatio, Qt::SmoothTransformation));
auto about = Utils::fileOpenQRC(":assets/about.txt");
auto about_text = Utils::barrayToString(about);
about_text = about_text.replace("<wowlet_version>", WOWLET_VERSION);

Loading…
Cancel
Save