13 #ifndef __ARTICULATION_H__ 14 #define __ARTICULATION_H__ 46 return static_cast<ArticulationShowIn>(
static_cast<unsigned char>(a1) | static_cast<unsigned char>(a2));
49 return static_cast<unsigned char>(a1) & static_cast<unsigned char>(a2);
68 virtual void draw(QPainter*)
const;
85 virtual qreal mag()
const override;
88 void setSymId(
SymId id);
89 virtual int subtype()
const override;
90 QString userName()
const;
91 const char* articulationName()
const;
92 static const char* symId2ArticulationName(
SymId symId);
94 virtual void layout()
override;
95 bool layoutCloseToNote()
const;
98 virtual void write(
XmlWriter& xml)
const override;
99 virtual bool readProperties(
XmlReader&)
override;
101 virtual QLineF dragAnchor()
const override;
104 virtual bool setProperty(
Pid propertyId,
const QVariant&)
override;
105 virtual QVariant propertyDefault(
Pid)
const override;
106 virtual void resetProperty(
Pid id)
override;
107 Sid getPropertyStyle(
Pid id)
const override;
109 virtual Pid propertyId(
const QStringRef& xmlName)
const override;
111 bool up()
const {
return _up; }
112 void setUp(
bool val);
134 QString accessibleInfo()
const override;
136 bool isDouble()
const;
137 bool isTenuto()
const;
138 bool isStaccato()
const;
139 bool isAccent()
const;
140 bool isMarcato()
const;
141 bool isLuteFingering()
const;
142 bool isOrnament()
const;
OrnamentStyle
Definition: mscore.h:298
Pid
Definition: property.h:62
void setAnchor(ArticulationAnchor v)
Definition: articulation.h:123
one measure in a system
Definition: measure.h:65
constexpr ArticulationShowIn operator|(ArticulationShowIn a1, ArticulationShowIn a2)
Definition: articulation.h:45
bool playArticulation() const
Definition: articulation.h:128
bool _up
Definition: articulation.h:64
SymId symId() const
Definition: articulation.h:87
SymId
Definition: sym.h:30
Base class of score layout elements.
Definition: element.h:158
Direction direction() const
Definition: articulation.h:114
void setPlayArticulation(bool val)
Definition: articulation.h:129
bool _playArticulation
Definition: articulation.h:66
virtual Articulation * clone() const override
Definition: articulation.h:82
QString channelName() const
Definition: articulation.h:131
constexpr bool operator &(ArticulationShowIn a1, ArticulationShowIn a2)
Definition: articulation.h:48
AnchorGroup
Definition: articulation.h:70
virtual ElementType type() const override
Definition: articulation.h:83
QString _channelName
Definition: articulation.h:60
void setDirection(Direction d)
Definition: articulation.h:113
MScore::OrnamentStyle _ornamentStyle
Definition: articulation.h:65
articulation marks
Definition: articulation.h:57
Definition: aeolus.cpp:26
MScore::OrnamentStyle ornamentStyle() const
Definition: articulation.h:125
Direction _direction
Definition: articulation.h:59
Sid
Definition: style.h:33
ArticulationAnchor
Definition: articulation.h:34
ArticulationShowIn
Definition: articulation.h:43
Definition: chordrest.h:48
Direction
Definition: types.h:282
void setOrnamentStyle(MScore::OrnamentStyle val)
Definition: articulation.h:126
SymId _symId
Definition: articulation.h:58
One row of measures for all instruments; a complete piece of the timeline.
Definition: system.h:79
bool up() const
Definition: articulation.h:111
ElementType
Definition: types.h:34
Pid propertyId(const QStringRef &s)
Definition: property.cpp:347
void setChannelName(const QString &s)
Definition: articulation.h:132
ArticulationAnchor _anchor
Definition: articulation.h:62
ArticulationAnchor anchor() const
Definition: articulation.h:122