Loading...
Searching...
No Matches
IntervalActions.hpp
1#pragma once
2
3#include <score/command/Dispatchers/CommandDispatcher.hpp>
4#include <score/plugins/UuidKey.hpp>
5
6#include <QObject>
7
8#include <score_plugin_scenario_export.h>
9class QAction;
10namespace score
11{
12struct GUIElements;
13}
14namespace Process
15{
16class ProcessModel;
17class LayerContextMenuManager;
18class ProcessModelFactory;
19class LayerFactory;
20}
21namespace Scenario
22{
23class ScenarioApplicationPlugin;
24class ScenarioPresenter;
25class SCORE_PLUGIN_SCENARIO_EXPORT IntervalActions final : public QObject
26{
27public:
30
31 void makeGUIElements(score::GUIElements& ref);
32 void setupContextMenu(Process::LayerContextMenuManager& ctxm);
33
34private:
35 void addProcessInInterval(const UuidKey<Process::ProcessModel>&, const QString& data);
36
37 void on_showRacks();
38 void on_hideRacks();
39
40 ScenarioApplicationPlugin* m_parent{};
41 QAction* m_addProcess{};
42
43 QAction* m_hideRacks{};
44 QAction* m_showRacks{};
45};
46}
Definition LayerContextMenu.hpp:38
Definition IntervalActions.hpp:26
Definition ScenarioApplicationPlugin.hpp:42
Definition UuidKey.hpp:343
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:13
Base toolkit upon which the software is built.
Definition Application.cpp:90
Definition GUIApplicationPlugin.hpp:24