SpectMorph
smmorphoutputview.hh
1 // Licensed GNU LGPL v3 or later: http://www.gnu.org/licenses/lgpl.html
2 
3 #ifndef SPECTMORPH_MORPH_OUTPUT_VIEW_HH
4 #define SPECTMORPH_MORPH_OUTPUT_VIEW_HH
5 
6 #include "smmorphoperatorview.hh"
7 #include "smmorphoutput.hh"
8 #include "smcomboboxoperator.hh"
9 
10 #include <QComboBox>
11 #include <QCheckBox>
12 
13 namespace SpectMorph
14 {
15 
17 {
18  Q_OBJECT
19 
20  struct ChannelView {
21  QLabel *label;
22  ComboBoxOperator *combobox;
23  };
24  std::vector<ChannelView *> channels;
25  QLabel *unison_voices_title;
26  QLabel *unison_voices_label;
27  QSlider *unison_voices_slider;
28 
29  QLabel *unison_detune_title;
30  QLabel *unison_detune_label;
31  QSlider *unison_detune_slider;
32 
33  MorphOutput *morph_output;
34 public:
35  MorphOutputView (MorphOutput *morph_morph_output, MorphPlanWindow *morph_plan_window);
36 
37 public slots:
38  void on_sines_changed (bool new_value);
39  void on_noise_changed (bool new_value);
40  void on_unison_changed (bool new_value);
41  void on_unison_voices_changed (int voices);
42  void on_unison_detune_changed (int new_value);
43  void on_operator_changed();
44 };
45 
46 }
47 
48 #endif
Definition: smmorphplanwindow.hh:26
Definition: smmorphoutputview.hh:16
Definition: smalignedarray.cc:7
Definition: smmorphoperatorview.hh:15
Definition: smmorphoutput.hh:13
Definition: smcomboboxoperator.hh:19