diff --git a/LameXP_VS2010.vcxproj b/LameXP_VS2010.vcxproj index ab750f43..e70f115a 100644 --- a/LameXP_VS2010.vcxproj +++ b/LameXP_VS2010.vcxproj @@ -1498,6 +1498,24 @@ del "$(TargetDir)imageformats\q???d4.dll" $(SolutionDir)tmp\UIC_%(Filename).h;%(Outputs) $(SolutionDir)tmp\UIC_%(Filename).h;%(Outputs) + + Document + "$(QTDIR)\bin\uic.exe" -o "$(SolutionDir)tmp\UIC_%(Filename).h" "%(FullPath)" + "$(QTDIR)\bin\uic.exe" -o "$(SolutionDir)tmp\UIC_%(Filename).h" "%(FullPath)" + "$(QTDIR)\bin\uic.exe" -o "$(SolutionDir)tmp\UIC_%(Filename).h" "%(FullPath)" + "$(QTDIR)\bin\uic.exe" -o "$(SolutionDir)tmp\UIC_%(Filename).h" "%(FullPath)" + "$(QTDIR)\bin\uic.exe" -o "$(SolutionDir)tmp\UIC_%(Filename).h" "%(FullPath)" + UIC "$(SolutionDir)tmp\UIC_%(Filename).h" + UIC "$(SolutionDir)tmp\UIC_%(Filename).h" + UIC "$(SolutionDir)tmp\UIC_%(Filename).h" + UIC "$(SolutionDir)tmp\UIC_%(Filename).h" + UIC "$(SolutionDir)tmp\UIC_%(Filename).h" + $(SolutionDir)tmp\UIC_%(Filename).h;%(Outputs) + $(SolutionDir)tmp\UIC_%(Filename).h;%(Outputs) + $(SolutionDir)tmp\UIC_%(Filename).h;%(Outputs) + $(SolutionDir)tmp\UIC_%(Filename).h;%(Outputs) + $(SolutionDir)tmp\UIC_%(Filename).h;%(Outputs) + UIC "$(SolutionDir)tmp\UIC_%(Filename).h" @@ -1542,21 +1560,18 @@ del "$(TargetDir)imageformats\q???d4.dll" UIC "$(SolutionDir)tmp\UIC_%(Filename).h" UIC "$(SolutionDir)tmp\UIC_%(Filename).h" - "$(QTDIR)\bin\uic.exe" -o "$(SolutionDir)tmp\UIC_%(Filename).h" "%(FullPath)" - - "$(QTDIR5)\qtbase\bin\uic.exe" -o "$(SolutionDir)tmp\UIC_%(Filename).h" "%(FullPath)" + "$(QTDIR)\bin\uic.exe" -o "$(SolutionDir)tmp\UIC_%(Filename).h" "%(FullPath)" + "$(QTDIR)\bin\uic.exe" -o "$(SolutionDir)tmp\UIC_%(Filename).h" "%(FullPath)" $(SolutionDir)tmp\UIC_%(Filename).h;%(Outputs) $(SolutionDir)tmp\UIC_%(Filename).h;%(Outputs) UIC "$(SolutionDir)tmp\UIC_%(Filename).h" UIC "$(SolutionDir)tmp\UIC_%(Filename).h" - "$(QTDIR)\bin\uic.exe" -o "$(SolutionDir)tmp\UIC_%(Filename).h" "%(FullPath)" - - "$(QTDIR5)\qtbase\bin\uic.exe" -o "$(SolutionDir)tmp\UIC_%(Filename).h" "%(FullPath)" + "$(QTDIR)\bin\uic.exe" -o "$(SolutionDir)tmp\UIC_%(Filename).h" "%(FullPath)" + "$(QTDIR)\bin\uic.exe" -o "$(SolutionDir)tmp\UIC_%(Filename).h" "%(FullPath)" $(SolutionDir)tmp\UIC_%(Filename).h;%(Outputs) $(SolutionDir)tmp\UIC_%(Filename).h;%(Outputs) UIC "$(SolutionDir)tmp\UIC_%(Filename).h" - "$(QTDIR)\bin\uic.exe" -o "$(SolutionDir)tmp\UIC_%(Filename).h" "%(FullPath)" - + "$(QTDIR)\bin\uic.exe" -o "$(SolutionDir)tmp\UIC_%(Filename).h" "%(FullPath)" $(SolutionDir)tmp\UIC_%(Filename).h;%(Outputs) diff --git a/LameXP_VS2010.vcxproj.filters b/LameXP_VS2010.vcxproj.filters index 9d02a6e8..2372165e 100644 --- a/LameXP_VS2010.vcxproj.filters +++ b/LameXP_VS2010.vcxproj.filters @@ -692,6 +692,9 @@ Header Files\Misc + + Dialogs + diff --git a/License.txt b/License.txt index ecef7655..1025790e 100644 --- a/License.txt +++ b/License.txt @@ -1,10 +1,10 @@ GNU GENERAL PUBLIC LICENSE Version 2, June 1991 - Copyright (C) 1989, 1991 Free Software Foundation, Inc. +Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. +Everyone is permitted to copy and distribute verbatim copies +of this license document, but changing it is not allowed. Preamble @@ -338,5 +338,3 @@ proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. - - diff --git a/etc/Translation/Blank.ts b/etc/Translation/Blank.ts index d9f5e550..cced5bb4 100644 --- a/etc/Translation/Blank.ts +++ b/etc/Translation/Blank.ts @@ -4,300 +4,318 @@ AboutDialog - - LameXP - Audio Encoder Front-end - - - - - Please visit %1 for news and updates! - - - - - - Note: This demo (pre-release) version of LameXP will expire at %1. Still %2 days left. - - - - - Note: LameXP is free software. Do <b>not</b> pay money to obtain or use LameXP! If some third-party website tries to make you pay for downloading LameXP, you should <b>not</b> respond to the offer !!! - - - - - Special thanks go out to "John33" from %1 for his continuous support. - - - - + About LameXP - - Show License Text + + Information - - Accept License - - - - - Decline License - - - - - 3rd Party S/W - - - - + Contributors - - About Qt5 + + 3rd Party S/W - - About Qt4 + + License - - - + + Accept License + + + + + Decline License + + + + + About Qt + + + + Discard - - The following people have contributed to LameXP: - - - - - Translators: - - - - - If you are willing to contribute a LameXP translation, feel free to contact us! - - - - - About Contributors - - - - - The following third-party software is used in LameXP: - - - - - LAME - OpenSource mp3 Encoder - - - - - - - - - - - - - - - Released under the terms of the GNU Lesser General Public License. - - - - - OggEnc - Ogg Vorbis Encoder - - - - - Completely open and patent-free audio encoding technology. - - - - - Nero AAC Reference MPEG-4 Encoder - - - - - Freeware state-of-the-art HE-AAC encoder with 2-Pass support. - - - - - Available from vendor web-site as free download: - - - - - Aften - A/52 audio encoder - - - - - FLAC - Free Lossless Audio Codec - - - - - Open and patent-free lossless audio compression technology. - - - - - mpg123 - Fast Console MPEG Audio Player/Decoder - - - - - FAAD - OpenSource MPEG-4 and MPEG-2 AAC Decoder - - - - - Released under the terms of the GNU General Public License. - - - - - AC3Filter Tools - AC3/DTS Decoder - - - - - WavPack - Hybrid Lossless Compression + + LameXP - Audio Encoder Front-end - Completely open audio compression format. + Please visit %1 for news and updates! - - Musepack - Living Audio Compression + + + Note: This demo (pre-release) version of LameXP will expire at %1. Still %2 days left. - - Monkey's Audio - Lossless Audio Compressor + + Note: LameXP is free software. Do <b>not</b> pay money to obtain or use LameXP! If some third-party website tries to make you pay for downloading LameXP, you should <b>not</b> respond to the offer !!! - - Freely available source code, simple SDK and non-restrictive licensing. + + Special thanks go out to "John33" from %1 for his continuous support. - - Shorten - Lossless Audio Compressor + + The following people have contributed to LameXP: - - Speex - Free Codec For Free Speech - - - - - Open Source patent-free audio format designed for speech. - - - - - The True Audio - Lossless Audio Codec - - - - - ALAC Decoder - - - - - Copyright (c) 2004 David Hammerton. Contributions by Cody Brocious. - - - - - wma2wav - Dump WMA files to Wave Audio - - - - - Copyright (c) 2011 LoRd_MuldeR <mulder2@gmx.de>. Some rights reserved. - - - - - avs2wav - Avisynth to Wave Audio converter + + Programmers: + Project Leader + + + + + Translators: + + + + + If you are willing to contribute a LameXP translation, feel free to contact us! + + + + + The following third-party software is used in LameXP: + + + + + LAME - OpenSource mp3 Encoder + + + + + + + + + + + + + + + Released under the terms of the GNU Lesser General Public License. + + + + + OggEnc - Ogg Vorbis Encoder + + + + + Completely open and patent-free audio encoding technology. + + + + + Nero AAC Reference MPEG-4 Encoder + + + + + Freeware state-of-the-art HE-AAC encoder with 2-Pass support. + + + + + Available from vendor web-site as free download: + + + + + Aften - A/52 audio encoder + + + + + FLAC - Free Lossless Audio Codec + + + + + Open and patent-free lossless audio compression technology. + + + + + Opus Audio Codec + + + + + Totally open, royalty-free, highly versatile audio codec. + + + + + mpg123 - Fast Console MPEG Audio Player/Decoder + + + + + FAAD - OpenSource MPEG-4 and MPEG-2 AAC Decoder + + + + + Released under the terms of the GNU General Public License. + + + + + AC3Filter Tools - AC3/DTS Decoder + + + + + WavPack - Hybrid Lossless Compression + + + + + Completely open audio compression format. + + + + + Musepack - Living Audio Compression + + + + + Monkey's Audio - Lossless Audio Compressor + + + + + Freely available source code, simple SDK and non-restrictive licensing. + + + + + Shorten - Lossless Audio Compressor + + + + + Speex - Free Codec For Free Speech + + + + + Open Source patent-free audio format designed for speech. + + + + + The True Audio - Lossless Audio Codec + + + + + ALAC Decoder + + + + + Copyright (c) 2004 David Hammerton. Contributions by Cody Brocious. + + + + + wma2wav - Dump WMA files to Wave Audio + + + + + Copyright (c) 2011 LoRd_MuldeR <mulder2@gmx.de>. Some rights reserved. + + + + + avs2wav - Avisynth to Wave Audio converter + + + + By Jory Stone <jcsston@toughguy.net> and LoRd_MuldeR <mulder2@gmx.de>. - + dcaenc - + Copyright (c) 2008-2011 Alexander E. Patrakov. Distributed under the LGPL. - + MediaInfo - Media File Analysis Tool - + SoX - Sound eXchange - + GnuPG - The GNU Privacy Guard - + GNU Wget - Software for retrieving files using HTTP - + + Silk Icons - Over 700 icons in PNG format + + + + + By Mark James, released under the Creative Commons 'by' License. + + + + LameXP as a whole is copyrighted by LoRd_MuldeR. The copyright of third-party software used in LameXP belongs to the individual authors. - - About Third-party Software - - - - + n/a @@ -3080,22 +3098,23 @@ QApplication - + Executable '%1' doesn't support Windows compatibility mode. - + Executable '%1' requires Qt v%2, but found Qt v%3. - + Executable '%1' was built for Qt '%2', but found Qt '%3'. - + + Executable '%1' requires Windows 2000 or later. diff --git a/etc/Translation/LameXP_DE.ts b/etc/Translation/LameXP_DE.ts index beba875b..5c145405 100644 --- a/etc/Translation/LameXP_DE.ts +++ b/etc/Translation/LameXP_DE.ts @@ -19,10 +19,6 @@ About LameXP Über LameXP - - Show License Text - Lizenztext anzeigen - Accept License Lizenz annehmen @@ -39,10 +35,6 @@ Contributors Mitwirkende - - About Qt4 - Über Qt4 - Discard Schließen @@ -59,10 +51,6 @@ If you are willing to contribute a LameXP translation, feel free to contact us! Wenn Sie LameXP in Ihre Sprache übersetzen möchten, melden Sie sich bitte bei uns! - - About Contributors - Über Mitwirkende - The following third-party software is used in LameXP: Die folgende Drittsoftware wird in LameXP eingesetzt: @@ -87,10 +75,6 @@ Open and patent-free lossless audio compression technology. Offene und patentfreie Technlogie zur verlustfreien Audiokompression. - - About Third-party Software - Über Drittsoftware - n/a n/v @@ -228,8 +212,40 @@ - About Qt5 - Über Qt5 + Information + Informationen + + + License + Lizenzbedingungen + + + About Qt + Über Qt + + + Programmers: + Entwickler: + + + Project Leader + Projektleitung + + + Opus Audio Codec + + + + Totally open, royalty-free, highly versatile audio codec. + Komplett offener, kostenloser und vielseitiger Audio Codec. + + + Silk Icons - Over 700 icons in PNG format + Silk Icons - Über 700 Symbole im PNG Format + + + By Mark James, released under the Creative Commons 'by' License. + Von Mark James, veröffentlicht unter der Creative Commons 'by' Lizenz. diff --git a/etc/Translation/LameXP_ES.ts b/etc/Translation/LameXP_ES.ts index d085787f..725e5b5d 100644 --- a/etc/Translation/LameXP_ES.ts +++ b/etc/Translation/LameXP_ES.ts @@ -19,10 +19,6 @@ About LameXP Acerca de LameXP - - Show License Text - Mostrar licencia - Accept License Aceptar licencia @@ -39,10 +35,6 @@ Contributors Contribuidores - - About Qt4 - Acerca de Qt4 - Discard Cancelar @@ -59,10 +51,6 @@ If you are willing to contribute a LameXP translation, feel free to contact us! ¡Si está dispuesto a traducir LameXP, contáctenos sin dudarlo! - - About Contributors - Acerca de los contribuidores - The following third-party software is used in LameXP: Software de terceros que se utiliza en LameXP: @@ -87,10 +75,6 @@ Open and patent-free lossless audio compression technology. Tecnología de codificación de audio sin pérdidas, abierta y libre de patentes. - - About Third-party Software - Acerca del Software de terceros - n/a n/d @@ -228,8 +212,40 @@ Copyright (c) 2008-2011 Alexander E. Patrakov. Distribuido bajo licencia LGPL. - About Qt5 - Acerca de Qt5 + Information + + + + License + + + + About Qt + + + + Programmers: + + + + Project Leader + + + + Opus Audio Codec + + + + Totally open, royalty-free, highly versatile audio codec. + + + + Silk Icons - Over 700 icons in PNG format + + + + By Mark James, released under the Creative Commons 'by' License. + diff --git a/etc/Translation/LameXP_FR.ts b/etc/Translation/LameXP_FR.ts index ef4e45c5..196adc02 100644 --- a/etc/Translation/LameXP_FR.ts +++ b/etc/Translation/LameXP_FR.ts @@ -19,10 +19,6 @@ About LameXP A propos de LameXP - - Show License Text - Afficher la licence - Accept License Accepter la licence @@ -39,10 +35,6 @@ Contributors Contributeurs - - About Qt4 - A propos de Qt4 - Discard Abandonner @@ -59,10 +51,6 @@ If you are willing to contribute a LameXP translation, feel free to contact us! Si vous êtes prêt à contribuer à une traduction de LameXP, n'hésitez pas à nous contacter! - - About Contributors - A porpos des contributeurs - The following third-party software is used in LameXP: Le logiciel tiers suivant est utilisé dans LameXP: @@ -88,10 +76,6 @@ Open and patent-free lossless audio compression technology. Technologie de compression audio sans perte ouverte et libre de brevets. - - About Third-party Software - A propos des logiciels tiers - n/a n/a @@ -232,8 +216,40 @@ - About Qt5 - A propos de Qt5 + Information + + + + License + + + + About Qt + + + + Programmers: + + + + Project Leader + + + + Opus Audio Codec + + + + Totally open, royalty-free, highly versatile audio codec. + + + + Silk Icons - Over 700 icons in PNG format + + + + By Mark James, released under the Creative Commons 'by' License. + diff --git a/etc/Translation/LameXP_IT.ts b/etc/Translation/LameXP_IT.ts index e350a9b4..cfa09a18 100644 --- a/etc/Translation/LameXP_IT.ts +++ b/etc/Translation/LameXP_IT.ts @@ -19,10 +19,6 @@ About LameXP Riguardo LameXP - - Show License Text - Visualizza Testo Licenza - Accept License Accetta Licenza @@ -39,10 +35,6 @@ Contributors Collaboratori - - About Qt4 - Riguardo Qt4 - Discard Annulla @@ -59,10 +51,6 @@ If you are willing to contribute a LameXP translation, feel free to contact us! Se sei disponibile a contribuire alla traduzione di LameXP, sei libero di contattarci! - - About Contributors - Riguardo i Collaboratori - The following third-party software is used in LameXP: Il seguente software di terze parti è usato in LameXP: @@ -87,10 +75,6 @@ Open and patent-free lossless audio compression technology. Tecnologia di compressione audio libera e non vincolata da brevetti. - - About Third-party Software - Riguardo Software Terze Parti - n/a @@ -228,8 +212,40 @@ - About Qt5 - Riguardo Qt5 + Information + + + + License + + + + About Qt + + + + Programmers: + + + + Project Leader + + + + Opus Audio Codec + + + + Totally open, royalty-free, highly versatile audio codec. + + + + Silk Icons - Over 700 icons in PNG format + + + + By Mark James, released under the Creative Commons 'by' License. + diff --git a/etc/Translation/LameXP_KR.ts b/etc/Translation/LameXP_KR.ts index dcc22424..e0ca4d83 100644 --- a/etc/Translation/LameXP_KR.ts +++ b/etc/Translation/LameXP_KR.ts @@ -23,10 +23,6 @@ About LameXP LameXP에 대해 - - Show License Text - 라이센스 보기 - Accept License 동의 @@ -43,10 +39,6 @@ Contributors 기여자 - - About Qt4 - Qt4에 대해 - Discard 닫기 @@ -63,10 +55,6 @@ If you are willing to contribute a LameXP translation, feel free to contact us! LameXP 번역에 도움을 주실 분들은 연락주시기 바랍니다! - - About Contributors - 도움 주신 분들 - The following third-party software is used in LameXP: 다음과 같은 타사 소프트웨어가 LameXP에 사용되었습니다: @@ -179,10 +167,6 @@ LameXP as a whole is copyrighted by LoRd_MuldeR. The copyright of third-party software used in LameXP belongs to the individual authors. LameXP 전체의 저작권은 LoRd_MuldeR에게 있습니다. LameXP에 사용된 타사 소프트웨어는 각 소프트웨어의 저작자에게 저작권이 있습니다. - - About Third-party Software - 타사 소프트웨어에 대해 - n/a 없음 @@ -228,8 +212,40 @@ 저작권 (c) 2008-2011 Alexander E. Patrakov. Distributed under the LGPL. - About Qt5 - Qt5에 대해 + Information + + + + License + + + + About Qt + + + + Programmers: + + + + Project Leader + + + + Opus Audio Codec + + + + Totally open, royalty-free, highly versatile audio codec. + + + + Silk Icons - Over 700 icons in PNG format + + + + By Mark James, released under the Creative Commons 'by' License. + diff --git a/etc/Translation/LameXP_PL.ts b/etc/Translation/LameXP_PL.ts index 4cce4eb7..aab4560b 100644 --- a/etc/Translation/LameXP_PL.ts +++ b/etc/Translation/LameXP_PL.ts @@ -4,300 +4,318 @@ AboutDialog - + LameXP - Audio Encoder Front-end LameXP - Program do kompresji dźwięku - + Please visit %1 for news and updates! Odwiedź %1 aby zobaczyć nowości i aktualizacje! - - + + Note: This demo (pre-release) version of LameXP will expire at %1. Still %2 days left. Uwaga: To jest wersja demo (próbna) LameXP, która wygaśnie %1. Pozostało jeszcze %2 dni. - + Note: LameXP is free software. Do <b>not</b> pay money to obtain or use LameXP! If some third-party website tries to make you pay for downloading LameXP, you should <b>not</b> respond to the offer !!! Uwaga: LameXP jest darmowym oprogramowaniem. <b>Nie</b> płać nikomu za ten program! Jeśli ktoś oferuje Ci LameXP za pieniądze <b>nie</b> kupuj od niego!!! - + Special thanks go out to "John33" from %1 for his continuous support. Specjalne podziękowania dla John33 z %1 za jego stałe wsparcie. - + About LameXP Informacje o LameXP - - Show License Text - Pokaż tekst licencji - - - + Accept License Akceptuj licencję - + Decline License Odrzuć licencję - + 3rd Party S/W Programy firm trzecich - + + Information + + + + Contributors Tłumacze - - About Qt4 - Info o Qt4 + + License + - - About Qt5 - Info o Qt5 + + About Qt + - - - + Discard Zamknij - + The following people have contributed to LameXP: LameXP wspomogli: - + + Programmers: + + + + + Project Leader + + + + Translators: Tłumacze: - + If you are willing to contribute a LameXP translation, feel free to contact us! Jeśli chcesz wspomóc LameXP w obsłudze większej ilości języków, nie wahaj skontaktować się z nami! - - About Contributors - Informacje o tłumaczach - - - + The following third-party software is used in LameXP: Następujące programy firm trzecich zostały użyte w LameXP: - + LAME - OpenSource mp3 Encoder LAME - Otwartoźródłowy koder mp3 - - - - - - - - - - - + + + + + + + + + + + Released under the terms of the GNU Lesser General Public License. Wydane na warunkach licencji GNU Lesser General Public License. - + OggEnc - Ogg Vorbis Encoder OggEnc - Koder Ogg Vorbis - + Completely open and patent-free audio encoding technology. Całkowicie otwarta i wolna od patentów technologia kompresji dźwięku. - + Nero AAC Reference MPEG-4 Encoder Nero AAC Reference MPEG-4 Encoder - + Freeware state-of-the-art HE-AAC encoder with 2-Pass support. Darmowy, jedyny w swoim rodzaju koder HE-AAC z wsparciem dla dwóch przebiegów. - + Available from vendor web-site as free download: Darmowy pakiet dostępny ze strony wydawcy: - + Aften - A/52 audio encoder Aften - Koder dźwięku A/52 - + FLAC - Free Lossless Audio Codec FLAC - Darmowy i bezstartny kodek dźwięku - + Open and patent-free lossless audio compression technology. Otwarta i wolna od patentów technologia bezstratnej kompresji dźwięku. - + + Opus Audio Codec + + + + + Totally open, royalty-free, highly versatile audio codec. + + + + mpg123 - Fast Console MPEG Audio Player/Decoder mpg123 - Szybki dekoder/odtwarzacz MPEG Audio - + FAAD - OpenSource MPEG-4 and MPEG-2 AAC Decoder FAAD - Otwartoźródłowy dekoder MPEG-4 oraz MPEG-2 AAC - + Released under the terms of the GNU General Public License. Wydane na warunkach licencji GNU General Public License. - + AC3Filter Tools - AC3/DTS Decoder AC3Filter Tools - Dekoder AC3/DTS - + WavPack - Hybrid Lossless Compression Wavpack - Bezstratny hybrydowy kodek dźwięku - + Completely open audio compression format. Całkowicie otwarty format kompresji dźwięku. - + Musepack - Living Audio Compression Musepack - Koder dźwięku - + Monkey's Audio - Lossless Audio Compressor Monkey's Audio - Koder bezstratnego formatu dźwięku - + Freely available source code, simple SDK and non-restrictive licensing. Szeroko dostępny kod źródłowy, prosty SDK i bezrestrykcyjna licencja. - + Shorten - Lossless Audio Compressor Shorten - Bezstratny kodek dźwięku - + Speex - Free Codec For Free Speech Speex - Darmowy kodek dla mowy ludzkiej - + Open Source patent-free audio format designed for speech. Otwartoźródłowy, wolny od patentów format dźwięku przeznaczony dla mowy ludzkiej. - + The True Audio - Lossless Audio Codec The True Audio - Bezstratny kodek dźwięku - + ALAC Decoder Dekoder ALAC - + Copyright (c) 2004 David Hammerton. Contributions by Cody Brocious. Prawa autorskie: 2004 David Hammerton. Kodu użyczył Cody Brocious. - + wma2wav - Dump WMA files to Wave Audio wma2wav - Dekoder plików WMA do Wave - + Copyright (c) 2011 LoRd_MuldeR <mulder2@gmx.de>. Some rights reserved. Prawa autorskie: 2011 LoRd_MuldeR <mulder2@gmx.de>. Pewne prawa zastrzeżone. - + avs2wav - Avisynth to Wave Audio converter avs2wav - Konwerter dźwięku z Avisynth do Wave - + By Jory Stone <jcsston@toughguy.net> and LoRd_MuldeR <mulder2@gmx.de>. Autorami programu są Jory Stone <jcsston@toughguy.net> i LoRd_MuldeR <mulder2@gmx.de>. - + dcaenc dcaenc - + Copyright (c) 2008-2011 Alexander E. Patrakov. Distributed under the LGPL. Prawa autorskie: 2008-2011 Alexander E. Patrakov. Rozpowszechniane na licencji LGPL. - + MediaInfo - Media File Analysis Tool MediaInfo - Narzędzie do analizy plików multimedialnych - + SoX - Sound eXchange SoX - Sound eXchange - + GnuPG - The GNU Privacy Guard GnuPG - GNU Privacy Guard - + GNU Wget - Software for retrieving files using HTTP GNU Wget - Oprogramowanie służące do pobierania plików za pomocą protokołu HTTP - + + Silk Icons - Over 700 icons in PNG format + + + + + By Mark James, released under the Creative Commons 'by' License. + + + + LameXP as a whole is copyrighted by LoRd_MuldeR. The copyright of third-party software used in LameXP belongs to the individual authors. Do programu LameXP jako całości, prawa autorskie posiada LoRd_MuldeR. Prawa autorskie oprogramowania firm trzecich należą do autorów poszczególnych programów. - - About Third-party Software - Informacje o programach firm trzecich - - - + n/a n/d @@ -3081,22 +3099,23 @@ QApplication - + Executable '%1' doesn't support Windows compatibility mode. Plik wykonywalny '%1' nie działa w trybie kompatybilności z Windows. - + Executable '%1' requires Qt v%2, but found Qt v%3. Plik wykonywalny '%1' wymaga Qt v%2, znaleziono jednak Qt v%3. - + Executable '%1' was built for Qt '%2', but found Qt '%3'. Plik wykonywalny "%1" został skompilowany dla Qt "%2", znaleziono "%3". - + + Executable '%1' requires Windows 2000 or later. Plik wykonywalny '%1' wymaga do uruchomienia Windows 2000 lub nowszego. diff --git a/etc/Translation/LameXP_RU.ts b/etc/Translation/LameXP_RU.ts index 9a8f0f87..7b992488 100644 --- a/etc/Translation/LameXP_RU.ts +++ b/etc/Translation/LameXP_RU.ts @@ -23,10 +23,6 @@ About LameXP О LameXP - - Show License Text - Показать текст лицензии - Accept License Принять лицензию @@ -43,10 +39,6 @@ Contributors Участники - - About Qt4 - О Qt4 - Discard Отменить @@ -63,10 +55,6 @@ If you are willing to contribute a LameXP translation, feel free to contact us! Если Вы готовы внести вклад в развитие LameXP, не стесняйтесь связаться с нами! - - About Contributors - О Участниках - The following third-party software is used in LameXP: Следующее ПО третьих лиц исползуется в LameXP: @@ -179,10 +167,6 @@ LameXP as a whole is copyrighted by LoRd_MuldeR. The copyright of third-party software used in LameXP belongs to the individual authors. LameXP защищена авторским правом LoRd_MuldeR. Авторское право на программное обеспечение третьих сторон, используемое в LameXP, принадлежит индивидуальным авторам. - - About Third-party Software - О програмном обеспечении третьих сторон - n/a н/д @@ -228,8 +212,40 @@ - About Qt5 - О Qt5 + Information + + + + License + + + + About Qt + + + + Programmers: + + + + Project Leader + + + + Opus Audio Codec + + + + Totally open, royalty-free, highly versatile audio codec. + + + + Silk Icons - Over 700 icons in PNG format + + + + By Mark James, released under the Creative Commons 'by' License. + diff --git a/etc/Translation/LameXP_SV.ts b/etc/Translation/LameXP_SV.ts index 264848c0..6e44e7a0 100644 --- a/etc/Translation/LameXP_SV.ts +++ b/etc/Translation/LameXP_SV.ts @@ -4,300 +4,318 @@ AboutDialog - + LameXP - Audio Encoder Front-end LameXP - Ljudkonvertering - + Please visit %1 for news and updates! Besök %1 för nyheter och uppdateringar! - - + + Note: This demo (pre-release) version of LameXP will expire at %1. Still %2 days left. OBS! Denna testversion av LameXP kommer att upphöra %1. %2 dagar kvar. - + Note: LameXP is free software. Do <b>not</b> pay money to obtain or use LameXP! If some third-party website tries to make you pay for downloading LameXP, you should <b>not</b> respond to the offer !!! OBS! LameXP är gratis mjukvara. Betala <b>inte</b> för att ladda ner eller använda LameXP! Om någon webbsida försöker ta betalt för LameXP, bör du lämna sidan <b>utan</b> att ladda ner något! - + Special thanks go out to "John33" from %1 for his continuous support. Särskilt tack går till "John33" från %1 för hans ständiga stöd. - + About LameXP Om LameXP - - Show License Text - Visa licenstext - - - + Accept License Acceptera - + Decline License Neka - + 3rd Party S/W 3:e-parts SW - + + Information + + + + Contributors Medverkande - - About Qt5 - Om Qt5 + + License + - - About Qt4 - Om Qt4 + + About Qt + - - - + Discard Stäng - + The following people have contributed to LameXP: Följande har medverkat i LameXP: - + + Programmers: + + + + + Project Leader + + + + Translators: Översättare: - + If you are willing to contribute a LameXP translation, feel free to contact us! Kontakta oss gärna om du vill medverka il LameXP, med en översättning! - - About Contributors - Om medverkande - - - + The following third-party software is used in LameXP: Följande 3:e-parts mjukvara används i LameXP: - + LAME - OpenSource mp3 Encoder LAME - OpenSource mp3 Encoder - - - - - - - - - - - + + + + + + + + + + + Released under the terms of the GNU Lesser General Public License. Släppt under Gnu Lesser General Public License. - + OggEnc - Ogg Vorbis Encoder OggEnc - Ogg Vorbis Encoder - + Completely open and patent-free audio encoding technology. Helt öppen och patentfri ljudkodningsteknologi. - + Nero AAC Reference MPEG-4 Encoder Nero AAC Reference MPEG-4 Encoder - + Freeware state-of-the-art HE-AAC encoder with 2-Pass support. Freeware state-of-the-art HE-AAC-kodare med stöd för 2-Pass. - + Available from vendor web-site as free download: Tillgänglig som gratis nedladdning, från utvecklarens webbsida: - + Aften - A/52 audio encoder Aften - A/52 audio encoder - + FLAC - Free Lossless Audio Codec FLAC - Free Lossless Audio Codec - + Open and patent-free lossless audio compression technology. Öppen och patentfri, förlustfri ljudkomprimeringsteknik. - + + Opus Audio Codec + + + + + Totally open, royalty-free, highly versatile audio codec. + + + + mpg123 - Fast Console MPEG Audio Player/Decoder mpg123 - Fast Console MPEG Audio Player/Decoder - + FAAD - OpenSource MPEG-4 and MPEG-2 AAC Decoder FAAD - OpenSource MPEG-4 and MPEG-2 AAC Decoder - + Released under the terms of the GNU General Public License. Släppt under GNU Generel Public License (GPL). - + AC3Filter Tools - AC3/DTS Decoder AC3Filter Tools - AC3/DTS Decoder - + WavPack - Hybrid Lossless Compression WavPack - Hybrid Lossless Compression - + Completely open audio compression format. Helt öppet ljudkomprimeringsformat. - + Musepack - Living Audio Compression Musepack - Living Audio Compression - + Monkey's Audio - Lossless Audio Compressor Monkey's Audio - Lossless Audio Compressor - + Freely available source code, simple SDK and non-restrictive licensing. Fritt tillgänglig källkod, enkel SDK och icke-restriktiv licensiering. - + Shorten - Lossless Audio Compressor Shorten - Lossless Audio Compressor - + Speex - Free Codec For Free Speech Speex - Free Codec For Free Speech - + Open Source patent-free audio format designed for speech. Öppen källkod, patentfritt ljudformat designat för tal. - + The True Audio - Lossless Audio Codec The True Audio - Lossless Audio Codec - + ALAC Decoder ALAC Decoder - + Copyright (c) 2004 David Hammerton. Contributions by Cody Brocious. Copyright (c) 2004 David Hammerton. Contributions by Cody Brocious. - + wma2wav - Dump WMA files to Wave Audio wma2wav - Dump WMA files to Wave Audio - + Copyright (c) 2011 LoRd_MuldeR <mulder2@gmx.de>. Some rights reserved. Copyright (c) 2011 LoRd_MuldeR <mulder2@gmx.de>. Some rights reserved. - + avs2wav - Avisynth to Wave Audio converter avs2wav - Avisynth to Wave Audio converter - + By Jory Stone <jcsston@toughguy.net> and LoRd_MuldeR <mulder2@gmx.de>. By Jory Stone <jcsston@toughguy.net> and LoRd_MuldeR <mulder2@gmx.de>. - + dcaenc dcaenc - + Copyright (c) 2008-2011 Alexander E. Patrakov. Distributed under the LGPL. Copyright (c) 2008-2011 Alexander E. Patrakov. Distributed under the LGPL. - + MediaInfo - Media File Analysis Tool MediaInfo - Analysverktyg för mediafiler - + SoX - Sound eXchange SoX - Sound eXchange - + GnuPG - The GNU Privacy Guard GnuPG - The GNU Privacy Guard - + GNU Wget - Software for retrieving files using HTTP GNU Wget - Mjukvara för att ta emot filer via HTTP - + + Silk Icons - Over 700 icons in PNG format + + + + + By Mark James, released under the Creative Commons 'by' License. + + + + LameXP as a whole is copyrighted by LoRd_MuldeR. The copyright of third-party software used in LameXP belongs to the individual authors. LameXP as a whole is copyrighted by LoRd_MuldeR. The copyright of third-party software used in LameXP belongs to the individual authors. - - About Third-party Software - Om 3:e-parts mjukvara - - - + n/a n/a @@ -3082,22 +3100,23 @@ QApplication - + Executable '%1' doesn't support Windows compatibility mode. EXE-filen '%1' stöder inte Windows kompatibilitetsläge. - + Executable '%1' requires Qt v%2, but found Qt v%3. EXE-filen '%1' kräver Qt v%2, du har Qt v%3. - + Executable '%1' was built for Qt '%2', but found Qt '%3'. EXE-filen '%1' är byggd för Qt '%2', du har Qt '%3'. - + + Executable '%1' requires Windows 2000 or later. EXE-filen '%1' kräver Windows 2000 eller senare. diff --git a/etc/Translation/LameXP_TW.ts b/etc/Translation/LameXP_TW.ts index bb68316e..e1876d81 100644 --- a/etc/Translation/LameXP_TW.ts +++ b/etc/Translation/LameXP_TW.ts @@ -19,10 +19,6 @@ About LameXP 關于 LameXP - - Show License Text - 顯示許可證文本 - Accept License 接受許可證 @@ -39,10 +35,6 @@ Contributors 貢獻者 - - About Qt4 - 關于 Qt4 - Discard 放棄 @@ -59,10 +51,6 @@ If you are willing to contribute a LameXP translation, feel free to contact us! 如果你愿意貢獻 LameXP 翻譯,隨時與我們聯系 ! - - About Contributors - 關于貢獻者 - The following third-party software is used in LameXP: 在 LameXP 中使用了下列第三方軟件: @@ -87,10 +75,6 @@ Open and patent-free lossless audio compression technology. 打開和專利自由無損音頻壓縮技術. - - About Third-party Software - 關于第三方軟件 - n/a n/a @@ -228,8 +212,40 @@ Copyright (c) 2008-2011 Alexander E. Patrakov. Distributed under the LGPL. - About Qt5 - 關于 Qt5 + Information + + + + License + + + + About Qt + + + + Programmers: + + + + Project Leader + + + + Opus Audio Codec + + + + Totally open, royalty-free, highly versatile audio codec. + + + + Silk Icons - Over 700 icons in PNG format + + + + By Mark James, released under the Creative Commons 'by' License. + diff --git a/etc/Translation/LameXP_UK.ts b/etc/Translation/LameXP_UK.ts index a9f1a8b8..a7ba8231 100644 --- a/etc/Translation/LameXP_UK.ts +++ b/etc/Translation/LameXP_UK.ts @@ -23,10 +23,6 @@ About LameXP Про LameXP - - Show License Text - Показати текст ліцензії - Accept License Прийняти ліцензію @@ -43,10 +39,6 @@ Contributors Доробники - - About Qt4 - Про Qt4 - Discard Вийти @@ -63,10 +55,6 @@ If you are willing to contribute a LameXP translation, feel free to contact us! Якщо ви хочете допомогти перекласти інтерфейс LameXP, можете вільно зв'язатись з нами! - - About Contributors - Про Доробників - The following third-party software is used in LameXP: Наступне стороннє ПЗ використовується в LameXP: @@ -179,10 +167,6 @@ LameXP as a whole is copyrighted by LoRd_MuldeR. The copyright of third-party software used in LameXP belongs to the individual authors. Всі права на LameXP належать LoRd_MuldeR. Права на стороннє ПЗ, що використовується в LameXP, належать авторам цього ПЗ. - - About Third-party Software - Про стороннє ПЗ - n/a не доступно @@ -229,8 +213,40 @@ Всі права належать 2008-2011 Alexander E. Patrakov. Розповсюджується під ліцензією LGPL. - About Qt5 - Про Qt5 + Information + + + + License + + + + About Qt + + + + Programmers: + + + + Project Leader + + + + Opus Audio Codec + + + + Totally open, royalty-free, highly versatile audio codec. + + + + Silk Icons - Over 700 icons in PNG format + + + + By Mark James, released under the Creative Commons 'by' License. + diff --git a/etc/Translation/LameXP_ZH.ts b/etc/Translation/LameXP_ZH.ts index db134ab2..66518e50 100644 --- a/etc/Translation/LameXP_ZH.ts +++ b/etc/Translation/LameXP_ZH.ts @@ -19,10 +19,6 @@ About LameXP 关于 LameXP - - Show License Text - 显示许可证文本 - Accept License 接受许可证 @@ -39,10 +35,6 @@ Contributors 贡献者 - - About Qt4 - 关于 Qt4 - Discard 放弃 @@ -59,10 +51,6 @@ If you are willing to contribute a LameXP translation, feel free to contact us! 如果你愿意贡献 LameXP 翻译,随时与我们联系 ! - - About Contributors - 关于贡献者 - The following third-party software is used in LameXP: 在 LameXP 中使用了下列第三方软件: @@ -87,10 +75,6 @@ Open and patent-free lossless audio compression technology. 打开和专利自由无损音频压缩技术. - - About Third-party Software - 关于第三方软件 - n/a n/a @@ -228,8 +212,40 @@ Copyright (c) 2008-2011 Alexander E. Patrakov. Distributed under the LGPL. - About Qt5 - 关于 Qt5 + Information + + + + License + + + + About Qt + + + + Programmers: + + + + Project Leader + + + + Opus Audio Codec + + + + Totally open, royalty-free, highly versatile audio codec. + + + + Silk Icons - Over 700 icons in PNG format + + + + By Mark James, released under the Creative Commons 'by' License. + diff --git a/etc/Translation/update.lst b/etc/Translation/update.lst index 38a757a3..b0881086 100644 --- a/etc/Translation/update.lst +++ b/etc/Translation/update.lst @@ -1,3 +1,4 @@ +..\..\gui\AboutDialog.ui ..\..\gui\CueSheetImport.ui ..\..\gui\DropBox.ui ..\..\gui\LogViewDialog.ui diff --git a/gui/AboutDialog.ui b/gui/AboutDialog.ui new file mode 100644 index 00000000..be1f3d66 --- /dev/null +++ b/gui/AboutDialog.ui @@ -0,0 +1,572 @@ + + + AboutDialog + + + + 0 + 0 + 720 + 560 + + + + + 720 + 560 + + + + About LameXP + + + true + + + + + + + 75 + true + + + + 0 + + + + + :/icons/information.png:/icons/information.png + + + Information + + + + + + QFrame::Plain + + + Qt::ScrollBarAsNeeded + + + true + + + + + 0 + 0 + 676 + 461 + + + + + 24 + + + 8 + + + 12 + + + 12 + + + 12 + + + + + + 50 + false + + + + (ICON) + + + false + + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop + + + + + + + + 0 + 0 + + + + + 50 + false + + + + (TEXT) + + + Qt::RichText + + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop + + + true + + + + + + + + + + + + + :/icons/user_suit.png:/icons/user_suit.png + + + Contributors + + + + + + QFrame::Plain + + + Qt::ScrollBarAsNeeded + + + true + + + + + 0 + 0 + 676 + 461 + + + + + 24 + + + 8 + + + 12 + + + 12 + + + 12 + + + + + + 50 + false + + + + (ICON) + + + false + + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop + + + + + + + + 0 + 0 + + + + + 50 + false + + + + (TEXT) + + + Qt::RichText + + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop + + + true + + + + + + + + + + + + + :/icons/page_white_cplusplus.png:/icons/page_white_cplusplus.png + + + 3rd Party S/W + + + + + + QFrame::Plain + + + Qt::ScrollBarAsNeeded + + + true + + + + + 0 + 0 + 676 + 461 + + + + + 24 + + + 8 + + + 12 + + + 12 + + + 12 + + + + + + 50 + false + + + + (ICON) + + + false + + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop + + + + + + + + 0 + 0 + + + + + 50 + false + + + + (TEXT) + + + Qt::RichText + + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop + + + true + + + + + + + + + + + + + :/icons/script.png:/icons/script.png + + + License + + + + + + QFrame::Plain + + + Qt::ScrollBarAsNeeded + + + true + + + + + 0 + 0 + 676 + 461 + + + + + 18 + + + 8 + + + 12 + + + 8 + + + 12 + + + + + + 50 + false + + + + (ICON) + + + false + + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop + + + + + + + + 0 + 0 + + + + + 50 + false + + + + (TEXT) + + + Qt::RichText + + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop + + + true + + + + + + + + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + 128 + 0 + + + + Accept License + + + + :/icons/accept.png:/icons/accept.png + + + + + + + + 128 + 0 + + + + Decline License + + + + :/icons/delete.png:/icons/delete.png + + + + + + + + 128 + 0 + + + + About Qt + + + + :/icons/qt.png:/icons/qt.png + + + + + + + + 128 + 0 + + + + Discard + + + + :/icons/cross.png:/icons/cross.png + + + + + + + + + + + + + + closeButton + clicked() + AboutDialog + accept() + + + 640 + 550 + + + 355 + 286 + + + + + acceptButton + clicked() + AboutDialog + accept() + + + 377 + 537 + + + 359 + 279 + + + + + declineButton + clicked() + AboutDialog + reject() + + + 511 + 537 + + + 359 + 279 + + + + + diff --git a/res/Documents.qrc b/res/Documents.qrc index c981a19b..64073b84 100644 --- a/res/Documents.qrc +++ b/res/Documents.qrc @@ -4,5 +4,6 @@ ../doc/FAQ.html ../doc/Changelog.html ../doc/Translate.html + ../License.txt diff --git a/res/Images.qrc b/res/Images.qrc index e47659fd..83ed3c16 100644 --- a/res/Images.qrc +++ b/res/Images.qrc @@ -16,6 +16,7 @@ images/Loading3.gif images/Logo.png images/Logo_Contributors.png + images/Logo_GNU.png images/Logo_Software.png images/Qt.svg images/Splash.png diff --git a/res/localization/LameXP_DE.qm b/res/localization/LameXP_DE.qm index 0c8bb35e..1b7506bf 100644 Binary files a/res/localization/LameXP_DE.qm and b/res/localization/LameXP_DE.qm differ diff --git a/res/localization/LameXP_ES.qm b/res/localization/LameXP_ES.qm index b9d21e12..579d9b24 100644 Binary files a/res/localization/LameXP_ES.qm and b/res/localization/LameXP_ES.qm differ diff --git a/res/localization/LameXP_FR.qm b/res/localization/LameXP_FR.qm index d9b457fa..79ae9eb6 100644 Binary files a/res/localization/LameXP_FR.qm and b/res/localization/LameXP_FR.qm differ diff --git a/res/localization/LameXP_IT.qm b/res/localization/LameXP_IT.qm index 36df118a..5974aa6b 100644 Binary files a/res/localization/LameXP_IT.qm and b/res/localization/LameXP_IT.qm differ diff --git a/res/localization/LameXP_KR.qm b/res/localization/LameXP_KR.qm index e43db31f..c643c6c5 100644 Binary files a/res/localization/LameXP_KR.qm and b/res/localization/LameXP_KR.qm differ diff --git a/res/localization/LameXP_PL.qm b/res/localization/LameXP_PL.qm index 580e7ec1..930b8200 100644 Binary files a/res/localization/LameXP_PL.qm and b/res/localization/LameXP_PL.qm differ diff --git a/res/localization/LameXP_RU.qm b/res/localization/LameXP_RU.qm index 04e8beef..343dfb79 100644 Binary files a/res/localization/LameXP_RU.qm and b/res/localization/LameXP_RU.qm differ diff --git a/res/localization/LameXP_SV.qm b/res/localization/LameXP_SV.qm index 65a246f5..90a7682b 100644 Binary files a/res/localization/LameXP_SV.qm and b/res/localization/LameXP_SV.qm differ diff --git a/res/localization/LameXP_TW.qm b/res/localization/LameXP_TW.qm index a4d830e1..b5bbe728 100644 Binary files a/res/localization/LameXP_TW.qm and b/res/localization/LameXP_TW.qm differ diff --git a/res/localization/LameXP_UK.qm b/res/localization/LameXP_UK.qm index 6b385cee..6760ddbc 100644 Binary files a/res/localization/LameXP_UK.qm and b/res/localization/LameXP_UK.qm differ diff --git a/res/localization/LameXP_ZH.qm b/res/localization/LameXP_ZH.qm index 051cadfc..9cb988e3 100644 Binary files a/res/localization/LameXP_ZH.qm and b/res/localization/LameXP_ZH.qm differ diff --git a/src/Config.h b/src/Config.h index 4da57f0f..7bf62ca5 100644 --- a/src/Config.h +++ b/src/Config.h @@ -30,7 +30,7 @@ #define VER_LAMEXP_MINOR_LO 5 #define VER_LAMEXP_TYPE Final #define VER_LAMEXP_PATCH 2 -#define VER_LAMEXP_BUILD 1103 +#define VER_LAMEXP_BUILD 1108 /////////////////////////////////////////////////////////////////////////////// // Tool versions (minimum expected versions!) diff --git a/src/Dialog_About.cpp b/src/Dialog_About.cpp index 8ef7fa40..ca7d73ac 100644 --- a/src/Dialog_About.cpp +++ b/src/Dialog_About.cpp @@ -36,7 +36,10 @@ #include #include #include +#include +#include +#include #include #include @@ -55,7 +58,7 @@ static const struct wchar_t *pcName; char *pcMail; } -g_lamexp_contributors[] = +g_lamexp_translators[] = { {"en", L"Englisch", L"LoRd_MuldeR", "MuldeR2@GMX.de" }, {"de", L"Deutsch", L"LoRd_MuldeR", "MuldeR2@GMX.de" }, @@ -80,89 +83,37 @@ g_lamexp_contributors[] = AboutDialog::AboutDialog(SettingsModel *settings, QWidget *parent, bool firstStart) : - QMessageBox(parent), + QDialog(parent), m_settings(settings), m_disque(NULL), m_disqueTimer(NULL), m_rotateNext(false), m_disqueDelay(_I64_MAX) { - const QString versionStr = QString().sprintf - ( - "Version %d.%02d %s, Build %d [%s], %s %s, Qt v%s", - lamexp_version_major(), - lamexp_version_minor(), - lamexp_version_release(), - lamexp_version_build(), - lamexp_version_date().toString(Qt::ISODate).toLatin1().constData(), - lamexp_version_compiler(), - lamexp_version_arch(), - qVersion() - ); - const QString copyrightStr = QString().sprintf - ( - "Copyright (C) 2004-%04d LoRd_MuldeR <MuldeR2@GMX.de>. Some rights reserved.", - qMax(lamexp_version_date().year(), QDate::currentDate().year()) - ); + //Init the dialog, from the .ui file + setupUi(this); + setWindowFlags(windowFlags() & (~Qt::WindowContextHelpButtonHint)); + resize(this->minimumSize()); + tabWidget->setCurrentIndex(tabWidget->indexOf(infoTab)); + + //Disable "X" button + if(HMENU hMenu = GetSystemMenu((HWND) winId(), FALSE)) + { + EnableMenuItem(hMenu, SC_CLOSE, MF_BYCOMMAND | MF_GRAYED); + } for(int i = 0; i < 4; i++) { m_cartoon[i] = NULL; } - QString aboutText; - - aboutText += QString("

%1

").arg(NOBR(tr("LameXP - Audio Encoder Front-end"))); - aboutText += QString("%1
").arg(NOBR(copyrightStr)); - aboutText += QString("%1

").arg(NOBR(versionStr)); - aboutText += QString("%1
").arg(NOBR(tr("Please visit %1 for news and updates!").arg(LINK(lamexp_website_url())))); - -#if QT_VERSION < QT_VERSION_CHECK(5,0,0) - if(LAMEXP_DEBUG) - { - int daysLeft = qMax(QDate::currentDate().daysTo(lamexp_version_expires()), 0); - aboutText += QString("
%1").arg(NOBR(QString("!!! --- DEBUG BUILD --- Expires at: %1 · Days left: %2 --- DEBUG BUILD --- !!!").arg(lamexp_version_expires().toString(Qt::ISODate), QString::number(daysLeft)))); - } - else if(lamexp_version_demo()) - { - int daysLeft = qMax(QDate::currentDate().daysTo(lamexp_version_expires()), 0); - aboutText += QString("
%1").arg(NOBR(tr("Note: This demo (pre-release) version of LameXP will expire at %1. Still %2 days left.").arg(lamexp_version_expires().toString(Qt::ISODate), QString::number(daysLeft)))); - } -#else - if(LAMEXP_DEBUG) - { - int daysLeft = qMax(QDate::currentDate().daysTo(lamexp_version_expires()), 0i64); - aboutText += QString("
%1").arg(NOBR(QString("!!! --- DEBUG BUILD --- Expires at: %1 · Days left: %2 --- DEBUG BUILD --- !!!").arg(lamexp_version_expires().toString(Qt::ISODate), QString::number(daysLeft)))); - } - else if(lamexp_version_demo()) - { - int daysLeft = qMax(QDate::currentDate().daysTo(lamexp_version_expires()), 0i64); - aboutText += QString("
%1").arg(NOBR(tr("Note: This demo (pre-release) version of LameXP will expire at %1. Still %2 days left.").arg(lamexp_version_expires().toString(Qt::ISODate), QString::number(daysLeft)))); - } -#endif - - aboutText += "

"; - aboutText += "This program is free software; you can redistribute it and/or
"; - aboutText += "modify it under the terms of the GNU General Public License
"; - aboutText += "as published by the Free Software Foundation; either version 2
"; - aboutText += "of the License, or (at your option) any later version.

"; - aboutText += "This program is distributed in the hope that it will be useful,
"; - aboutText += "but WITHOUT ANY WARRANTY; without even the implied warranty of
"; - aboutText += "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
"; - aboutText += "GNU General Public License for more details.

"; - aboutText += "You should have received a copy of the GNU General Public License
"; - aboutText += "along with this program; if not, write to the Free Software
"; - aboutText += "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110−1301, USA.

"; - aboutText += "
"; - aboutText += ""; - aboutText += QString("").arg(tr("Note: LameXP is free software. Do not pay money to obtain or use LameXP! If some third-party website tries to make you pay for downloading LameXP, you should not respond to the offer !!!")); - aboutText += "
 %1


"; - aboutText += QString("%1
").arg(NOBR(tr("Special thanks go out to \"John33\" from %1 for his continuous support.")).arg(LINK("http://www.rarewares.org/"))); - - setText(aboutText); - setIconPixmap(lamexp_app_icon().pixmap(QSize(72,72))); - setWindowTitle(tr("About LameXP")); + //Init dialog text + initInformationTab(); + initContributorsTab(); + initSoftwareTab(); + initLicenseTab(); + /* if(firstStart) { QPushButton *firstButton = addButton(tr("Show License Text"), QMessageBox::AcceptRole); @@ -211,7 +162,16 @@ AboutDialog::AboutDialog(SettingsModel *settings, QWidget *parent, bool firstSta fourthButton->setIcon(QIcon(":/icons/cross.png")); fourthButton->setIconSize(QSize(16, 16)); fourthButton->setMinimumWidth(90); + } + */ + if(!firstStart) + { + acceptButton->hide(); + declineButton->hide(); + aboutQtButton->show(); + closeButton->show(); + QPixmap disque(":/images/Disque.png"); QRect screenGeometry = QApplication::desktop()->availableGeometry(); m_disque = new QLabel(this, Qt::Window | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint); @@ -228,8 +188,17 @@ AboutDialog::AboutDialog(SettingsModel *settings, QWidget *parent, bool firstSta connect(m_disqueTimer, SIGNAL(timeout()), this, SLOT(moveDisque())); m_disqueTimer->setInterval(10); m_disqueTimer->start(); + + connect(aboutQtButton, SIGNAL(clicked()), this, SLOT(showAboutQt())); } - + else + { + acceptButton->show(); + declineButton->show(); + aboutQtButton->hide(); + closeButton->hide(); + } + m_firstShow = firstStart; } @@ -273,7 +242,7 @@ int AboutDialog::exec() } } - switch(QMessageBox::exec()) + switch(QDialog::exec()) { case 1: return 1; @@ -296,19 +265,17 @@ if(m_disque) { bool _tmp = m_disque->isVisible(); if(_tmp) m_disque->hide(); {CM void AboutDialog::enableButtons(void) { - const QList buttonList = buttons(); - - for(int i = 0; i < buttonList.count(); i++) - { - buttonList.at(i)->setEnabled(true); - } - + acceptButton->setEnabled(true); + declineButton->setEnabled(true); setCursor(QCursor(Qt::ArrowCursor)); } -void AboutDialog::openLicenseText(void) +void AboutDialog::openURL(const QString &url) { - QDesktopServices::openUrl(QUrl("http://www.gnu.org/licenses/gpl-2.0.txt")); + if(!QDesktopServices::openUrl(QUrl(url))) + { + ShellExecuteW(this->winId(), L"open", QWCHAR(url), NULL, NULL, SW_SHOW); + } } void AboutDialog::showAboutQt(void) @@ -319,240 +286,6 @@ void AboutDialog::showAboutQt(void) ); } -void AboutDialog::showAboutContributors(void) -{ - TEMP_HIDE_DISQUE - ( - QString contributorsAboutText; - - contributorsAboutText += QString("

%1

").arg(NOBR(tr("The following people have contributed to LameXP:"))); - contributorsAboutText += QString("%1").arg(tr("Translators:")); - contributorsAboutText += ""; - for(int i = 0; g_lamexp_contributors[i].pcName; i++) - { - QString flagIcon = (strlen(g_lamexp_contributors[i].pcFlag) > 0) ? QString("").arg(g_lamexp_contributors[i].pcFlag) : QString(); - contributorsAboutText += QString("").arg(flagIcon); - contributorsAboutText += QString("").arg(WCHAR2QSTR(g_lamexp_contributors[i].pcLanguage)); - contributorsAboutText += QString("").arg(WCHAR2QSTR(g_lamexp_contributors[i].pcName), g_lamexp_contributors[i].pcMail); - } - contributorsAboutText += "
%1  %1  %1  <%2>
"; - contributorsAboutText += "

"; - contributorsAboutText += QString("%1
").arg(NOBR(tr("If you are willing to contribute a LameXP translation, feel free to contact us!"))); - - QMessageBox *contributorsAboutBox = new QMessageBox(this); - contributorsAboutBox->setText(contributorsAboutText); - contributorsAboutBox->setIconPixmap(dynamic_cast(QApplication::instance())->windowIcon().pixmap(QSize(64,64))); - - QPushButton *closeButton = contributorsAboutBox->addButton(tr("Discard"), QMessageBox::AcceptRole); - closeButton->setIcon(QIcon(":/icons/cross.png")); - closeButton->setMinimumWidth(90); - - contributorsAboutBox->setWindowTitle(tr("About Contributors")); - contributorsAboutBox->setIconPixmap(QIcon(":/images/Logo_Contributors.png").pixmap(QSize(64,74))); - contributorsAboutBox->setWindowIcon(QIcon(":/icons/user_suit.png")); - contributorsAboutBox->exec(); - - LAMEXP_DELETE(contributorsAboutBox); - ); -} - -void AboutDialog::showMoreAbout(void) -{ - TEMP_HIDE_DISQUE - ( - QString moreAboutText; - - moreAboutText += QString("

%1

").arg(tr("The following third-party software is used in LameXP:")); - moreAboutText += "
    "; - - moreAboutText += makeToolText - ( - tr("LAME - OpenSource mp3 Encoder"), - "lame.exe", "v?.??, Final-?", - tr("Released under the terms of the GNU Lesser General Public License."), - "http://lame.sourceforge.net/" - ); - moreAboutText += makeToolText - ( - tr("OggEnc - Ogg Vorbis Encoder"), - "oggenc2.exe", "v?.??, aoTuV Beta-?.??", - tr("Completely open and patent-free audio encoding technology."), - "http://www.vorbis.com/" - ); - moreAboutText += makeToolText - ( - tr("Nero AAC Reference MPEG-4 Encoder"), - "neroAacEnc.exe", "v?.?.?.?", - tr("Freeware state-of-the-art HE-AAC encoder with 2-Pass support."), - neroAacUrl, - tr("Available from vendor web-site as free download:") - ); - moreAboutText += makeToolText - ( - tr("Aften - A/52 audio encoder"), - "aften.exe", "v?.?.?", - tr("Released under the terms of the GNU Lesser General Public License."), - "http://aften.sourceforge.net/" - ); - moreAboutText += makeToolText - ( - tr("FLAC - Free Lossless Audio Codec"), - "flac.exe", "v?.?.?", - tr("Open and patent-free lossless audio compression technology."), - "http://flac.sourceforge.net/" - ); - moreAboutText += makeToolText - ( - tr("mpg123 - Fast Console MPEG Audio Player/Decoder"), - "mpg123.exe", "v?.??.?", - tr("Released under the terms of the GNU Lesser General Public License."), - "http://www.mpg123.de/" - ); - moreAboutText += makeToolText - ( - tr("FAAD - OpenSource MPEG-4 and MPEG-2 AAC Decoder"), - "faad.exe", "v?.?", - tr("Released under the terms of the GNU General Public License."), - "http://www.audiocoding.com/" - ); - moreAboutText += makeToolText - ( - tr("AC3Filter Tools - AC3/DTS Decoder"), - "valdec.exe", "v?.??", - tr("Released under the terms of the GNU Lesser General Public License."), - "http://www.ac3filter.net/projects/tools" - ); - moreAboutText += makeToolText - ( - tr("WavPack - Hybrid Lossless Compression"), - "wvunpack.exe", "v?.??.?", - tr("Completely open audio compression format."), - "http://www.wavpack.com/" - ); - moreAboutText += makeToolText - ( - tr("Musepack - Living Audio Compression"), - "mpcdec.exe", "r???", - tr("Released under the terms of the GNU Lesser General Public License."), - "http://www.musepack.net/" - ); - moreAboutText += makeToolText - ( - tr("Monkey's Audio - Lossless Audio Compressor"), - "mac.exe", "v?.??", - tr("Freely available source code, simple SDK and non-restrictive licensing."), - "http://www.monkeysaudio.com/" - ); - moreAboutText += QString - ( - "
    " /* ----------------------------------------- */ - ); - moreAboutText += makeToolText - ( - tr("Shorten - Lossless Audio Compressor"), - "shorten.exe", "v?.?.?", - tr("Released under the terms of the GNU Lesser General Public License."), - "http://etree.org/shnutils/shorten/" - ); - moreAboutText += makeToolText - ( - tr("Speex - Free Codec For Free Speech"), - "speexdec.exe", "v?.?", - tr("Open Source patent-free audio format designed for speech."), - "http://www.speex.org/" - ); - moreAboutText += makeToolText - ( - tr("The True Audio - Lossless Audio Codec"), - "tta.exe", "v?.?", - tr("Released under the terms of the GNU Lesser General Public License."), - "http://tta.sourceforge.net/" - ); - moreAboutText += makeToolText - ( - tr("ALAC Decoder"), - "alac.exe", "v?.?.?", - tr("Copyright (c) 2004 David Hammerton. Contributions by Cody Brocious."), - "http://craz.net/programs/itunes/alac.html" - ); - moreAboutText += makeToolText - ( - tr("wma2wav - Dump WMA files to Wave Audio"), - "wma2wav.exe", "????-??-??", - tr("Copyright (c) 2011 LoRd_MuldeR . Some rights reserved."), - "http://forum.doom9.org/showthread.php?t=140273" - ); - moreAboutText += makeToolText - ( - tr("avs2wav - Avisynth to Wave Audio converter"), - "avs2wav.exe", "v?.?", - tr("By Jory Stone and LoRd_MuldeR ."), - "http://forum.doom9.org/showthread.php?t=70882" - ); - moreAboutText += makeToolText - ( - tr("dcaenc"), - "dcaenc.exe", "????-??-??", - tr("Copyright (c) 2008-2011 Alexander E. Patrakov. Distributed under the LGPL."), - "http://gitorious.org/dtsenc/dtsenc/trees/master" - ); - moreAboutText += makeToolText - ( - tr("MediaInfo - Media File Analysis Tool"), - "mediainfo.exe", "v?.?.??", - tr("Released under the terms of the GNU Lesser General Public License."), - "http://mediainfo.sourceforge.net/" - ); - moreAboutText += makeToolText - ( - tr("SoX - Sound eXchange"), - "sox.exe", "v??.?.?", - tr("Released under the terms of the GNU Lesser General Public License."), - "http://sox.sourceforge.net/" - ); - moreAboutText += makeToolText - ( - tr("GnuPG - The GNU Privacy Guard"), - "gpgv.exe", "v?.?.??", - tr("Released under the terms of the GNU Lesser General Public License."), - "http://www.gnupg.org/" - ); - moreAboutText += makeToolText - ( - tr("GNU Wget - Software for retrieving files using HTTP"), - "wget.exe", "v?.??.?", - tr("Released under the terms of the GNU Lesser General Public License."), - "http://www.gnu.org/software/wget/" - ); - //moreAboutText += makeToolText - //( - // tr("Silk Icons - Over 700 icons in PNG format"), - // QString(), "v1.3", - // tr("By Mark James, released under the Creative Commons 'by' License."), - // "http://www.famfamfam.com/lab/icons/silk/" - //); - moreAboutText += QString("
 
%1
").arg - ( - NOBR(tr("LameXP as a whole is copyrighted by LoRd_MuldeR. The copyright of third-party software used in LameXP belongs to the individual authors.")) - ); - - QMessageBox *moreAboutBox = new QMessageBox(this); - moreAboutBox->setText(moreAboutText); - moreAboutBox->setIconPixmap(dynamic_cast(QApplication::instance())->windowIcon().pixmap(QSize(64,64))); - - QPushButton *closeButton = moreAboutBox->addButton(tr("Discard"), QMessageBox::AcceptRole); - closeButton->setIcon(QIcon(":/icons/cross.png")); - closeButton->setMinimumWidth(90); - - moreAboutBox->setWindowTitle(tr("About Third-party Software")); - moreAboutBox->setIconPixmap(QIcon(":/images/Logo_Software.png").pixmap(QSize(64,71))); - moreAboutBox->setWindowIcon(QIcon(":/icons/page_white_cplusplus.png")); - moreAboutBox->exec(); - - LAMEXP_DELETE(moreAboutBox); - ); -} - void AboutDialog::moveDisque(void) { int delta = 2; @@ -637,13 +370,8 @@ void AboutDialog::showEvent(QShowEvent *e) QDialog::showEvent(e); if(m_firstShow) { - const QList buttonList = buttons(); - - for(int i = 1; i < buttonList.count(); i++) - { - buttonList.at(i)->setEnabled(false); - } - + acceptButton->setEnabled(false); + declineButton->setEnabled(false); QTimer::singleShot(5000, this, SLOT(enableButtons())); setCursor(QCursor(Qt::WaitCursor)); } @@ -672,6 +400,340 @@ bool AboutDialog::eventFilter(QObject *obj, QEvent *event) // Private Functions //////////////////////////////////////////////////////////// +void AboutDialog::initInformationTab(void) +{ + const QString versionStr = QString().sprintf + ( + "Version %d.%02d %s, Build %d [%s], %s %s, Qt v%s", + lamexp_version_major(), + lamexp_version_minor(), + lamexp_version_release(), + lamexp_version_build(), + lamexp_version_date().toString(Qt::ISODate).toLatin1().constData(), + lamexp_version_compiler(), + lamexp_version_arch(), + qVersion() + ); + + const QString copyrightStr = QString().sprintf + ( + "Copyright (C) 2004-%04d LoRd_MuldeR <MuldeR2@GMX.de>. Some rights reserved.", + qMax(lamexp_version_date().year(), QDate::currentDate().year()) + ); + + QString aboutText; + + aboutText += QString("

%1

").arg(NOBR(tr("LameXP - Audio Encoder Front-end"))); + aboutText += QString("%1
").arg(NOBR(copyrightStr)); + aboutText += QString("%1

").arg(NOBR(versionStr)); + aboutText += QString("%1
").arg(NOBR(tr("Please visit %1 for news and updates!").arg(LINK(lamexp_website_url())))); + +#if QT_VERSION < QT_VERSION_CHECK(5,0,0) + if(LAMEXP_DEBUG) + { + int daysLeft = qMax(QDate::currentDate().daysTo(lamexp_version_expires()), 0); + aboutText += QString("
%1").arg(NOBR(QString("!!! --- DEBUG BUILD --- Expires at: %1 · Days left: %2 --- DEBUG BUILD --- !!!").arg(lamexp_version_expires().toString(Qt::ISODate), QString::number(daysLeft)))); + } + else if(lamexp_version_demo()) + { + int daysLeft = qMax(QDate::currentDate().daysTo(lamexp_version_expires()), 0); + aboutText += QString("
%1").arg(NOBR(tr("Note: This demo (pre-release) version of LameXP will expire at %1. Still %2 days left.").arg(lamexp_version_expires().toString(Qt::ISODate), QString::number(daysLeft)))); + } +#else + if(LAMEXP_DEBUG) + { + int daysLeft = qMax(QDate::currentDate().daysTo(lamexp_version_expires()), 0i64); + aboutText += QString("
%1").arg(NOBR(QString("!!! --- DEBUG BUILD --- Expires at: %1 · Days left: %2 --- DEBUG BUILD --- !!!").arg(lamexp_version_expires().toString(Qt::ISODate), QString::number(daysLeft)))); + } + else if(lamexp_version_demo()) + { + int daysLeft = qMax(QDate::currentDate().daysTo(lamexp_version_expires()), 0i64); + aboutText += QString("
%1").arg(NOBR(tr("Note: This demo (pre-release) version of LameXP will expire at %1. Still %2 days left.").arg(lamexp_version_expires().toString(Qt::ISODate), QString::number(daysLeft)))); + } +#endif + + aboutText += "

"; + aboutText += "This program is free software; you can redistribute it and/or
"; + aboutText += "modify it under the terms of the GNU General Public License
"; + aboutText += "as published by the Free Software Foundation; either version 2
"; + aboutText += "of the License, or (at your option) any later version.

"; + aboutText += "This program is distributed in the hope that it will be useful,
"; + aboutText += "but WITHOUT ANY WARRANTY; without even the implied warranty of
"; + aboutText += "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
"; + aboutText += "GNU General Public License for more details.

"; + aboutText += "You should have received a copy of the GNU General Public License
"; + aboutText += "along with this program; if not, write to the Free Software
"; + aboutText += "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110−1301, USA.

"; + aboutText += "
"; + aboutText += ""; + aboutText += QString("").arg(tr("Note: LameXP is free software. Do not pay money to obtain or use LameXP! If some third-party website tries to make you pay for downloading LameXP, you should not respond to the offer !!!")); + aboutText += "
 %1


"; + aboutText += QString("%1
").arg(NOBR(tr("Special thanks go out to \"John33\" from %1 for his continuous support.")).arg(LINK("http://www.rarewares.org/"))); + + infoLabel->setText(aboutText); + infoIcon->setPixmap(lamexp_app_icon().pixmap(QSize(72,72))); + connect(infoLabel, SIGNAL(linkActivated(QString)), this, SLOT(openURL(QString))); +} + +void AboutDialog::initContributorsTab(void) +{ + const QString extraSpace("
 
"); + + QString contributorsAboutText; + contributorsAboutText += QString("

%1

").arg(NOBR(tr("The following people have contributed to LameXP:"))); + contributorsAboutText += ""; + + contributorsAboutText += QString("").arg(tr("Programmers:"), extraSpace); + QString icon = QString("").arg("page_white_cplusplus"); + contributorsAboutText += QString("").arg(icon); + contributorsAboutText += QString("").arg(tr("Project Leader")); + contributorsAboutText += QString("").arg("LoRd_MuldeR", "MuldeR2@GMX.de"); + contributorsAboutText += QString(""); + + contributorsAboutText += QString("").arg(tr("Translators:"),extraSpace); + for(int i = 0; g_lamexp_translators[i].pcName; i++) + { + QString flagIcon = (strlen(g_lamexp_translators[i].pcFlag) > 0) ? QString("").arg(g_lamexp_translators[i].pcFlag) : QString(); + contributorsAboutText += QString("").arg(flagIcon); + contributorsAboutText += QString("").arg(WCHAR2QSTR(g_lamexp_translators[i].pcLanguage)); + contributorsAboutText += QString("").arg(WCHAR2QSTR(g_lamexp_translators[i].pcName), g_lamexp_translators[i].pcMail); + } + + contributorsAboutText += "
%1%2
%1  %1  %1  <%2>
 
%1%2
%1  %1  %1  <%2>


"; + contributorsAboutText += QString("%1").arg(NOBR(tr("If you are willing to contribute a LameXP translation, feel free to contact us!"))); + + contributorsLabel->setText(contributorsAboutText); + contributorsIcon->setPixmap(QIcon(":/images/Logo_Contributors.png").pixmap(QSize(72,84))); + connect(contributorsLabel, SIGNAL(linkActivated(QString)), this, SLOT(openURL(QString))); +} + +void AboutDialog::initSoftwareTab(void) +{ + QString moreAboutText; + + moreAboutText += QString("

%1

").arg(tr("The following third-party software is used in LameXP:")); + moreAboutText += "
    "; //;font-size:7pt + + moreAboutText += makeToolText + ( + tr("LAME - OpenSource mp3 Encoder"), + "lame.exe", "v?.??, Final-?", + tr("Released under the terms of the GNU Lesser General Public License."), + "http://lame.sourceforge.net/" + ); + moreAboutText += makeToolText + ( + tr("OggEnc - Ogg Vorbis Encoder"), + "oggenc2.exe", "v?.??, aoTuV Beta-?.??", + tr("Completely open and patent-free audio encoding technology."), + "http://www.vorbis.com/" + ); + moreAboutText += makeToolText + ( + tr("Nero AAC Reference MPEG-4 Encoder"), + "neroAacEnc.exe", "v?.?.?.?", + tr("Freeware state-of-the-art HE-AAC encoder with 2-Pass support."), + neroAacUrl, + tr("Available from vendor web-site as free download:") + ); + moreAboutText += makeToolText + ( + tr("Aften - A/52 audio encoder"), + "aften.exe", "v?.?.?", + tr("Released under the terms of the GNU Lesser General Public License."), + "http://aften.sourceforge.net/" + ); + moreAboutText += makeToolText + ( + tr("FLAC - Free Lossless Audio Codec"), + "flac.exe", "v?.?.?", + tr("Open and patent-free lossless audio compression technology."), + "http://flac.sourceforge.net/" + ); + moreAboutText += makeToolText + ( + tr("Opus Audio Codec"), + "opusenc_std.exe", "????-??-??", + tr("Totally open, royalty-free, highly versatile audio codec."), + "http://www.opus-codec.org/" + ); + moreAboutText += makeToolText + ( + tr("mpg123 - Fast Console MPEG Audio Player/Decoder"), + "mpg123.exe", "v?.??.?", + tr("Released under the terms of the GNU Lesser General Public License."), + "http://www.mpg123.de/" + ); + moreAboutText += makeToolText + ( + tr("FAAD - OpenSource MPEG-4 and MPEG-2 AAC Decoder"), + "faad.exe", "v?.?", + tr("Released under the terms of the GNU General Public License."), + "http://www.audiocoding.com/" + ); + moreAboutText += makeToolText + ( + tr("AC3Filter Tools - AC3/DTS Decoder"), + "valdec.exe", "v?.??", + tr("Released under the terms of the GNU Lesser General Public License."), + "http://www.ac3filter.net/projects/tools" + ); + moreAboutText += makeToolText + ( + tr("WavPack - Hybrid Lossless Compression"), + "wvunpack.exe", "v?.??.?", + tr("Completely open audio compression format."), + "http://www.wavpack.com/" + ); + moreAboutText += makeToolText + ( + tr("Musepack - Living Audio Compression"), + "mpcdec.exe", "r???", + tr("Released under the terms of the GNU Lesser General Public License."), + "http://www.musepack.net/" + ); + moreAboutText += makeToolText + ( + tr("Monkey's Audio - Lossless Audio Compressor"), + "mac.exe", "v?.??", + tr("Freely available source code, simple SDK and non-restrictive licensing."), + "http://www.monkeysaudio.com/" + ); + moreAboutText += makeToolText + ( + tr("Shorten - Lossless Audio Compressor"), + "shorten.exe", "v?.?.?", + tr("Released under the terms of the GNU Lesser General Public License."), + "http://etree.org/shnutils/shorten/" + ); + moreAboutText += makeToolText + ( + tr("Speex - Free Codec For Free Speech"), + "speexdec.exe", "v?.?", + tr("Open Source patent-free audio format designed for speech."), + "http://www.speex.org/" + ); + moreAboutText += makeToolText + ( + tr("The True Audio - Lossless Audio Codec"), + "tta.exe", "v?.?", + tr("Released under the terms of the GNU Lesser General Public License."), + "http://tta.sourceforge.net/" + ); + moreAboutText += makeToolText + ( + tr("ALAC Decoder"), + "alac.exe", "v?.?.?", + tr("Copyright (c) 2004 David Hammerton. Contributions by Cody Brocious."), + "http://craz.net/programs/itunes/alac.html" + ); + moreAboutText += makeToolText + ( + tr("wma2wav - Dump WMA files to Wave Audio"), + "wma2wav.exe", "????-??-??", + tr("Copyright (c) 2011 LoRd_MuldeR . Some rights reserved."), + "http://forum.doom9.org/showthread.php?t=140273" + ); + moreAboutText += makeToolText + ( + tr("avs2wav - Avisynth to Wave Audio converter"), + "avs2wav.exe", "v?.?", + tr("By Jory Stone and LoRd_MuldeR ."), + "http://forum.doom9.org/showthread.php?t=70882" + ); + moreAboutText += makeToolText + ( + tr("dcaenc"), + "dcaenc.exe", "????-??-??", + tr("Copyright (c) 2008-2011 Alexander E. Patrakov. Distributed under the LGPL."), + "http://gitorious.org/dtsenc/dtsenc/trees/master" + ); + moreAboutText += makeToolText + ( + tr("MediaInfo - Media File Analysis Tool"), + "mediainfo.exe", "v?.?.??", + tr("Released under the terms of the GNU Lesser General Public License."), + "http://mediainfo.sourceforge.net/" + ); + moreAboutText += makeToolText + ( + tr("SoX - Sound eXchange"), + "sox.exe", "v??.?.?", + tr("Released under the terms of the GNU Lesser General Public License."), + "http://sox.sourceforge.net/" + ); + moreAboutText += makeToolText + ( + tr("GnuPG - The GNU Privacy Guard"), + "gpgv.exe", "v?.?.??", + tr("Released under the terms of the GNU Lesser General Public License."), + "http://www.gnupg.org/" + ); + moreAboutText += makeToolText + ( + tr("GNU Wget - Software for retrieving files using HTTP"), + "wget.exe", "v?.??.?", + tr("Released under the terms of the GNU Lesser General Public License."), + "http://www.gnu.org/software/wget/" + ); + moreAboutText += makeToolText + ( + tr("Silk Icons - Over 700 icons in PNG format"), + QString(), "v1.3", + tr("By Mark James, released under the Creative Commons 'by' License."), + "http://www.famfamfam.com/lab/icons/silk/" + ); + moreAboutText += QString("
 
%1
").arg + ( + tr("LameXP as a whole is copyrighted by LoRd_MuldeR. The copyright of third-party software used in LameXP belongs to the individual authors.") + ); + + softwareLabel->setText(moreAboutText); + softwareIcon->setPixmap(QIcon(":/images/Logo_Software.png").pixmap(QSize(72,65))); + connect(softwareLabel, SIGNAL(linkActivated(QString)), this, SLOT(openURL(QString))); +} + +void AboutDialog::initLicenseTab(void) +{ + QString licenseText; + licenseText += (""); + + QFile file(":/License.txt"); + if(file.open(QIODevice::ReadOnly)) + { + QTextStream stream(&file); + unsigned int counter = 0; + while((!stream.atEnd()) && (stream.status() == QTextStream::Ok)) + { + QString line = stream.readLine().replace('<', "<").replace('>', ">"); + switch(counter) + { + case 0: + if(!line.isEmpty()) licenseText += QString("%1
").arg(line.simplified()); + break; + case 1: + if(!line.isEmpty()) licenseText += QString("%1
").arg(line.simplified()); + break; + default: + licenseText += QString("%1
").arg(line.replace(' ', " ")); + break; + } + if(!line.isEmpty()) counter++; + } + stream.device()->close(); + } + else + { + licenseText += LINK("http://www.gnu.org/licenses/gpl-2.0.html"); + } + + licenseText += ("
"); + + licenseLabel->setText(licenseText); + licenseIcon->setPixmap(QIcon(":/images/Logo_GNU.png").pixmap(QSize(72,65))); +} + + QString AboutDialog::makeToolText(const QString &toolName, const QString &toolBin, const QString &toolVerFmt, const QString &toolLicense, const QString &toolWebsite, const QString &extraInfo) { QString toolText, verStr(toolVerFmt); diff --git a/src/Dialog_About.h b/src/Dialog_About.h index d0d8a0b1..09ee5e80 100644 --- a/src/Dialog_About.h +++ b/src/Dialog_About.h @@ -21,11 +21,11 @@ #pragma once -#include +#include "../tmp/UIC_AboutDialog.h" class SettingsModel; -class AboutDialog : public QMessageBox +class AboutDialog : public QDialog, private Ui::AboutDialog { Q_OBJECT @@ -38,10 +38,8 @@ public: public slots: int exec(); void enableButtons(void); - void openLicenseText(void); - void showMoreAbout(void); + void openURL(const QString &url); void showAboutQt(void); - void showAboutContributors(void); void moveDisque(void); protected: @@ -58,6 +56,11 @@ private: bool m_rotateNext; __int64 m_disqueDelay; + void initInformationTab(void); + void initContributorsTab(void); + void initSoftwareTab(void); + void initLicenseTab(void); + QString makeToolText(const QString &toolName, const QString &toolBin, const QString &toolVerFmt, const QString &toolLicense, const QString &toolWebsite, const QString &extraInfo = QString()); bool playResoureSound(const QString &library, const unsigned long soundId, const bool async); };