From: tobtoht Date: Thu, 10 Apr 2025 02:19:34 +0000 (+0200) Subject: about: add versions tab X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=2bfdf146375dc335f42afc480e79b0a0a0e9a40e;p=gamesguru%2Ffeather.git about: add versions tab --- diff --git a/src/dialog/AboutDialog.cpp b/src/dialog/AboutDialog.cpp index 123b195d..bf8c7cf1 100644 --- a/src/dialog/AboutDialog.cpp +++ b/src/dialog/AboutDialog.cpp @@ -6,8 +6,10 @@ #include #include +#include #include "utils/Utils.h" +#include "version.h" AboutDialog::AboutDialog(QWidget *parent) : WindowModalDialog(parent) @@ -26,6 +28,12 @@ AboutDialog::AboutDialog(QWidget *parent) auto ack_text = Utils::barrayToString(ack); ui->ackText->setText(ack_text); + ui->label_featherVersion->setText(FEATHER_VERSION); + ui->label_moneroVersion->setText(MONERO_VERSION); + ui->label_qtVersion->setText(QT_VERSION_STR); + ui->label_torVersion->setText(TOR_VERSION); + ui->label_sslVersion->setText(QSslSocket::sslLibraryVersionString()); + this->adjustSize(); } diff --git a/src/dialog/AboutDialog.ui b/src/dialog/AboutDialog.ui index 14c8b931..1d06e2e8 100644 --- a/src/dialog/AboutDialog.ui +++ b/src/dialog/AboutDialog.ui @@ -23,7 +23,7 @@ - 0 + 2 @@ -214,6 +214,83 @@ + + + Versions + + + + + + <html><head/><body><p><span style=" font-weight:700;">Feather:</span></p></body></html> + + + + + + + TextLabel + + + + + + + <html><head/><body><p><span style=" font-weight:700;">Monero:</span></p></body></html> + + + + + + + TextLabel + + + + + + + <html><head/><body><p><span style=" font-weight:700;">Qt:</span></p></body></html> + + + + + + + TextLabel + + + + + + + <html><head/><body><p><span style=" font-weight:700;">SSL:</span></p></body></html> + + + + + + + TextLabel + + + + + + + <html><head/><body><p><span style=" font-weight:700;">Tor:</span></p></body></html> + + + + + + + TextLabel + + + + + Acknowledgements