Loading...
Searching...
No Matches
TransportActions.hpp
1#pragma once
2
3#include <score/selection/Selection.hpp>
4
5#include <score_plugin_scenario_export.h>
6namespace score
7{
8struct GUIApplicationContext;
9struct GUIElements;
10}
11class QAction;
12class QMenu;
13class QToolBar;
14
15namespace Scenario
16{
17class SCORE_PLUGIN_SCENARIO_EXPORT TransportActions final : public QObject
18{
19public:
22
23 void makeGUIElements(score::GUIElements& ref);
24
25 void onPlayLocal();
26 void onPlayGlobal();
27 void onPause();
28 void onStop();
29
30private:
31 void onPlay(bool b);
32 const score::GUIApplicationContext& m_context;
33
34 QAction* m_play{};
35 QAction* m_playGlobal{};
36 QAction* m_stop{};
37 // QAction* m_goToStart{};
38 // QAction* m_goToEnd{};
39 QAction* m_stopAndInit{};
40 // QAction* m_record{};
41};
42}
Definition TransportActions.hpp:18
Main plug-in of score.
Definition score-plugin-dataflow/Dataflow/PortItem.hpp:13
Base toolkit upon which the software is built.
Definition Application.cpp:90
Specializes ApplicationContext with the QMainWindow.
Definition GUIApplicationContext.hpp:15
Definition GUIApplicationPlugin.hpp:24