diff 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
line wrap: on
line diff
--- a/widgets/PluginParameterDialog.h	Wed Oct 11 16:18:51 2006 +0000
+++ b/widgets/PluginParameterDialog.h	Thu Oct 12 14:56:28 2006 +0000
@@ -26,6 +26,7 @@
 class QPushButton;
 class QLabel;
 class QGroupBox;
+class QComboBox;
 
 /**
  * A dialog for editing the parameters of a given plugin, using a
@@ -52,10 +53,14 @@
     void setShowProcessingOptions(bool showWindowSize,
                                   bool showFrequencyDomainOptions);
 
+    void setCandidateInputModels(const QStringList &names);
+
     Vamp::PluginBase *getPlugin() { return m_plugin; }
 
     int getChannel() const { return m_channel; }
 
+    QString getInputModel() const;
+
     //!!! merge with PluginTransform::ExecutionContext
 
     void getProcessingParameters(size_t &blockSize) const;
@@ -64,6 +69,7 @@
 
 signals:
     void pluginConfigurationChanged(QString);
+    void inputModelChanged(QString);
 
 protected slots:
     void channelComboChanged(int);
@@ -85,11 +91,16 @@
 
     QLabel *m_outputLabel;
     QLabel *m_outputValue;
+
     QGroupBox *m_channelBox;
     bool m_haveChannelBoxData;
+
     QGroupBox *m_windowBox;
     bool m_haveWindowBoxData;
 
+    QGroupBox *m_inputModelBox;
+    QComboBox *m_inputModels;
+
     QPushButton *m_advancedButton;
     QWidget *m_advanced;
     bool m_advancedVisible;