13 #ifndef __TREMOLOBAR_H__ 14 #define __TREMOLOBAR_H__ 42 virtual void layout()
override;
43 virtual void draw(QPainter*)
const override;
49 void setPoints(
const QList<PitchValue>& p) { _points = p; }
52 virtual bool setProperty(
Pid propertyId,
const QVariant&)
override;
bool play() const
Definition: tremolobar.h:61
virtual void draw(QPainter *) const override
Definition: tremolobar.cpp:76
virtual QVariant propertyDefault(Pid) const override
Definition: tremolobar.cpp:175
Pid
Definition: property.h:62
void setPoints(const QList< PitchValue > &p)
Definition: tremolobar.h:49
QPolygonF polygon
Definition: tremolobar.h:36
void setUserMag(qreal m)
Definition: tremolobar.h:56
virtual bool setProperty(Pid propertyId, const QVariant &) override
Definition: tremolobar.cpp:151
void setLineWidth(Spatium v)
Definition: tremolobar.h:58
Base class of score layout elements.
Definition: element.h:158
QList< PitchValue > & points()
Definition: tremolobar.h:47
qreal userMag() const
Definition: tremolobar.h:55
void setPlay(bool val)
Definition: tremolobar.h:62
qreal _userMag
Definition: tremolobar.h:31
const QList< PitchValue > & points() const
Definition: tremolobar.h:48
virtual void write(XmlWriter &) const override
Definition: tremolobar.cpp:87
QList< PitchValue > _points
Definition: tremolobar.h:34
Definition: tremolobar.h:29
virtual Pid propertyId(const QStringRef &xmlName) const override
Definition: element.cpp:1326
TremoloBar(Score *s)
Definition: tremolobar.cpp:35
Definition: aeolus.cpp:26
virtual void read(XmlReader &e) override
Definition: tremolobar.cpp:104
virtual void layout() override
Definition: tremolobar.cpp:45
bool _play
Definition: tremolobar.h:32
Spatium lineWidth() const
Definition: tremolobar.h:59
virtual TremoloBar * clone() const override
Definition: tremolobar.h:40
ElementType
Definition: types.h:34
virtual QVariant getProperty(Pid propertyId) const override
Definition: tremolobar.cpp:133
virtual ElementType type() const override
Definition: tremolobar.h:41
Spatium _lw
Definition: tremolobar.h:30