Loading...
Searching...
No Matches
ScenarioDocumentViewConstants.hpp
1#pragma once
2namespace Scenario
3{
4// SPace at the left of the main box in the main scenario view.
5static const constexpr double ScenarioLeftSpace = 0.; // -5
6static const constexpr double IntervalHeaderHeight = 21.;
7
9{
10public:
11 enum Type
12 {
13 Type = 1,
14 UserType = 65536, // See QGraphicsItem
15 Interval,
16 LeftBrace,
17 RightBrace,
20 SlotOverlay,
22 TimeSync,
23 Trigger,
24 Event,
25 State,
26 Comment,
27 Condition,
28 StateOverlay,
29 GraphInterval,
30 ScenarioProcess,
31
32 SlotFooterDelegate = UserType + 10000
33 };
34};
35
36class ZPos
37{
38public:
39 enum ItemZPos
40 {
41 Comment = 1,
42 TimeSync,
43 Event,
44 Interval,
45 State,
46 IntervalWithRack,
47 SelectedInterval,
48 SelectedTimeSync,
49 SelectedEvent,
50 SelectedState
51 };
52 enum IntervalItemZPos
53 {
54 Header = 1,
55 Rack,
56 Brace
57 };
58};
59}
Definition IntervalHeader.hpp:14
Definition ScenarioDocumentViewConstants.hpp:9
Definition SlotHeader.hpp:13
Definition ScenarioDocumentViewConstants.hpp:37
Main plug-in of score.
Definition score-plugin-dataflow/Dataflow/PortItem.hpp:13
Utilities for OSSIA data structures.
Definition DeviceInterface.hpp:33