Inheritance diagram for Scenario::IntervalView:
Scenario::FullViewIntervalView Scenario::TemporalIntervalView

Public Member Functions

 IntervalView (IntervalPresenter &presenter, QGraphicsItem *parent)
 
int type () const final override
 
const IntervalPresenterpresenter () const
 
void setInfinite (bool)
 
bool infinite () const
 
void setExecuting (bool)
 
void setDefaultWidth (double width)
 
void setMaxWidth (bool infinite, double max)
 
void setMinWidth (double min)
 
void setRigid (bool r)
 
void setHeight (double height)
 
double setPlayWidth (double width)
 
void setValid (bool val)
 
double height () const
 
bool isSelected () const
 
double defaultWidth () const
 
double minWidth () const
 
double maxWidth () const
 
bool rigid () const
 
double intervalAndRackHeight () const
 
double playWidth () const
 
bool isValid () const
 
bool warning () const
 
void setWarning (bool warning)
 
void setExecutionState (IntervalExecutionState)
 
const score::BrushintervalColor (const Process::Style &skin) const
 
const QPixmap & intervalDashedPixmap (const Process::Style &skin) const
 
void updateLabelPos ()
 
void updateCounterPos ()
 
virtual void updatePaths ()=0
 
virtual void updatePlayPaths ()=0
 
void mousePressEvent (QGraphicsSceneMouseEvent *event) final override
 
void mouseMoveEvent (QGraphicsSceneMouseEvent *event) final override
 
void mouseReleaseEvent (QGraphicsSceneMouseEvent *event) final override
 
LeftBraceViewleftBrace ()
 
RightBraceViewrightBrace ()
 
void setDropTarget (bool b)
 
void requestOverlayMenu (QPointF arg_1)
 
void dropReceived (const QPointF &pos, const QMimeData &arg_2)
 

Static Public Attributes

static constexpr const int Type = ItemType::Interval
 

Protected Member Functions

void dragEnterEvent (QGraphicsSceneDragDropEvent *event) override
 
void dragMoveEvent (QGraphicsSceneDragDropEvent *event) override
 
void dragLeaveEvent (QGraphicsSceneDragDropEvent *event) override
 
void dropEvent (QGraphicsSceneDragDropEvent *event) override
 
QPainterPath shape () const override
 
QPainterPath opaqueArea () const override
 
bool contains (const QPointF &) const override
 
void setGripCursor ()
 
void setUngripCursor ()
 

Protected Attributes

LeftBraceView m_leftBrace
 
RightBraceView m_rightBrace
 
score::SimpleTextItem m_counterItem
 
IntervalPresenterm_presenter
 
QPainterPath solidPath
 
QPainterPath playedSolidPath
 
double m_defaultWidth {}
 
double m_maxWidth {}
 
double m_minWidth {}
 
double m_playWidth {}
 
double m_height {}
 
score::ColorBang m_execPing
 
bool m_selected: 1
 
bool m_infinite: 1
 
bool m_validInterval: 1
 
bool m_warning: 1
 
bool m_waiting: 1
 
bool m_dropTarget: 1
 
bool m_rigid: 1
 
IntervalExecutionState m_state: 2
 

Friends

class TemporalIntervalHeader
 
class FullViewIntervalHeader
 

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