PlayContextMenu.hpp
1 #pragma once
3 #include <score/actions/Menu.hpp>
4 #include <score/selection/Selection.hpp>
5 
6 class QAction;
7 class QMenu;
8 namespace Process
9 {
10 class LayerContextMenuManager;
11 }
12 
13 namespace Scenario
14 {
15 class ScenarioApplicationPlugin;
16 class ScenarioPresenter;
17 }
18 namespace Engine
19 {
20 class ApplicationPlugin;
21 }
22 
23 namespace Execution
24 {
25 class PlayContextMenu final : public QObject
26 {
27 public:
30  void setupContextMenu(Process::LayerContextMenuManager& ctxm);
31 
32  void setEnabled(bool);
33 
34 private:
35  const score::GUIApplicationContext& m_ctx;
36 
37  QAction* m_recordAutomations{};
38  QAction* m_recordMessages{};
39 
40  QAction* m_playStates{};
41  QAction* m_playEvents{};
42  QAction* m_playIntervals{};
43 
44  QAction* m_playFromHere{};
45 };
46 }
Definition: score-plugin-engine/Engine/ApplicationPlugin.hpp:46
Definition: PlayContextMenu.hpp:26
PlayContextMenu(Engine::ApplicationPlugin &plug, const score::GUIApplicationContext &ctx)
Definition: PlayContextMenu.cpp:31
Definition: LayerContextMenu.hpp:38
Link of score with the OSSIA API execution engine.
Definition: CurveConversion.hpp:8
Components used for the execution of a score.
Definition: ProcessComponent.cpp:12
Base classes and tools to implement processes and layers.
Definition: JSONVisitor.hpp:1324
Main plug-in of score.
Definition: score-plugin-dataflow/Dataflow/PortItem.hpp:14
Specializes ApplicationContext with the QMainWindow.
Definition: GUIApplicationContext.hpp:15