From b5e8a9ac9937ea43092ac289983943bbe914dc71 Mon Sep 17 00:00:00 2001 From: doitux Date: Sat, 5 Oct 2013 19:34:49 +0200 Subject: [PATCH] add third party libs licence infos into about --- data/misc/third_party_libs.txt | 40 +++++++++ src/gui/qt/aboutpokerth.ui | 88 ++++++++++++++++--- src/gui/qt/aboutpokerth/aboutpokerthimpl.cpp | 10 +++ .../gamelobbydialog/gamelobbydialogimpl.cpp | 2 +- .../qt/gui_800x480/aboutpokerth_800x480.ui | 65 ++++++++++++-- 5 files changed, 187 insertions(+), 18 deletions(-) create mode 100644 data/misc/third_party_libs.txt diff --git a/data/misc/third_party_libs.txt b/data/misc/third_party_libs.txt new file mode 100644 index 00000000..1242eabc --- /dev/null +++ b/data/misc/third_party_libs.txt @@ -0,0 +1,40 @@ +Qt +http://qt-project.org/doc/qt-5.0/qtdoc/opensourcelicense.html +http://qt-project.org/doc/qt-5.0/qtdoc/3rdparty.html + +Boost +http://www.boost.org/users/license.html + +libprotobuf +http://code.google.com/p/protobuf/ + +websocket++ +https://github.com/zaphoyd/websocketpp/blob/master/COPYING + +libcurl +http://curl.haxx.se/docs/copyright.html + +libgsasl +http://www.gnu.org/software/gsasl/ + +tinyxml +http://www.grinninglizard.com/tinyxmldocs/ + +OpenSSL +http://www.openssl.org/source/license.html + +libgcrypt +http://www.gnupg.org/ + +SDL +http://www.libsdl.org/license.php + +SDL_mixer +http://www.libsdl.org/projects/SDL_mixer/ + +sqlite3 +http://www.sqlite.org/copyright.html + +Due to dependencies of these libs, PokerTH may link to additional libs not listed here. If you think acknowledgement for a certain lib is missing, please contact us. + +This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/) diff --git a/src/gui/qt/aboutpokerth.ui b/src/gui/qt/aboutpokerth.ui index 6d844ac2..d9b138fe 100755 --- a/src/gui/qt/aboutpokerth.ui +++ b/src/gui/qt/aboutpokerth.ui @@ -12,7 +12,16 @@ - + + 9 + + + 9 + + + 9 + + 9 @@ -102,7 +111,16 @@ Project - + + 9 + + + 9 + + + 9 + + 9 @@ -117,8 +135,8 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Nimbus Sans L'; font-size:9pt; font-weight:400; font-style:normal;"> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p></body></html> +</style></head><body style=" font-family:'Liberation Sans'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Nimbus Sans L';"><br /></p></body></html> true @@ -132,7 +150,16 @@ p, li { white-space: pre-wrap; } Translation - + + 9 + + + 9 + + + 9 + + 9 @@ -144,11 +171,11 @@ p, li { white-space: pre-wrap; } <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Nimbus Sans L'; font-size:9pt; font-weight:400; font-style:normal;"> +</style></head><body style=" font-family:'Liberation Sans'; font-size:9pt; font-weight:400; font-style:normal;"> <table border="0" style="-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;"> <tr> <td style="border: none;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">translator name - mail address</span></p></td></tr></table></body></html> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Nimbus Sans L'; font-size:8pt;">translator name - mail address</span></p></td></tr></table></body></html> true @@ -162,7 +189,16 @@ p, li { white-space: pre-wrap; } Thanks to - + + 9 + + + 9 + + + 9 + + 9 @@ -174,8 +210,8 @@ p, li { white-space: pre-wrap; } <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Nimbus Sans L'; font-size:9pt; font-weight:400; font-style:normal;"> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p></body></html> +</style></head><body style=" font-family:'Liberation Sans'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Nimbus Sans L';"><br /></p></body></html> false @@ -195,7 +231,16 @@ p, li { white-space: pre-wrap; } License - + + 9 + + + 9 + + + 9 + + 9 @@ -213,6 +258,16 @@ p, li { white-space: pre-wrap; } + + + Third party libs + + + + + + + @@ -220,7 +275,16 @@ p, li { white-space: pre-wrap; } 6 - + + 0 + + + 0 + + + 0 + + 0 diff --git a/src/gui/qt/aboutpokerth/aboutpokerthimpl.cpp b/src/gui/qt/aboutpokerth/aboutpokerthimpl.cpp index 79d95324..55c4a883 100755 --- a/src/gui/qt/aboutpokerth/aboutpokerthimpl.cpp +++ b/src/gui/qt/aboutpokerth/aboutpokerthimpl.cpp @@ -131,4 +131,14 @@ aboutPokerthImpl::aboutPokerthImpl(QWidget *parent, ConfigFile *c) projectText.append("    Oskar Lindqvist (tranberry@pokerth.net)
"); projectText.append("        - "+tr("initial gui graphics design")+"
"); textBrowser_2->setHtml(projectText); + + QFile file(QDir::toNativeSeparators(myAppDataPath+"misc/third_party_libs.txt")); + QString string; + if(file.exists()) { + if (file.open( QIODevice::ReadOnly)) { + QTextStream stream( &file ); + string = stream.readAll(); + textBrowser_thirdPartyLicenceText->setPlainText(string); + } + } } diff --git a/src/gui/qt/gamelobbydialog/gamelobbydialogimpl.cpp b/src/gui/qt/gamelobbydialog/gamelobbydialogimpl.cpp index 69633b2f..8169d531 100644 --- a/src/gui/qt/gamelobbydialog/gamelobbydialogimpl.cpp +++ b/src/gui/qt/gamelobbydialog/gamelobbydialogimpl.cpp @@ -86,7 +86,7 @@ gameLobbyDialogImpl::gameLobbyDialogImpl(startWindowImpl *parent, ConfigFile *c) //HTML stuff QString pokerthDotNet("http://www.pokerth.net"); QString clickToRanking(QString("%1").arg(tr("Click here to view the online rankings"))); - QString clickToSpectate(QString("%1").arg(tr("Spectate"))); + QString clickToSpectate(QString("%1").arg(tr("Spectate"))); label_pokerthDotNet->setText(pokerthDotNet); label_rankings->setText(clickToRanking); label_spectate->setText(clickToSpectate); diff --git a/src/gui/qt/gui_800x480/aboutpokerth_800x480.ui b/src/gui/qt/gui_800x480/aboutpokerth_800x480.ui index 4da768a3..36a69b6b 100755 --- a/src/gui/qt/gui_800x480/aboutpokerth_800x480.ui +++ b/src/gui/qt/gui_800x480/aboutpokerth_800x480.ui @@ -24,7 +24,16 @@
- + + 9 + + + 9 + + + 9 + + 9 @@ -139,7 +148,16 @@ Project - + + 9 + + + 9 + + + 9 + + 9 @@ -169,7 +187,16 @@ p, li { white-space: pre-wrap; } Translation - + + 9 + + + 9 + + + 9 + + 9 @@ -199,7 +226,16 @@ p, li { white-space: pre-wrap; } Thanks to - + + 9 + + + 9 + + + 9 + + 9 @@ -226,7 +262,16 @@ p, li { white-space: pre-wrap; } License - + + 9 + + + 9 + + + 9 + + 9 @@ -244,6 +289,16 @@ p, li { white-space: pre-wrap; }
+ + + Third party libs + + + + + + +