diff widgets/PluginParameterBox.cpp @ 208:8495187c13ce

* Further fixes for Vamp API change, and update to support API versioning * Add plugin, output and parameter descriptions to GUI * Avoid squished panner in heads-up-display on pane when time-value or note layer is on top
author Chris Cannam
date Tue, 27 Feb 2007 12:51:38 +0000
parents a5b3c9f580c1
children e6d0b097d102
line wrap: on
line diff
--- a/widgets/PluginParameterBox.cpp	Mon Feb 26 20:08:51 2007 +0000
+++ b/widgets/PluginParameterBox.cpp	Tue Feb 27 12:51:38 2007 +0000
@@ -115,6 +115,9 @@
         // an integer!
 
         QLabel *label = new QLabel(name);
+        if (params[i].description != "") {
+            label->setToolTip(params[i].description.c_str());
+        }
         m_layout->addWidget(label, i + offset, 0);
 
         ParamRec rec;