CurveSettingsView.hpp
1 #pragma once
2 #include <Curve/Settings/CurveSettingsModel.hpp>
3 
4 #include <score/plugins/settingsdelegate/SettingsDelegateView.hpp>
5 
6 #include <verdigris>
7 class QCheckBox;
8 class QDoubleSpinBox;
9 namespace score
10 {
11 class FormWidget;
12 }
13 
14 namespace Curve
15 {
16 namespace Settings
17 {
18 
20 {
21  W_OBJECT(View)
22 public:
23  View();
24 
25  void setSimplificationRatio(int);
26  void setSimplify(bool);
27  void setMode(Mode);
28  void setPlayWhileRecording(bool);
29 
30 public:
31  void simplificationRatioChanged(double arg_1)
32  E_SIGNAL(SCORE_PLUGIN_CURVE_EXPORT, simplificationRatioChanged, arg_1);
33  void simplifyChanged(bool arg_1)
34  E_SIGNAL(SCORE_PLUGIN_CURVE_EXPORT, simplifyChanged, arg_1);
35  void modeChanged(Mode arg_1) E_SIGNAL(SCORE_PLUGIN_CURVE_EXPORT, modeChanged, arg_1);
36  void playWhileRecordingChanged(bool arg_1)
37  E_SIGNAL(SCORE_PLUGIN_CURVE_EXPORT, playWhileRecordingChanged, arg_1);
38 
39 private:
40  QWidget* getWidget() override;
41  score::FormWidget* m_widg{};
42 
43  QDoubleSpinBox* m_sb{};
44  QCheckBox* m_simpl{};
45  QCheckBox* m_mode{};
46  QCheckBox* m_playWhileRecording{};
47 };
48 }
49 }
Definition: CurveSettingsView.hpp:20
Definition: FormWidget.hpp:11
Definition: SettingsDelegateView.hpp:18
Utilities and base classes for 1D curves.
Definition: FocusDispatcher.hpp:12
Base toolkit upon which the software is built.
Definition: Application.cpp:90