13 #ifndef __TEMPOTEXT_H__ 14 #define __TEMPOTEXT_H__ 55 void setRelative(qreal v) { _isRelative =
true; _relative = v; }
virtual void write(XmlWriter &xml) const override
Definition: tempotext.cpp:58
Definition: durationtype.h:28
Pid
Definition: property.h:62
bool setProperty(Pid propertyId, const QVariant &) override
Definition: tempotext.cpp:356
one measure in a system
Definition: measure.h:65
void undoSetFollowText(bool v)
Definition: tempotext.cpp:331
Tempo marker which determines the midi tempo.
Definition: tempotext.h:29
void setTempo(qreal v)
Definition: tempotext.cpp:309
bool isRelative()
Definition: tempotext.h:54
void undoSetTempo(qreal v)
Definition: tempotext.cpp:322
QVariant getProperty(Pid propertyId) const override
Definition: tempotext.cpp:340
Sid getPropertyStyle(Pid) const override
Definition: tempotext.cpp:481
Element * parent() const
Definition: element.h:192
virtual void layout()
Definition: tempotext.cpp:399
QVariant propertyDefault(Pid id) const override
Definition: tempotext.cpp:380
PropertyFlags
Definition: property.h:54
void updateRelative()
Definition: tempotext.cpp:203
virtual void endEdit(EditData &) override
Definition: tempotext.cpp:214
bool followText() const
Definition: tempotext.h:57
qreal tempo() const
Definition: tempotext.h:51
void updateScore()
Definition: tempotext.cpp:191
qreal _relative
Definition: tempotext.h:32
virtual TempoText * clone() const override
Definition: tempotext.h:42
Definition: textbase.h:217
bool _isRelative
Definition: tempotext.h:33
TempoText(Score *)
Definition: tempotext.cpp:44
Definition: aeolus.cpp:26
Sid
Definition: style.h:33
virtual void read(XmlReader &) override
Definition: tempotext.cpp:72
static int findTempoDuration(const QString &s, int &len, TDuration &dur)
Definition: tempotext.cpp:132
virtual Pid propertyId(const QStringRef &xmlName) const override
Definition: textbase.cpp:1808
virtual ElementType type() const override
Definition: tempotext.h:43
Definition: element.h:111
void setRelative(qreal v)
Definition: tempotext.h:55
static QString duration2tempoTextString(const TDuration dur)
Definition: tempotext.cpp:175
virtual void undoChangeProperty(Pid id, const QVariant &, PropertyFlags ps) override
Definition: tempotext.cpp:237
virtual QString accessibleInfo() const override
Definition: tempotext.cpp:448
ElementType
Definition: types.h:34
Segment * segment() const
Definition: tempotext.h:48
static QString duration2userName(const TDuration t)
Definition: tempotext.cpp:425
void setFollowText(bool v)
Definition: tempotext.h:58
Measure * measure() const
Definition: tempotext.h:49
void updateTempo()
Definition: tempotext.cpp:256
bool _followText
Definition: tempotext.h:31
qreal _tempo
Definition: tempotext.h:30