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