diff widgets/PluginParameterBox.cpp @ 64:10bcd53ddc71

* Add icon for playback plugin edit button * Make playback plugins respond to parameter & program changes while their edit dialog is still visible
author Chris Cannam
date Thu, 23 Mar 2006 18:42:17 +0000
parents fb02fe13ff47
children 72fa239a4880
line wrap: on
line diff
--- a/widgets/PluginParameterBox.cpp	Thu Mar 23 15:49:41 2006 +0000
+++ b/widgets/PluginParameterBox.cpp	Thu Mar 23 18:42:17 2006 +0000
@@ -192,6 +192,8 @@
     }
 
     m_plugin->setParameter(name.toStdString(), newValue);
+
+    emit pluginConfigurationChanged(m_plugin->toXmlString());
 }
 
 void
@@ -209,6 +211,8 @@
 
     if (state) m_plugin->setParameter(name.toStdString(), 1.0);
     else m_plugin->setParameter(name.toStdString(), 0.0);
+
+    emit pluginConfigurationChanged(m_plugin->toXmlString());
 }
 
 void
@@ -253,6 +257,8 @@
     }
 
     m_plugin->setParameter(name.toStdString(), value);
+
+    emit pluginConfigurationChanged(m_plugin->toXmlString());
 }
 
 void
@@ -289,5 +295,7 @@
             i->second.dial->blockSignals(false);
         }
     }
+
+    emit pluginConfigurationChanged(m_plugin->toXmlString());
 }