comparison widgets/PropertyBox.cpp @ 163:dd6dd983e8ef

* Tidy up plugin parameter dialog by switching it to a simple constructor with separate methods for passing in the additional options if necessary * Fix sizing problem on advanced pane toggle in plugin parameter dialog * Make a start on passing in list of candidate input models for transform
author Chris Cannam
date Wed, 11 Oct 2006 16:18:51 +0000
parents 33929e0c3c6b
children 53b9c7656798
comparison
equal deleted inserted replaced
162:f32212631b9c 163:dd6dd983e8ef
541 factory->instantiatePlugin(pluginId, 0, 0, 48000, 1024, 1); 541 factory->instantiatePlugin(pluginId, 0, 0, 48000, 1024, 1);
542 if (!instance) return; 542 if (!instance) return;
543 543
544 PluginXml(instance).setParametersFromXml(configurationXml); 544 PluginXml(instance).setParametersFromXml(configurationXml);
545 545
546 PluginParameterDialog *dialog = new PluginParameterDialog(instance, -1, -1, -1); 546 PluginParameterDialog *dialog = new PluginParameterDialog(instance);
547 connect(dialog, SIGNAL(pluginConfigurationChanged(QString)), 547 connect(dialog, SIGNAL(pluginConfigurationChanged(QString)),
548 this, SLOT(pluginConfigurationChanged(QString))); 548 this, SLOT(pluginConfigurationChanged(QString)));
549 549
550 if (dialog->exec() == QDialog::Accepted) { 550 if (dialog->exec() == QDialog::Accepted) {
551 params->setPlayPluginConfiguration(PluginXml(instance).toXmlString()); 551 params->setPlayPluginConfiguration(PluginXml(instance).toXmlString());