SpectMorph
smmorphlinearview.hh
1 // Licensed GNU LGPL v3 or later: http://www.gnu.org/licenses/lgpl.html
2 
3 #ifndef SPECTMORPH_MORPH_LINEAR_VIEW_HH
4 #define SPECTMORPH_MORPH_LINEAR_VIEW_HH
5 
6 #include "smmorphoperatorview.hh"
7 #include "smmorphlinear.hh"
8 #include "smcomboboxoperator.hh"
9 
10 #include <QLabel>
11 #include <QSlider>
12 #include <QStackedWidget>
13 
14 namespace SpectMorph
15 {
16 
18 {
19  Q_OBJECT
20 protected:
21  MorphLinear *morph_linear;
22 
23  TypeOperatorFilter operator_filter;
24  TypeOperatorFilter control_operator_filter;
25  QLabel *morphing_label;
26  QSlider *morphing_slider;
27  QStackedWidget *morphing_stack;
28 
29  ComboBoxOperator *left_combobox;
30  ComboBoxOperator *right_combobox;
31  ComboBoxOperator *control_combobox;
32 
33  void update_slider();
34 
35 public:
36  MorphLinearView (MorphLinear *op, MorphPlanWindow *morph_plan_window);
37 
38 public slots:
39  void on_morphing_changed (int new_value);
40  void on_control_changed();
41  void on_operator_changed();
42  void on_db_linear_changed (bool new_value);
43 #if SPECTMORPH_SUPPORT_LPC
44  void on_use_lpc_changed (bool new_value);
45 #endif
46 };
47 
48 }
49 
50 #endif
Definition: smmorphlinear.hh:13
Definition: smmorphplanwindow.hh:26
Definition: smmorphlinearview.hh:17
Definition: smalignedarray.cc:7
Definition: smmorphoperatorview.hh:15
Definition: smcomboboxoperator.hh:19
Definition: smcomboboxoperator.hh:58