SpeedSlider.hpp
1 #pragma once
2 #include <QPointer>
3 #include <QWidget>
4 
5 #include <score_plugin_scenario_export.h>
6 namespace score
7 {
8 struct DocumentContext;
9 struct SpeedSlider;
10 }
11 
12 namespace Scenario
13 {
14 class IntervalModel;
15 class SCORE_PLUGIN_SCENARIO_EXPORT SpeedWidget final : public QWidget
16 {
17 public:
18  SpeedWidget(bool withButtons, bool showText, QWidget* parent);
19  ~SpeedWidget() override;
20 
21  void setInterval(const IntervalModel&);
22  void unsetInterval();
23 
24 private:
25  QSize sizeHint() const override;
26  QPointer<const IntervalModel> m_model;
27  score::SpeedSlider* m_slider{};
28 };
29 }
Definition: IntervalModel.hpp:50
Definition: SpeedSlider.hpp:16
Main plug-in of score.
Definition: score-plugin-dataflow/Dataflow/PortItem.hpp:14
Base toolkit upon which the software is built.
Definition: Application.cpp:90
Definition: lib/score/widgets/ControlWidgets.hpp:40