diff options
author | Saturneric <[email protected]> | 2021-06-18 08:47:06 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-06-18 08:47:06 +0000 |
commit | 4bd6e0a8f18603e1ea0600fd6df97d2bafef627f (patch) | |
tree | 98c72ecde2eb7605f4371fbe4ffecc5468688a71 /src/ui/AboutDialog.cpp | |
parent | Fixed. (diff) | |
download | GpgFrontend-4bd6e0a8f18603e1ea0600fd6df97d2bafef627f.tar.gz GpgFrontend-4bd6e0a8f18603e1ea0600fd6df97d2bafef627f.zip |
Improve project configuration files.
Set the TS file to update automatically.
Set to automatically generate QM files.
Adjust the configuration file reading path.
Fix the refresh logic of the configuration file.
Set icon for executable file
Improve the about page.
Adjust the configuration file reading and setting related to Key Server.
Diffstat (limited to 'src/ui/AboutDialog.cpp')
-rw-r--r-- | src/ui/AboutDialog.cpp | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/src/ui/AboutDialog.cpp b/src/ui/AboutDialog.cpp index 67069049..652bb956 100644 --- a/src/ui/AboutDialog.cpp +++ b/src/ui/AboutDialog.cpp @@ -49,19 +49,22 @@ AboutDialog::AboutDialog(QWidget *parent) InfoTab::InfoTab(QWidget *parent) : QWidget(parent) { auto *pixmap = new QPixmap(":gpgfrontend-logo.png"); - auto *text = new QString("<center><h2>" + qApp->applicationName() + " " - + qApp->applicationVersion() + "</h2></center>" - + tr("<center>This application allows simple encryption <br>" - "and decryption of text messages or files.<br>" - "It's licensed under the GPL v3<br><br>" - "<b>Developer:</b><br>" - "Saturneric<br><br>" - "If you have any questions or suggestions have a look<br/>" - "at my <a href=\"https://bktus.com/%e8%81%94%e7%b3%bb%e4%b8%8e%e9%aa%8c%e8%af%81\">" - "contact page</a> or send a mail to my<br/> mailing list at" - " <a href=\"mailto:[email protected]\">[email protected]</a>.") + - tr("<br><br> Built with Qt ") + qVersion() - + tr(" and GPGME ") + GpgME::GpgContext::getGpgmeVersion() + "</center>"); + auto *text = new QString("<center><h2>" + qApp->applicationName() + "</h2></center>" + + "<center><b>" + qApp->applicationVersion() + "</b></center>" + + "<center>" + GIT_VERSION + "</center>" + + tr("<br><center>GPGFrontend is a modern, easy-to-use, compact, <br>" + "cross-platform, and installation-free gpg front-end tool.<br>" + "It visualizes most of the common operations of gpg commands.<br>" + "It's licensed under the GPL v3<br><br>" + "<b>Developer:</b><br>" + "Saturneric<br><br>" + "If you have any questions or suggestions have a look<br/>" + "at my <a href=\"https://bktus.com/%e8%81%94%e7%b3%bb%e4%b8%8e%e9%aa%8c%e8%af%81\">" + "contact page</a> or send a mail to my<br/> mailing list at" + " <a href=\"mailto:[email protected]\">[email protected]</a>.") + + tr("<br><br> Built with Qt ") + qVersion() + + tr(" and GPGME ") + GpgME::GpgContext::getGpgmeVersion() + + tr("<br>Built at ") + BUILD_TIMESTAMP + "</center>"); auto *layout = new QGridLayout(); auto *pixmapLabel = new QLabel(); |