Mercurial > hg > svgui
comparison widgets/PropertyBox.cpp @ 69:6dad2724f3aa
* Ensure plugin parameters for a transform are saved in the .sv file and
restored in case the plugin has to be run again
* Make plugin dialog offer options for mixdown/single-channel use if the
file has more than one channels but the plugin only accepts one
* Fix incorrect samplerate playback for second file loaded if its samplerate
differed from first
* Add Zoom to Fit and Select Visible Range menu options, split out Import
Audio into main model and secondary model options
* Add stubs for cut, copy and paste operations (not implemented yet)
author | Chris Cannam |
---|---|
date | Thu, 30 Mar 2006 13:18:11 +0000 |
parents | 10bcd53ddc71 |
children | 72fa239a4880 |
comparison
equal
deleted
inserted
replaced
68:193b569a975f | 69:6dad2724f3aa |
---|---|
485 factory->instantiatePlugin(pluginId, 0, 0, 48000, 1024, 1); | 485 factory->instantiatePlugin(pluginId, 0, 0, 48000, 1024, 1); |
486 if (!instance) return; | 486 if (!instance) return; |
487 | 487 |
488 instance->setParametersFromXml(configurationXml); | 488 instance->setParametersFromXml(configurationXml); |
489 | 489 |
490 PluginParameterDialog *dialog = new PluginParameterDialog(instance); | 490 PluginParameterDialog *dialog = new PluginParameterDialog(instance, -1, -1, -1); |
491 connect(dialog, SIGNAL(pluginConfigurationChanged(QString)), | 491 connect(dialog, SIGNAL(pluginConfigurationChanged(QString)), |
492 this, SLOT(pluginConfigurationChanged(QString))); | 492 this, SLOT(pluginConfigurationChanged(QString))); |
493 | 493 |
494 if (dialog->exec() == QDialog::Accepted) { | 494 if (dialog->exec() == QDialog::Accepted) { |
495 params->setPlayPluginConfiguration(instance->toXmlString()); | 495 params->setPlayPluginConfiguration(instance->toXmlString()); |