Mercurial > hg > svgui
comparison widgets/PluginParameterDialog.h @ 164:11949d0b2739
* Add system-specific LADSPA and DSSI plugin paths (for OS/X and Windows)
* Add ability to open more than one audio file at once from the command line
* Add plugin input source selection (with some caveats)
* Show name of file being decoded in Ogg/mp3 decode progress dialog
author | Chris Cannam |
---|---|
date | Thu, 12 Oct 2006 14:56:28 +0000 |
parents | dd6dd983e8ef |
children | 42118892f428 |
comparison
equal
deleted
inserted
replaced
163:dd6dd983e8ef | 164:11949d0b2739 |
---|---|
24 class PluginParameterBox; | 24 class PluginParameterBox; |
25 class QWidget; | 25 class QWidget; |
26 class QPushButton; | 26 class QPushButton; |
27 class QLabel; | 27 class QLabel; |
28 class QGroupBox; | 28 class QGroupBox; |
29 class QComboBox; | |
29 | 30 |
30 /** | 31 /** |
31 * A dialog for editing the parameters of a given plugin, using a | 32 * A dialog for editing the parameters of a given plugin, using a |
32 * PluginParameterBox. This dialog does not contain any mechanism for | 33 * PluginParameterBox. This dialog does not contain any mechanism for |
33 * selecting the plugin in the first place. Note that the dialog | 34 * selecting the plugin in the first place. Note that the dialog |
50 void setOutputLabel(QString output); | 51 void setOutputLabel(QString output); |
51 | 52 |
52 void setShowProcessingOptions(bool showWindowSize, | 53 void setShowProcessingOptions(bool showWindowSize, |
53 bool showFrequencyDomainOptions); | 54 bool showFrequencyDomainOptions); |
54 | 55 |
56 void setCandidateInputModels(const QStringList &names); | |
57 | |
55 Vamp::PluginBase *getPlugin() { return m_plugin; } | 58 Vamp::PluginBase *getPlugin() { return m_plugin; } |
56 | 59 |
57 int getChannel() const { return m_channel; } | 60 int getChannel() const { return m_channel; } |
61 | |
62 QString getInputModel() const; | |
58 | 63 |
59 //!!! merge with PluginTransform::ExecutionContext | 64 //!!! merge with PluginTransform::ExecutionContext |
60 | 65 |
61 void getProcessingParameters(size_t &blockSize) const; | 66 void getProcessingParameters(size_t &blockSize) const; |
62 void getProcessingParameters(size_t &stepSize, size_t &blockSize, | 67 void getProcessingParameters(size_t &stepSize, size_t &blockSize, |
63 WindowType &windowType) const; | 68 WindowType &windowType) const; |
64 | 69 |
65 signals: | 70 signals: |
66 void pluginConfigurationChanged(QString); | 71 void pluginConfigurationChanged(QString); |
72 void inputModelChanged(QString); | |
67 | 73 |
68 protected slots: | 74 protected slots: |
69 void channelComboChanged(int); | 75 void channelComboChanged(int); |
70 void blockSizeComboChanged(const QString &); | 76 void blockSizeComboChanged(const QString &); |
71 void incrementComboChanged(const QString &); | 77 void incrementComboChanged(const QString &); |
83 WindowType m_windowType; | 89 WindowType m_windowType; |
84 PluginParameterBox *m_parameterBox; | 90 PluginParameterBox *m_parameterBox; |
85 | 91 |
86 QLabel *m_outputLabel; | 92 QLabel *m_outputLabel; |
87 QLabel *m_outputValue; | 93 QLabel *m_outputValue; |
94 | |
88 QGroupBox *m_channelBox; | 95 QGroupBox *m_channelBox; |
89 bool m_haveChannelBoxData; | 96 bool m_haveChannelBoxData; |
97 | |
90 QGroupBox *m_windowBox; | 98 QGroupBox *m_windowBox; |
91 bool m_haveWindowBoxData; | 99 bool m_haveWindowBoxData; |
100 | |
101 QGroupBox *m_inputModelBox; | |
102 QComboBox *m_inputModels; | |
92 | 103 |
93 QPushButton *m_advancedButton; | 104 QPushButton *m_advancedButton; |
94 QWidget *m_advanced; | 105 QWidget *m_advanced; |
95 bool m_advancedVisible; | 106 bool m_advancedVisible; |
96 }; | 107 }; |