49 QPainterPath basePath()
const;
51 void layoutOneNoteTremolo(qreal x, qreal y, qreal
spatium);
52 void layoutTwoNotesTremolo(qreal x, qreal y, qreal h, qreal
spatium);
60 virtual int subtype()
const override {
return (
int) _tremoloType; }
61 virtual QString subtypeName()
const override;
63 QString tremoloTypeName()
const;
64 void setTremoloType(
const QString& s);
73 virtual qreal mag()
const;
74 virtual void draw(QPainter*)
const;
75 virtual void layout();
92 int lines()
const {
return _lines; }
94 bool placeMidStem()
const;
96 virtual void spatiumChanged(qreal oldValue, qreal newValue)
override;
97 virtual void localSpatiumChanged(qreal oldValue, qreal newValue)
override;
98 virtual void styleChanged()
override;
100 virtual QString accessibleInfo()
const override;
103 virtual bool setProperty(
Pid propertyId,
const QVariant&)
override;
104 virtual Pid propertyId(
const QStringRef& xmlName)
const override;
105 virtual QString propertyUserValue(
Pid)
const override;
void setChords(Chord *c1, Chord *c2)
Definition: tremolo.h:86
Definition: durationtype.h:28
Pid
Definition: property.h:62
TDuration durationType() const
Definition: tremolo.h:83
int _lines
Definition: tremolo.h:46
bool twoNotes() const
Definition: tremolo.h:91
void setDurationType(TDuration d)
Definition: tremolo.h:84
Chord * _chord1
Definition: tremolo.h:41
int lines() const
Definition: tremolo.h:92
Base class of score layout elements.
Definition: element.h:158
Chord * _chord2
Definition: tremolo.h:42
Chord * chord2() const
Definition: tremolo.h:81
Chord * chord() const
Definition: tremolo.h:68
virtual int subtype() const override
Definition: tremolo.h:60
QPainterPath path
Definition: tremolo.h:44
Definition: aeolus.cpp:26
TremoloType
Definition: tremolo.h:24
Graphic representation of a chord.
Definition: chord.h:55
TremoloPlacement
Definition: tremolo.h:30
Chord * chord1() const
Definition: tremolo.h:80
Definition: fraction.h:46
virtual ElementType type() const
Definition: tremolo.h:59
ElementType
Definition: types.h:34
TDuration _durationType
Definition: tremolo.h:43
TremoloType tremoloType() const
Definition: tremolo.h:71
Pid propertyId(const QStringRef &s)
Definition: property.cpp:347
TremoloType _tremoloType
Definition: tremolo.h:40
virtual Tremolo * clone() const
Definition: tremolo.h:58