Add about dialog to File menu of the connection manager.

Make the contents of the dialog more accurate and include a link to the releasenotes file.
This commit is contained in:
eelke 2022-09-03 12:44:32 +02:00
parent 4e1d128ee9
commit c874b297c1
8 changed files with 66 additions and 14 deletions

View file

@ -1,4 +1,5 @@
#include "DatabaseWindow.h"
#include "About.h"
#include "ui_DatabaseWindow.h"
#include "util.h"
#include "crud/CrudTab.h"
@ -305,19 +306,7 @@ void DatabaseWindow::dropEvent(QDropEvent *event)
void DatabaseWindow::on_actionAbout_triggered()
{
QMessageBox::about(this, "pgLab 0.1", tr(
"Copyrights 2016-2019, Eelke Klein, All Rights Reserved.\n"
"\n"
"The program is provided AS IS with NO WARRANTY OF ANY KIND, "
"INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS "
"FOR A PARTICULAR PURPOSE.\n"
"\n"
"This program is dynamically linked with Qt 5.12 Copyright (C) 2018 "
"The Qt Company Ltd. https://www.qt.io/licensing/. \n"
"\n"
"Icons by fatcow http://www.fatcow.com/free-icons provided under Creative Commons "
"attribution 3.0 license."
));
ShowAboutDialog(this);
}