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 FullViewInterval,
16 TemporalInterval,
17 LeftBrace,
18 RightBrace,
21 SlotOverlay,
23 TimeSync,
24 Trigger,
25 Event,
26 State,
27 Comment,
28 Condition,
29 StateOverlay,
30 GraphInterval,
31 ScenarioProcess,
33
34 SlotFooterDelegate = UserType + 10000
35 };
36};
37
38class ZPos
39{
40public:
41 // States are the handles one grabs: they stay above every interval, and
42 // above the event and time-sync lines that run through them.
43 enum ItemZPos
44 {
45 Comment = 1,
46 TimeSync,
47 Event,
48 Interval,
49 IntervalWithRack,
50 SelectedInterval,
51 SelectedTimeSync,
52 SelectedEvent,
53 State,
54 SelectedState
55 };
56 enum IntervalItemZPos
57 {
58 Header = 1,
59 Rack,
60 Brace
61 };
62};
63}
Definition IntervalHeader.hpp:16
Definition ScenarioDocumentViewConstants.hpp:9
Definition NodalIntervalView.hpp:23
Definition SlotHeader.hpp:13
Definition ScenarioDocumentViewConstants.hpp:39
Main plug-in of score.
Definition ConnectionsList.hpp:22
Utilities for OSSIA data structures.
Definition DeviceInterface.hpp:35