Mercurial > hg > svgui
diff widgets/PluginParameterDialog.h @ 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 |
line wrap: on
line diff
--- a/widgets/PluginParameterDialog.h Wed Mar 29 16:24:25 2006 +0000 +++ b/widgets/PluginParameterDialog.h Thu Mar 30 13:18:11 2006 +0000 @@ -34,16 +34,26 @@ Q_OBJECT public: - PluginParameterDialog(PluginInstance *, QWidget *parent = 0); + PluginParameterDialog(PluginInstance *, + int sourceChannels, + int targetChannels, + int defaultChannel, + QWidget *parent = 0); ~PluginParameterDialog(); PluginInstance *getPlugin() { return m_plugin; } + int getChannel() const { return m_channel; } + signals: void pluginConfigurationChanged(QString); +protected slots: + void channelComboChanged(int); + protected: PluginInstance *m_plugin; + int m_channel; PluginParameterBox *m_parameterBox; };