#include "About.h" #include #include #include #include #include void ShowAboutDialog(QWidget *parent) { QString pgLabVersionString = "0.2"; QString releaseNotesUrl = "https://eelke.gitlab.io/pgLab/releasenotes.html"; QString year = QString::fromLatin1(__DATE__, 11).right(4); QMessageBox::about(parent, "pgLab", QMessageBox::tr( "

Version %3

" "

Releasenotes

" "

Copyrights 2016-%1, Eelke Klein, All Rights Reserved.

" "

The program is provided AS IS with NO WARRANTY OF ANY KIND, " "INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS " "FOR A PARTICULAR PURPOSE.

" "

This program is dynamically linked with Qt " QT_VERSION_STR " Copyrights " "the Qt Company Ltd. https://www.qt.io/licensing/.

" "

Some icons by Icons8 and others by fatcow provided under Creative Commons " "attribution 3.0 license.

" ).arg(year).arg(releaseNotesUrl).arg(pgLabVersionString)); } void OpenManual() { QDesktopServices::openUrl(QString("https://eelke.gitlab.io/pgLab/")); }