Mercurial > hg > svgui
comparison widgets/PluginParameterDialog.h @ 145:4d132a06db9b
* Add mono timestretch toggle button; some more work on getting blocksize etc
parameters through to plugins
author | Chris Cannam |
---|---|
date | Mon, 18 Sep 2006 16:43:17 +0000 |
parents | bcb6d71be63c |
children | a1f7d265ac79 |
comparison
equal
deleted
inserted
replaced
144:d1e5cd4574a0 | 145:4d132a06db9b |
---|---|
15 | 15 |
16 #ifndef _PLUGIN_PARAMETER_DIALOG_H_ | 16 #ifndef _PLUGIN_PARAMETER_DIALOG_H_ |
17 #define _PLUGIN_PARAMETER_DIALOG_H_ | 17 #define _PLUGIN_PARAMETER_DIALOG_H_ |
18 | 18 |
19 #include <QDialog> | 19 #include <QDialog> |
20 | |
21 #include "base/Window.h" | |
20 | 22 |
21 namespace Vamp { class PluginBase; } | 23 namespace Vamp { class PluginBase; } |
22 class PluginParameterBox; | 24 class PluginParameterBox; |
23 class QWidget; | 25 class QWidget; |
24 class QPushButton; | 26 class QPushButton; |
48 | 50 |
49 Vamp::PluginBase *getPlugin() { return m_plugin; } | 51 Vamp::PluginBase *getPlugin() { return m_plugin; } |
50 | 52 |
51 int getChannel() const { return m_channel; } | 53 int getChannel() const { return m_channel; } |
52 | 54 |
55 void getProcessingParameters(size_t &blockSize) const; | |
56 void getProcessingParameters(size_t &stepSize, size_t &blockSize, | |
57 WindowType &windowType) const; | |
58 | |
53 signals: | 59 signals: |
54 void pluginConfigurationChanged(QString); | 60 void pluginConfigurationChanged(QString); |
55 | 61 |
56 protected slots: | 62 protected slots: |
57 void channelComboChanged(int); | 63 void channelComboChanged(int); |
64 void blockSizeComboChanged(QString); | |
65 void incrementComboChanged(QString); | |
66 void windowTypeChanged(WindowType type); | |
58 void advancedToggled(); | 67 void advancedToggled(); |
59 | 68 |
60 protected: | 69 protected: |
61 Vamp::PluginBase *m_plugin; | 70 Vamp::PluginBase *m_plugin; |
62 int m_channel; | 71 int m_channel; |
72 size_t m_stepSize; | |
73 size_t m_blockSize; | |
74 WindowType m_windowType; | |
63 PluginParameterBox *m_parameterBox; | 75 PluginParameterBox *m_parameterBox; |
64 QPushButton *m_advancedButton; | 76 QPushButton *m_advancedButton; |
65 QWidget *m_advanced; | 77 QWidget *m_advanced; |
66 }; | 78 }; |
67 | 79 |