45 std::vector<SymId>
ns;
46 std::vector<SymId>
ds;
65 void setSSig(
const QString&);
72 bool operator==(
const TimeSig&)
const;
75 virtual qreal mag()
const override;
76 virtual void draw(QPainter*)
const override;
77 virtual void write(
XmlWriter& xml)
const override;
79 virtual void layout()
override;
80 virtual Shape shape()
const override;
92 bool acceptDrop(
EditData&)
const override;
102 void setNumeratorString(
const QString&);
105 void setDenominatorString(
const QString&);
115 virtual bool setProperty(
Pid propertyId,
const QVariant&)
override;
116 virtual QVariant propertyDefault(
Pid id)
const override;
117 virtual Pid propertyId(
const QStringRef& xmlName)
const override;
127 virtual Element* nextSegmentElement();
128 virtual Element* prevSegmentElement();
129 virtual QString accessibleInfo()
const override;
int numerator() const
Definition: timesig.h:84
int numerator() const
Definition: fraction.h:62
const Groups & groups() const
Definition: timesig.h:119
Pid
Definition: property.h:62
This class represents a time signature.
Definition: timesig.h:41
void setScale(const QSizeF &s)
Definition: timesig.h:109
QSizeF _scale
Definition: timesig.h:56
int denominator() const
Definition: timesig.h:85
Fraction reduced() const
Definition: fraction.h:101
int denominatorStretch() const
Definition: timesig.h:90
int denominator() const
Definition: fraction.h:63
one measure in a system
Definition: measure.h:65
bool isLocal() const
Definition: timesig.h:125
QString _numeratorString
Definition: timesig.h:42
bool _showCourtesySig
Definition: timesig.h:58
std::vector< SymId > ns
Definition: timesig.h:45
Base class of score layout elements.
Definition: element.h:158
void setShowCourtesySig(bool v)
Definition: timesig.h:99
Measure * measure() const
Definition: timesig.h:96
bool _largeParentheses
Definition: timesig.h:59
QString _denominatorString
Definition: timesig.h:43
void setLargeParentheses(bool v)
Definition: timesig.h:107
virtual ElementType type() const override
Definition: timesig.h:68
GroupNodes must be sorted by tick.
Definition: groups.h:48
Element * parent() const
Definition: element.h:192
Fraction globalSig() const
Definition: timesig.h:122
std::vector< SymId > ds
Definition: timesig.h:46
Fraction stretch() const
Definition: timesig.h:87
bool showCourtesySig() const
Definition: timesig.h:98
QPointF pointLargeLeftParen
Definition: timesig.h:50
bool operator!=(const TimeSig &ts) const
Definition: timesig.h:73
QString denominatorString() const
Definition: timesig.h:104
Fraction _sig
Definition: timesig.h:52
Fraction sig() const
Definition: timesig.h:82
int numeratorStretch() const
Definition: timesig.h:89
Definition: aeolus.cpp:26
TimeSigType
Definition: timesig.h:30
QString numeratorString() const
Definition: timesig.h:101
Groups _groups
Definition: timesig.h:54
Fraction _stretch
Definition: timesig.h:53
void setGlobalSig(const Fraction &f)
Definition: timesig.h:123
Segment * segment() const
Definition: timesig.h:95
Definition: element.h:111
QPointF pointLargeRightParen
Definition: timesig.h:51
QPointF pn
Definition: timesig.h:49
Definition: fraction.h:46
ElementType
Definition: types.h:34
virtual TimeSig * clone() const override
Definition: timesig.h:67
void setStretch(const Fraction &s)
Definition: timesig.h:88
QPointF pz
Definition: timesig.h:48
Pid propertyId(const QStringRef &s)
Definition: property.cpp:347
TimeSigType timeSigType() const
Definition: timesig.h:70
void setGroups(const Groups &e)
Definition: timesig.h:120
TimeSigType _timeSigType
Definition: timesig.h:57