Inheritance diagram for Scenario::TimeSignatureHandle:
Scenario::FixedHandle Scenario::MovableHandle

Public Member Functions

 TimeSignatureHandle (QGraphicsItem *parent)
 
QRectF boundingRect () const final override
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override
 
void setSignature (TimeVal time, ossia::time_signature sig)
 
const TimeValtime () const
 
const ossia::time_signature & signature () const
 
void move (double originalPos, double delta)
 
void press ()
 
void release ()
 
void remove ()
 
void signatureChange (ossia::time_signature sig)
 

Public Attributes

bool pressed {}
 
bool m_visible {true}
 

Protected Member Functions

void updateImpl ()
 
void mouseDoubleClickEvent (QGraphicsSceneMouseEvent *mv) override
 

Protected Attributes

TimeVal m_time {}
 
ossia::time_signature m_sig {0, 0}
 
QPixmap m_signature
 
QRectF m_rect
 

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