Loading...
Searching...
No Matches
CentralIntervalDisplay.hpp
1#pragma once
2
3#include <Scenario/Document/DisplayedElements/DisplayedElementsPresenter.hpp>
4
5#include <score/statemachine/GraphicsSceneToolPalette.hpp>
6
7namespace Library
8{
9struct ProcessData;
10}
11namespace Scenario
12{
13class ScenarioDocumentPresenter;
15{
16public:
20 CentralIntervalDisplay& operator=(const CentralIntervalDisplay&) = delete;
21 CentralIntervalDisplay& operator=(CentralIntervalDisplay&&) noexcept = delete;
22
24
25 // Init method necessary because of
26 // https://stackoverflow.com/questions/69050714/observing-the-state-of-a-variant-during-construction
27 void init();
28
29 void on_addProcessFromLibrary(const Library::ProcessData& dat);
30 void on_addPresetFromLibrary(const Process::Preset& dat);
31 void on_visibleRectChanged(const QRectF&);
32 void on_executionTimer();
33
36
37private:
38 std::unique_ptr<GraphicsSceneToolPalette> m_stateMachine;
39};
40}
Definition CentralIntervalDisplay.hpp:15
Definition DisplayedElementsPresenter.hpp:25
The ScenarioDocumentPresenter class.
Definition ScenarioDocumentPresenter.hpp:58
Main plug-in of score.
Definition score-plugin-dataflow/Dataflow/PortItem.hpp:13
Definition ProcessesItemModel.hpp:32
Definition Preset.hpp:32