13 #ifndef __DURATION_H__ 14 #define __DURATION_H__ 67 virtual bool setProperty(
Pid propertyId,
const QVariant&)
override;
~DurationElement()
Definition: duration.cpp:49
virtual Fraction ticks() const
Definition: duration.h:62
Pid
Definition: property.h:62
void setTicks(const Fraction &f)
Definition: duration.h:64
QFlags< ElementFlag > ElementFlags
Definition: element.h:101
one measure in a system
Definition: measure.h:65
void writeTupletEnd(XmlWriter &xml) const
Definition: duration.cpp:119
Base class of score layout elements.
Definition: element.h:158
virtual QVariant getProperty(Pid propertyId) const override
Definition: duration.cpp:131
Tuplet * tuplet() const
Definition: duration.h:56
Element * parent() const
Definition: element.h:192
virtual bool setProperty(Pid propertyId, const QVariant &) override
Definition: duration.cpp:145
Example of 1/8 triplet: _baseLen = 1/8 _actualNotes = 3 _normalNotes = 2 (3 notes played in the time ...
Definition: tuplet.h:37
void writeTupletStart(XmlWriter &xml) const
Definition: duration.cpp:107
virtual Beam * beam() const
Definition: duration.h:58
virtual Pid propertyId(const QStringRef &xmlName) const override
Definition: element.cpp:1326
Definition: aeolus.cpp:26
Virtual base class for Chord, Rest and Tuplet.
Definition: duration.h:34
Fraction _duration
Definition: duration.h:35
Tuplet * _tuplet
Definition: duration.h:36
void readAddTuplet(Tuplet *t)
Definition: duration.cpp:96
Tuplet * topTuplet() const
Definition: duration.cpp:61
Fraction actualTicks() const
Definition: duration.cpp:87
virtual Measure * measure() const
Definition: duration.h:49
Definition: fraction.h:46
Fraction globalTicks() const
Definition: duration.cpp:75
DurationElement(Score *=0, ElementFlags=ElementFlag::MOVABLE|ElementFlag::ON_STAFF)
Definition: duration.cpp:28
void setTuplet(Tuplet *t)
Definition: duration.h:55