Mercurial > hg > svgui
comparison 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 |
comparison
equal
deleted
inserted
replaced
68:193b569a975f | 69:6dad2724f3aa |
---|---|
32 class PluginParameterDialog : public QDialog | 32 class PluginParameterDialog : public QDialog |
33 { | 33 { |
34 Q_OBJECT | 34 Q_OBJECT |
35 | 35 |
36 public: | 36 public: |
37 PluginParameterDialog(PluginInstance *, QWidget *parent = 0); | 37 PluginParameterDialog(PluginInstance *, |
38 int sourceChannels, | |
39 int targetChannels, | |
40 int defaultChannel, | |
41 QWidget *parent = 0); | |
38 ~PluginParameterDialog(); | 42 ~PluginParameterDialog(); |
39 | 43 |
40 PluginInstance *getPlugin() { return m_plugin; } | 44 PluginInstance *getPlugin() { return m_plugin; } |
41 | 45 |
46 int getChannel() const { return m_channel; } | |
47 | |
42 signals: | 48 signals: |
43 void pluginConfigurationChanged(QString); | 49 void pluginConfigurationChanged(QString); |
44 | 50 |
51 protected slots: | |
52 void channelComboChanged(int); | |
53 | |
45 protected: | 54 protected: |
46 PluginInstance *m_plugin; | 55 PluginInstance *m_plugin; |
56 int m_channel; | |
47 PluginParameterBox *m_parameterBox; | 57 PluginParameterBox *m_parameterBox; |
48 }; | 58 }; |
49 | 59 |
50 #endif | 60 #endif |
51 | 61 |