Mercurial > hg > svgui
comparison widgets/PluginParameterDialog.h @ 62:50429a56680f
* Add plugin parameter dialog, and use it to set up parameters for feature
extraction plugins via a semi-opaque (translucent?) configurationXml string
which is associated with a given transform instance.
This is not yet saved to and restored from the SV file properly.
* Remove no-longer-relevant BeatDetect and BeatDetectionFunction transforms
(replaced a long time ago with the beat detector plugin).
author | Chris Cannam |
---|---|
date | Wed, 22 Mar 2006 17:38:29 +0000 |
parents | |
children | 10bcd53ddc71 |
comparison
equal
deleted
inserted
replaced
61:d072a3b59a0d | 62:50429a56680f |
---|---|
1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ | |
2 | |
3 /* | |
4 Sonic Visualiser | |
5 An audio file viewer and annotation editor. | |
6 Centre for Digital Music, Queen Mary, University of London. | |
7 This file copyright 2006 Chris Cannam. | |
8 | |
9 This program is free software; you can redistribute it and/or | |
10 modify it under the terms of the GNU General Public License as | |
11 published by the Free Software Foundation; either version 2 of the | |
12 License, or (at your option) any later version. See the file | |
13 COPYING included with this distribution for more information. | |
14 */ | |
15 | |
16 #ifndef _PLUGIN_PARAMETER_DIALOG_H_ | |
17 #define _PLUGIN_PARAMETER_DIALOG_H_ | |
18 | |
19 #include <QDialog> | |
20 | |
21 class PluginInstance; | |
22 class PluginParameterBox; | |
23 | |
24 /** | |
25 * A dialog for editing the parameters of a given plugin, using a | |
26 * PluginParameterBox. This dialog does not contain any mechanism for | |
27 * selecting the plugin in the first place. Note that the dialog | |
28 * directly modifies the parameters of the plugin, so they will remain | |
29 * modified even if the dialog is then cancelled. | |
30 */ | |
31 | |
32 class PluginParameterDialog : public QDialog | |
33 { | |
34 Q_OBJECT | |
35 | |
36 public: | |
37 PluginParameterDialog(PluginInstance *, QWidget *parent = 0); | |
38 ~PluginParameterDialog(); | |
39 | |
40 PluginInstance *getPlugin() { return m_plugin; } | |
41 | |
42 protected: | |
43 PluginInstance *m_plugin; | |
44 PluginParameterBox *m_parameterBox; | |
45 }; | |
46 | |
47 #endif | |
48 |