Mercurial > hg > tony
comparison src/MainWindow.cpp @ 90:66a60668c31c
About box updates
author | Chris Cannam |
---|---|
date | Tue, 03 Dec 2013 17:17:14 +0000 |
parents | ca570861c105 |
children | fb55264c3dca |
comparison
equal
deleted
inserted
replaced
89:48dfa1842639 | 90:66a60668c31c |
---|---|
1686 aboutText += tr("<p>Tony is a program for interactive note and pitch analysis and annotation.</p>"); | 1686 aboutText += tr("<p>Tony is a program for interactive note and pitch analysis and annotation.</p>"); |
1687 aboutText += tr("<p>%1 : %2 configuration</p>") | 1687 aboutText += tr("<p>%1 : %2 configuration</p>") |
1688 .arg(version) | 1688 .arg(version) |
1689 .arg(debug ? tr("Debug") : tr("Release")); | 1689 .arg(debug ? tr("Debug") : tr("Release")); |
1690 | 1690 |
1691 #ifndef BUILD_STATIC | |
1692 aboutText += tr("<br>Using Qt v%1 © Trolltech AS").arg(QT_VERSION_STR); | |
1693 #else | |
1694 #ifdef QT_SHARED | |
1695 aboutText += tr("<br>Using Qt v%1 © Trolltech AS").arg(QT_VERSION_STR); | |
1696 #endif | |
1697 #endif | |
1698 | |
1699 #ifdef BUILD_STATIC | |
1700 aboutText += tr("<p>Statically linked"); | |
1701 #ifndef QT_SHARED | |
1702 aboutText += tr("<br>With Qt (v%1) © Trolltech AS").arg(QT_VERSION_STR); | |
1703 #endif | |
1704 #ifdef HAVE_JACK | |
1705 #ifdef JACK_VERSION | |
1706 aboutText += tr("<br>With JACK audio output (v%1) © Paul Davis and Jack O'Quin").arg(JACK_VERSION); | |
1707 #else | |
1708 aboutText += tr("<br>With JACK audio output © Paul Davis and Jack O'Quin"); | |
1709 #endif | |
1710 #endif | |
1711 #ifdef HAVE_PORTAUDIO | |
1712 aboutText += tr("<br>With PortAudio audio output © Ross Bencina and Phil Burk"); | |
1713 #endif | |
1714 #ifdef HAVE_OGGZ | |
1715 #ifdef OGGZ_VERSION | |
1716 aboutText += tr("<br>With Ogg file decoder (oggz v%1, fishsound v%2) © CSIRO Australia").arg(OGGZ_VERSION).arg(FISHSOUND_VERSION); | |
1717 #else | |
1718 aboutText += tr("<br>With Ogg file decoder © CSIRO Australia"); | |
1719 #endif | |
1720 #endif | |
1721 #ifdef HAVE_MAD | |
1722 #ifdef MAD_VERSION | |
1723 aboutText += tr("<br>With MAD mp3 decoder (v%1) © Underbit Technologies Inc").arg(MAD_VERSION); | |
1724 #else | |
1725 aboutText += tr("<br>With MAD mp3 decoder © Underbit Technologies Inc"); | |
1726 #endif | |
1727 #endif | |
1728 #ifdef HAVE_SAMPLERATE | |
1729 #ifdef SAMPLERATE_VERSION | |
1730 aboutText += tr("<br>With libsamplerate (v%1) © Erik de Castro Lopo").arg(SAMPLERATE_VERSION); | |
1731 #else | |
1732 aboutText += tr("<br>With libsamplerate © Erik de Castro Lopo"); | |
1733 #endif | |
1734 #endif | |
1735 #ifdef HAVE_SNDFILE | |
1736 #ifdef SNDFILE_VERSION | |
1737 aboutText += tr("<br>With libsndfile (v%1) © Erik de Castro Lopo").arg(SNDFILE_VERSION); | |
1738 #else | |
1739 aboutText += tr("<br>With libsndfile © Erik de Castro Lopo"); | |
1740 #endif | |
1741 #endif | |
1742 #ifdef HAVE_FFTW3F | |
1743 #ifdef FFTW3_VERSION | |
1744 aboutText += tr("<br>With FFTW3 (v%1) © Matteo Frigo and MIT").arg(FFTW3_VERSION); | |
1745 #else | |
1746 aboutText += tr("<br>With FFTW3 © Matteo Frigo and MIT"); | |
1747 #endif | |
1748 #endif | |
1749 #ifdef HAVE_VAMP | |
1750 aboutText += tr("<br>With Vamp plugin support (API v%1, host SDK v%2) © Chris Cannam").arg(VAMP_API_VERSION).arg(VAMP_SDK_VERSION); | |
1751 #endif | |
1752 aboutText += tr("<br>With LADSPA plugin support (API v%1) © Richard Furse, Paul Davis, Stefan Westerfeld").arg(LADSPA_VERSION); | |
1753 aboutText += tr("<br>With DSSI plugin support (API v%1) © Chris Cannam, Steve Harris, Sean Bolton").arg(DSSI_VERSION); | |
1754 #ifdef HAVE_LIBLO | |
1755 #ifdef LIBLO_VERSION | |
1756 aboutText += tr("<br>With liblo Lite OSC library (v%1) © Steve Harris").arg(LIBLO_VERSION); | |
1757 #else | |
1758 aboutText += tr("<br>With liblo Lite OSC library © Steve Harris").arg(LIBLO_VERSION); | |
1759 #endif | |
1760 if (m_oscQueue && m_oscQueue->isOK()) { | |
1761 aboutText += tr("<p>The OSC URL for this instance is: \"%1\"").arg(m_oscQueue->getOSCURL()); | |
1762 } | |
1763 #endif | |
1764 aboutText += "</p>"; | |
1765 #endif | |
1766 | |
1767 aboutText += | 1691 aboutText += |
1768 "<p>Copyright © 2005–2012 Chris Cannam and<br>" | 1692 "<p>Copyright © 2005–2013 Chris Cannam, Matthias Mauch, George Fazekas, and Queen Mary University of London.</p>" |
1769 "Queen Mary, University of London.</p>" | 1693 "<p>This program is free software; you can redistribute it and/or " |
1770 "<p>This program is free software; you can redistribute it and/or<br>" | 1694 "modify it under the terms of the GNU General Public License as " |
1771 "modify it under the terms of the GNU General Public License as<br>" | 1695 "published by the Free Software Foundation; either version 2 of the " |
1772 "published by the Free Software Foundation; either version 2 of the<br>" | |
1773 "License, or (at your option) any later version.<br>See the file " | 1696 "License, or (at your option) any later version.<br>See the file " |
1774 "COPYING included with this distribution for more information.</p>"; | 1697 "COPYING included with this distribution for more information.</p>"; |
1775 | 1698 |
1776 QMessageBox::about(this, tr("About %1").arg(QApplication::applicationName()), aboutText); | 1699 QMessageBox::about(this, tr("About %1").arg(QApplication::applicationName()), aboutText); |
1777 } | 1700 } |