Scenario::TimeRulerBase Class Referenceabstract
Inheritance diagram for Scenario::TimeRulerBase:
Scenario::MusicalRuler Scenario::TimeRuler

Public Member Functions

qreal width () const
 
void setWidth (qreal newWidth)
 
void setStartPoint (ossia::time_value dur)
 
virtual void setZoomRatio (double factor)=0
 
virtual void setGrid (MusicalGrid &grid)
 
void drag (QPointF arg_1, QPointF arg_2)
 
void rescale ()
 

Protected Member Functions

virtual void createRulerPath ()=0
 
virtual void computeGraduationSpacing ()=0
 
QRectF boundingRect () const final override
 
void mousePressEvent (QGraphicsSceneMouseEvent *) final override
 
void mouseDoubleClickEvent (QGraphicsSceneMouseEvent *) final override
 
void mouseMoveEvent (QGraphicsSceneMouseEvent *) final override
 
void mouseReleaseEvent (QGraphicsSceneMouseEvent *) final override
 

Protected Attributes

ossia::time_value m_startPoint {}
 
qreal m_width {}
 

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