changeset 380:49e38c6a8a47 tonioni_experiment_july2014

Add text to About box to show the configuration
author Chris Cannam
date Mon, 21 Jul 2014 14:23:51 +0100
parents 948148da3a46
children 5641917aea9c
files src/MainWindow.cpp
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/MainWindow.cpp	Mon Jul 21 13:48:40 2014 +0100
+++ b/src/MainWindow.cpp	Mon Jul 21 14:23:51 2014 +0100
@@ -3288,6 +3288,15 @@
     aboutText += tr("<p>Using Qt framework version %1.</p>")
         .arg(QT_VERSION_STR);
 
+    //!!! Tony experiment hacks:
+    if (!m_withSonification) {
+        aboutText += tr("<p>Sonification disabled.</p>");
+    }
+    if (!m_withSpectrogram) {
+        aboutText += tr("<p>Spectrogram disabled.</p>");
+    }
+    aboutText += tr("<p>Includes modification to forget all settings between program runs, for use in an experimental environment.</p>");
+
     aboutText += 
         "<p>Copyright &copy; 2005&ndash;2014 Chris Cannam, Queen Mary University of London, and the Tony project authors: Matthias Mauch, George Fazekas, Justin Salamon, and Rachel Bittner.</p>"
         "<p>pYIN analysis plugin written by Matthias Mauch.</p>"