47 virtual qreal
mag()
const override;
58 int topOctave()
const {
return (_topPitch / 12) - 1; }
82 virtual void draw(QPainter*)
const override;
83 virtual void layout()
override;
84 virtual QPointF
pagePos()
const override;
86 virtual void scanElements(
void* data,
void (*func)(
void*,
Element*),
bool all=
true)
override;
87 virtual void setTrack(
int val)
override;
DirectionH
Definition: mscore.h:297
Definition of class Accidental.
virtual void read(XmlReader &) override
Definition: ambitus.cpp:222
QVariant propertyDefault(Pid id) const
Definition: ambitus.cpp:717
int topOctave() const
Definition: ambitus.h:58
virtual void scanElements(void *data, void(*func)(void *, Element *), bool all=true) override
Definition: ambitus.cpp:493
int _bottomPitch
Definition: ambitus.h:33
void setBottomPitch(int val)
Definition: ambitus.cpp:137
void setNoteHeadGroup(NoteHead::Group val)
Definition: ambitus.h:65
Pid
Definition: property.h:62
bool hasLine() const
Definition: ambitus.h:56
virtual void layout() override
Definition: ambitus.cpp:290
virtual void setTrack(int val) override
Definition: ambitus.cpp:91
virtual bool readProperties(XmlReader &) override
Definition: ambitus.cpp:234
void setHasLine(bool val)
Definition: ambitus.h:68
void setTopPitch(int val)
Definition: ambitus.cpp:119
NoteHead::Group noteHeadGroup() const
Definition: ambitus.h:53
virtual qreal mag() const override
Definition: ambitus.cpp:62
virtual QString accessibleInfo() const override
Definition: ambitus.cpp:765
void updateRange()
Definition: ambitus.cpp:575
QLineF _line
Definition: ambitus.h:39
SymId
Definition: sym.h:30
Base class of score layout elements.
Definition: element.h:158
NoteHead::Type _noteHeadType
Definition: ambitus.h:28
void setDirection(MScore::DirectionH val)
Definition: ambitus.h:67
Element * parent() const
Definition: element.h:192
void setTopTpc(int val)
Definition: ambitus.cpp:162
Definition: accidental.h:65
void normalize()
Definition: ambitus.cpp:557
qreal headWidth() const
Definition: ambitus.cpp:528
int topTpc() const
Definition: ambitus.h:62
NoteHead::Type noteHeadType() const
Definition: ambitus.h:54
MScore::DirectionH direction() const
Definition: ambitus.h:55
int _topPitch
Definition: ambitus.h:33
SymId noteHead() const
Definition: ambitus.cpp:506
int bottomTpc() const
Definition: ambitus.h:63
virtual void write(XmlWriter &) const override
Definition: ambitus.cpp:192
int bottomOctave() const
Definition: ambitus.h:59
virtual Pid propertyId(const QStringRef &xmlName) const override
Definition: element.cpp:1326
QVariant getProperty(Pid) const
Definition: ambitus.cpp:636
Segment * segment() const
Definition: ambitus.h:76
int bottomPitch() const
Definition: ambitus.h:61
Definition: aeolus.cpp:26
bool _hasLine
Definition: ambitus.h:30
Spatium _lineWidth
Definition: ambitus.h:31
virtual ElementType type() const override
Definition: ambitus.h:52
virtual Ambitus * clone() const override
Definition: ambitus.h:45
virtual void draw(QPainter *) const override
Definition: ambitus.cpp:453
QPointF _topPos
Definition: ambitus.h:37
Definition of classes Note and NoteHead.
int topPitch() const
Definition: ambitus.h:60
int _topTpc
Definition: ambitus.h:34
bool setProperty(Pid propertyId, const QVariant &)
Definition: ambitus.cpp:670
MScore::DirectionH _dir
Definition: ambitus.h:29
Group
Definition: note.h:56
Accidental _bottomAccid
Definition: ambitus.h:32
void initFrom(Ambitus *a)
Definition: ambitus.cpp:71
Type
Definition: note.h:129
ElementType
Definition: types.h:34
virtual Element * prevSegmentElement() override
Definition: ambitus.cpp:756
NoteHead::Group _noteHeadGroup
Definition: ambitus.h:27
QPointF _bottomPos
Definition: ambitus.h:38
Accidental _topAccid
Definition: ambitus.h:32
void setNoteHeadType(NoteHead::Type val)
Definition: ambitus.h:66
void setBottomTpc(int val)
Definition: ambitus.cpp:175
void setLineWidth(Spatium val)
Definition: ambitus.h:69
int _bottomTpc
Definition: ambitus.h:34
Spatium lineWidth() const
Definition: ambitus.h:57
virtual Element * nextSegmentElement() override
Definition: ambitus.cpp:747
Ambitus(Score *s)
Definition: ambitus.cpp:42
virtual QPointF pagePos() const override
position in page coordinates
Definition: ambitus.cpp:540