30 static const int NO_CLEF = -1000;
106 signed char _lines[14];
121 static ClefType tag2type(
const QString&);
134 bool _showCourtesy =
true;
143 virtual qreal mag()
const;
148 virtual bool acceptDrop(
EditData&)
const override;
150 virtual void layout();
151 virtual void draw(QPainter*)
const;
157 bool small()
const {
return _small; }
158 void setSmall(
bool val);
162 void undoSetShowCourtesy(
bool v);
165 static ClefType clefType(
const QString& s);
166 const char* clefTypeName();
170 void setClefType(
const QString& s);
176 void setTransposingClef(
ClefType val);
178 virtual void spatiumChanged(qreal oldValue, qreal newValue)
override;
181 bool setProperty(
Pid propertyId,
const QVariant&);
182 QVariant propertyDefault(
Pid id)
const;
184 virtual Element* nextSegmentElement()
override;
185 virtual Element* prevSegmentElement()
override;
186 QString accessibleInfo()
const override;
Measure * measure() const
Definition: clef.h:146
virtual Clef * clone() const
Definition: clef.h:141
Pid
Definition: property.h:62
const char * _sign
Name for musicXml.
Definition: clef.h:102
int _octChng
Octave change for musicXml.
Definition: clef.h:104
one measure in a system
Definition: measure.h:65
ClefTypeList()
Definition: clef.h:85
SymId
Definition: sym.h:30
const char * _tag
comprehensive name for instruments.xml
Definition: clef.h:101
Base class of score layout elements.
Definition: element.h:158
const char * _name
Definition: clef.h:108
StaffGroup
Definition: mscore.h:177
Graphic representation of a clef.
Definition: clef.h:132
int _line
Line for musicXml and for positioning on the staff.
Definition: clef.h:103
SymId _symId
Definition: clef.h:107
Element * parent() const
Definition: element.h:192
Segment * segment() const
Definition: clef.h:145
virtual bool isEditable() const
Definition: clef.h:155
Info about a clef.
Definition: clef.h:97
static StaffGroup staffGroup(ClefType t)
Definition: clef.h:120
ClefTypeList(ClefType a, ClefType b)
Definition: clef.h:86
static int pitchOffset(ClefType t)
Definition: clef.h:116
void setShowCourtesy(bool v)
Definition: clef.h:161
signed char _lines[14]
Definition: clef.h:106
static const char * name(ClefType t)
Definition: clef.h:119
bool showCourtesy() const
Definition: clef.h:160
ClefTypeList clefTypeList() const
Definition: clef.h:172
static const char * sign(ClefType t)
Definition: clef.h:113
Definition: aeolus.cpp:26
ClefType transposingClef() const
Definition: clef.h:174
static int line(ClefType t)
Definition: clef.h:114
static SymId symId(ClefType t)
Definition: clef.h:117
int _pitchOffset
Pitch offset for line 0.
Definition: clef.h:105
Definition: xmlwriter.h:26
bool small() const
Definition: clef.h:157
ClefType concertClef() const
Definition: clef.h:173
Definition: element.h:111
ClefType
Definition: clef.h:37
ElementType
Definition: types.h:34
virtual ElementType type() const
Definition: clef.h:142
StaffGroup _staffGroup
Definition: clef.h:109
SymId symId
Definition: clef.h:133
static const signed char * lines(ClefType t)
Definition: clef.h:118
void setClefType(const ClefTypeList &ctl)
Definition: clef.h:177
ClefTypeList(ClefType a)
Definition: clef.h:87
Pid propertyId(const QStringRef &s)
Definition: property.cpp:347
static const char * tag(ClefType t)
Definition: clef.h:112
static int octChng(ClefType t)
Definition: clef.h:115