Inheritance diagram for Scenario::IntervalHeader:
Scenario::FullViewIntervalHeader Scenario::TemporalIntervalHeader

Public Types

enum class  State { Hidden , RackHidden , RackShown }
 

Public Member Functions

int type () const final override
 
void setIntervalView (IntervalView *view)
 
IntervalViewintervalView () const noexcept
 
void setWidth (double width)
 
virtual void setState (State s)=0
 
State state () const noexcept
 
virtual void on_textChanged ()
 

Static Public Member Functions

static constexpr double headerHeight ()
 

Static Public Attributes

static constexpr const int Type = ItemType::IntervalHeader
 

Protected Member Functions

void mousePressEvent (QGraphicsSceneMouseEvent *event) final override
 
void mouseMoveEvent (QGraphicsSceneMouseEvent *event) final override
 
void mouseReleaseEvent (QGraphicsSceneMouseEvent *event) final override
 

Protected Attributes

IntervalViewm_view {}
 
State m_state {}
 
double m_width {}
 

The documentation for this class was generated from the following files: