Midi::NoteView Class Referencefinal
Inheritance diagram for Midi::NoteView:

Public Member Functions

 NoteView (const Note &n, Presenter &presenter, View *parent)
 
void setWidth (qreal w) noexcept
 
void setHeight (qreal h) noexcept
 
QRectF boundingRect () const override
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override
 
QRectF computeRect () const noexcept
 
QPointF closestPos (QPointF note) const noexcept
 

Public Attributes

const Notenote
 

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