31 virtual void layout()
override;
32 virtual void draw(QPainter*)
const override;
33 virtual QPointF
pagePos()
const override;
34 virtual QPointF
canvasPos()
const override;
virtual void draw(QPainter *) const override
Definition: stafflines.cpp:130
one measure in a system
Definition: measure.h:65
Base class of score layout elements.
Definition: element.h:158
StaffLines(Score *)
Definition: stafflines.cpp:40
Element * parent() const
Definition: element.h:192
Measure * measure() const
Definition: stafflines.h:37
The StaffLines class is the graphic representation of a staff, it draws the horizontal staff lines...
Definition: stafflines.h:23
virtual void layout() override
Definition: stafflines.cpp:78
qreal y1() const
Definition: stafflines.cpp:140
virtual qreal width() const
Definition: element.h:261
Definition: aeolus.cpp:26
virtual StaffLines * clone() const override
Definition: stafflines.h:29
virtual QPointF canvasPos() const override
position in page coordinates
Definition: stafflines.cpp:60
virtual ElementType type() const override
Definition: stafflines.h:30
virtual QPointF pagePos() const override
position in page coordinates
Definition: stafflines.cpp:50
QVector< QLineF > lines
Definition: stafflines.h:25
ElementType
Definition: types.h:34
void layoutForWidth(qreal width)
Definition: stafflines.cpp:87
qreal lw
Definition: stafflines.h:24
QVector< QLineF > & getLines()
Definition: stafflines.h:36