41 virtual void draw(QPainter*)
const override;
45 virtual void layout()
override;
47 virtual qreal
mag()
const override;
bool operator==(const KeySig &) const
Definition: keysig.cpp:537
Pid
Definition: property.h:62
bool isCustom() const
Definition: keysig.h:58
KeyMode mode() const
Definition: keysig.h:70
void addLayout(SymId sym, qreal x, int y)
Definition: keysig.cpp:77
virtual void draw(QPainter *) const override
Definition: keysig.cpp:303
virtual void write(XmlWriter &) const override
Definition: keysig.cpp:365
one measure in a system
Definition: measure.h:65
KeyMode
Definition: key.h:55
SymId
Definition: sym.h:30
Base class of score layout elements.
Definition: element.h:158
bool _showCourtesy
Definition: keysig.h:32
Measure * measure() const
Definition: keysig.h:53
void setMode(KeyMode m)
Definition: key.h:115
virtual void read(XmlReader &) override
Definition: keysig.cpp:408
KeySigEvent _sig
Definition: keysig.h:34
virtual Element * prevSegmentElement() override
Definition: keysig.cpp:664
Element * parent() const
Definition: element.h:192
QVariant propertyDefault(Pid id) const
Definition: keysig.cpp:637
virtual KeySig * clone() const override
Definition: keysig.h:40
QVariant getProperty(Pid propertyId) const
Definition: keysig.cpp:587
Q_INVOKABLE void setKey(Key)
Definition: keysig.cpp:354
KeySig(Score *=0)
Definition: keysig.cpp:49
bool showCourtesy() const
Definition: keysig.h:66
bool _hideNaturals
Definition: keysig.h:33
void undoSetMode(KeyMode v)
Definition: keysig.cpp:578
KeyMode mode() const
Definition: key.h:114
virtual Pid propertyId(const QStringRef &xmlName) const override
Definition: element.cpp:1326
The KeySig class represents a Key Signature on a staff.
Definition: keysig.h:31
bool setProperty(Pid propertyId, const QVariant &)
Definition: keysig.cpp:605
virtual Element * drop(EditData &) override
Handle a dropped element at canvas relative pos of given element type and subtype.
Definition: keysig.cpp:328
Definition: aeolus.cpp:26
virtual Element * nextSegmentElement() override
Definition: keysig.cpp:655
bool isChange() const
Definition: keysig.cpp:546
virtual void layout() override
Definition: keysig.cpp:90
void setMode(KeyMode v)
Definition: keysig.h:71
Key key() const
Definition: key.h:113
const char * keyNames[]
Definition: keysig.cpp:26
KeySigEvent keySigEvent() const
Definition: keysig.h:61
virtual qreal y() const
Definition: element.h:232
virtual bool acceptDrop(EditData &) const override
Return true if this element accepts a drop at canvas relative pos of given element type and subtype...
Definition: keysig.cpp:319
virtual qreal x() const
Definition: element.h:231
Definition: element.h:111
Q_INVOKABLE Key key() const
Definition: keysig.h:57
virtual Shape shape() const override
Definition: keysig.cpp:283
void changeKeySigEvent(const KeySigEvent &)
Definition: keysig.cpp:558
void setKeySigEvent(const KeySigEvent &e)
Definition: keysig.h:64
bool custom() const
Definition: key.h:116
bool isAtonal() const
Definition: key.h:119
void setShowCourtesy(bool v)
Definition: keysig.h:67
void setHideNaturals(bool hide)
Definition: keysig.h:74
ElementType
Definition: types.h:34
virtual QString accessibleInfo() const override
Definition: keysig.cpp:673
bool isAtonal() const
Definition: keysig.h:59
Segment * segment() const
Definition: keysig.h:52
SymId convertFromOldId(int val) const
Definition: keysig.cpp:495
void undoSetShowCourtesy(bool v)
Definition: keysig.cpp:569
virtual ElementType type() const override
Definition: keysig.h:42
virtual qreal mag() const override
Definition: keysig.cpp:68