FullViewIntervalHeader.hpp
1 #pragma once
2 #include <Scenario/Document/Interval/FullView/AddressBarItem.hpp>
3 #include <Scenario/Document/Interval/IntervalHeader.hpp>
4 
5 #include <QRect>
6 
7 class QGraphicsItem;
8 class QPainter;
9 class QStyleOptionGraphicsItem;
10 class QWidget;
11 
12 namespace Scenario
13 {
14 class AddressBarItem;
16 {
17 public:
18  FullViewIntervalHeader(const score::DocumentContext& ctx, QGraphicsItem*);
19 
20  AddressBarItem& bar();
21 
22  void setState(State s) override { }
23 
24  QRectF boundingRect() const override;
25  void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget)
26  override;
27 
28 private:
29  AddressBarItem m_bar;
30 };
31 }
Definition: AddressBarItem.hpp:23
Definition: FullViewIntervalHeader.hpp:16
Definition: IntervalHeader.hpp:14
Main plug-in of score.
Definition: score-plugin-dataflow/Dataflow/PortItem.hpp:14
Utilities for OSSIA data structures.
Definition: DeviceInterface.hpp:33
Definition: DocumentContext.hpp:18