Inheritance diagram for Scenario::TimeSyncView:

Public Member Functions

 TimeSyncView (TimeSyncPresenter &presenter, QGraphicsItem *parent)
 
int type () const final override
 
const TimeSyncPresenterpresenter () const
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override
 
QRectF boundingRect () const override
 
void setExtent (const VerticalExtent &extent)
 
void setExtent (VerticalExtent &&extent)
 
void setTriggerActive (bool)
 
void addPoint (int newY)
 
void setMoving (bool)
 
void setSelected (bool selected)
 
bool isSelected () const
 
void changeColor (const score::Brush &)
 
void setLabel (const QString &label)
 

Static Public Attributes

static constexpr const int Type = ItemType::TimeSync
 

Protected Member Functions

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

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