diff --git a/src/aboutkde.png b/src/aboutkde.png
deleted file mode 100644
index d39c600..0000000
Binary files a/src/aboutkde.png and /dev/null differ
diff --git a/src/aboutkde.svg b/src/aboutkde.svg
new file mode 100644
index 0000000..a602f48
--- /dev/null
+++ b/src/aboutkde.svg
@@ -0,0 +1,247 @@
+
+
diff --git a/src/kaboutkdedialog_p.cpp b/src/kaboutkdedialog_p.cpp
index 7153f1d..0d3ba81 100644
--- a/src/kaboutkdedialog_p.cpp
+++ b/src/kaboutkdedialog_p.cpp
@@ -1,160 +1,161 @@
/* This file is part of the KDE libraries
Copyright (C) 2007 Urs Wolfer
Parts of this class have been take from the KAboutKDE class, which was
Copyright (C) 2000 Espen Sand
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License version 2 as published by the Free Software Foundation.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#include "kaboutkdedialog_p.h"
#include
#include
#include
#include
#include
#include
#include
#include
#include "../kxmlgui_version.h"
namespace KDEPrivate
{
KAboutKdeDialog::KAboutKdeDialog(QWidget *parent)
: QDialog(parent),
d(nullptr)
{
setWindowTitle(i18n("About KDE"));
KTitleWidget *titleWidget = new KTitleWidget(this);
titleWidget->setText(i18n("KDE - Be Free!"));
titleWidget->setPixmap(QIcon::fromTheme(QStringLiteral("kde")).pixmap(48), KTitleWidget::ImageLeft);
QLabel *about = new QLabel;
about->setMargin(10);
about->setAlignment(Qt::AlignTop);
about->setWordWrap(true);
about->setOpenExternalLinks(true);
about->setTextInteractionFlags(Qt::TextBrowserInteraction);
about->setText(i18n(""
"KDE is a world-wide network of software engineers, artists, writers, translators and facilitators "
"who are committed to Free Software development. "
"This community has created hundreds of Free Software applications as part of the KDE "
"frameworks, workspaces and applications.
"
"KDE is a cooperative enterprise in which no single entity controls the "
"efforts or products of KDE to the exclusion of others. Everyone is welcome to join and "
"contribute to KDE, including you.
"
"Visit %2 for "
"more information about the KDE community and the software we produce.",
QStringLiteral("http://www.gnu.org/philosophy/free-sw.html"),
QStringLiteral("https://www.kde.org/")));
QLabel *report = new QLabel;
report->setMargin(10);
report->setAlignment(Qt::AlignTop);
report->setWordWrap(true);
report->setOpenExternalLinks(true);
report->setTextInteractionFlags(Qt::TextBrowserInteraction);
report->setText(i18n(""
"Software can always be improved, and the KDE team is ready to "
"do so. However, you - the user - must tell us when "
"something does not work as expected or could be done better.
"
"KDE has a bug tracking system. Visit "
"%1 or "
"use the \"Report Bug...\" dialog from the \"Help\" menu to report bugs.
"
"If you have a suggestion for improvement then you are welcome to use "
"the bug tracking system to register your wish. Make sure you use the "
"severity called \"Wishlist\".",
QStringLiteral("https://bugs.kde.org/")));
QLabel *join = new QLabel;
join->setMargin(10);
join->setAlignment(Qt::AlignTop);
join->setWordWrap(true);
join->setOpenExternalLinks(true);
join->setTextInteractionFlags(Qt::TextBrowserInteraction);
join->setText(i18n(""
"You do not have to be a software developer to be a member of the "
"KDE team. You can join the national teams that translate "
"program interfaces. You can provide graphics, themes, sounds, and "
"improved documentation. You decide!"
"
"
"Visit "
"%1 "
"for information on some projects in which you can participate."
"
"
"If you need more information or documentation, then a visit to "
"%2 "
"will provide you with what you need.",
QStringLiteral("https://www.kde.org/community/getinvolved/"),
QStringLiteral("https://techbase.kde.org/")));
QLabel *support = new QLabel;
support->setMargin(10);
support->setAlignment(Qt::AlignTop);
support->setWordWrap(true);
support->setOpenExternalLinks(true);
support->setTextInteractionFlags(Qt::TextBrowserInteraction);
support->setText(i18n(""
"KDE software is and will always be available free of charge, however creating it is not free.
"
"To support development the KDE community has formed the KDE e.V., a non-profit organization "
"legally founded in Germany. KDE e.V. represents the KDE community in legal and financial matters. "
"See %1"
" for information on KDE e.V.
"
"KDE benefits from many kinds of contributions, including financial. "
"We use the funds to reimburse members and others for expenses "
"they incur when contributing. Further funds are used for legal "
"support and organizing conferences and meetings.
"
"We would like to encourage you to support our efforts with a "
"financial donation, using one of the ways described at "
"%2."
"
Thank you very much in advance for your support.",
QStringLiteral("https://ev.kde.org/"),
QStringLiteral("https://www.kde.org/community/donations/")));
support->setMinimumSize(support->sizeHint());
QTabWidget *tabWidget = new QTabWidget;
tabWidget->setUsesScrollButtons(false);
tabWidget->addTab(about, i18nc("About KDE", "&About"));
tabWidget->addTab(report, i18n("&Report Bugs or Wishes"));
tabWidget->addTab(join, i18n("&Join KDE"));
tabWidget->addTab(support, i18n("&Support KDE"));
QLabel *image = new QLabel;
- image->setPixmap(QStringLiteral(":/kxmlgui5/aboutkde.png"));
+ QIcon icon(QStringLiteral(":/kxmlgui5/aboutkde.svg"));
+ image->setPixmap(icon.pixmap(150, 250));
QHBoxLayout *midLayout = new QHBoxLayout;
midLayout->addWidget(image);
midLayout->addWidget(tabWidget);
QDialogButtonBox *buttonBox = new QDialogButtonBox;
buttonBox->setStandardButtons(QDialogButtonBox::Close);
connect(buttonBox, SIGNAL(accepted()), this, SLOT(accept()));
connect(buttonBox, SIGNAL(rejected()), this, SLOT(reject()));
QVBoxLayout *mainLayout = new QVBoxLayout;
mainLayout->addWidget(titleWidget);
mainLayout->addLayout(midLayout);
mainLayout->addWidget(buttonBox);
setLayout(mainLayout);
}
}
diff --git a/src/kxmlgui.qrc b/src/kxmlgui.qrc
index 9aa4d9e..c1da1be 100644
--- a/src/kxmlgui.qrc
+++ b/src/kxmlgui.qrc
@@ -1,8 +1,8 @@
ui_standards.rc
- aboutkde.png
+ aboutkde.svgthumb_frame.png