41 virtual void draw(QPainter*)
const override;
44 virtual void layout()
override;
49 virtual void remove(
Element*)
override;
54 void setSymbols(
const std::vector<SymId>& s) { _symbols = s; }
67 TRILL_LINE, UPPRALL_LINE, DOWNPRALL_LINE, PRALLPRALL_LINE,
82 virtual void layout()
override;
85 virtual void remove(
Element*)
override;
89 void setTrillType(
const QString& s);
97 QString trillTypeName()
const;
98 QString trillTypeUserName()
const;
103 virtual void scanElements(
void* data,
void (*func)(
void*,
Element*),
bool all=
true)
override;
106 virtual bool setProperty(
Pid propertyId,
const QVariant&)
override;
108 virtual Pid propertyId(
const QStringRef& xmlName)
const override;
virtual Sid getPropertyStyle(Pid) const override
Definition: trill.cpp:247
Shape shape() const override
Definition: trill.cpp:181
int trillTableSize()
Definition: trill.cpp:40
bool playArticulation() const
Definition: trill.h:95
OrnamentStyle
Definition: mscore.h:298
void setOrnamentStyle(MScore::OrnamentStyle val)
Definition: trill.h:92
Pid
Definition: property.h:62
Segment * segment() const
Definition: trill.h:102
Virtual base class for slurs, ties, lines etc.
Definition: spanner.h:136
virtual QString accessibleInfo() const override
Definition: spanner.cpp:305
void setPlayArticulation(bool val)
Definition: trill.h:94
Trill::Type type
Definition: trill.h:114
const TrillTableItem trillTable[]
Definition: trill.cpp:33
SymId
Definition: sym.h:30
Base class of score layout elements.
Definition: element.h:158
virtual QVariant propertyDefault(Pid id) const override
Definition: spanner.cpp:162
Spanner * spanner() const
Definition: spanner.h:67
void symbolLine(SymId start, SymId fill)
Definition: trill.cpp:92
Element * parent() const
Definition: element.h:192
virtual Trill * clone() const override
Definition: trill.h:79
Virtual base class for segmented lines segments (OttavaSegment, HairpinSegment, TrillSegment...)
Definition: line.h:34
bool _playArticulation
Definition: trill.h:74
virtual void write(XmlWriter &) const
Definition: element.cpp:732
Type
Definition: trill.h:66
Definition: accidental.h:65
Type _trillType
Definition: trill.h:71
TrillSegment(Score *s)
Definition: trill.h:37
virtual ElementType type() const override
Definition: trill.h:80
MScore::OrnamentStyle _ornamentStyle
Definition: trill.h:73
std::vector< SymId > _symbols
Definition: trill.h:28
virtual void scanElements(void *data, void(*func)(void *, Element *), bool all) override
Definition: trill.cpp:233
virtual Pid propertyId(const QStringRef &xmlName) const override
Definition: element.cpp:1326
virtual base class for Hairpin, Trill and TextLine
Definition: line.h:70
Trill * trill() const
Definition: trill.h:38
virtual void layout() override
Definition: trill.cpp:136
virtual TrillSegment * clone() const override
Definition: trill.h:40
MScore::OrnamentStyle ornamentStyle() const
Definition: trill.h:93
void setTrillType(Type tt)
Definition: trill.h:90
virtual QVariant getProperty(Pid id) const override
Definition: spanner.cpp:127
ElementFlag
Definition: element.h:66
const char * name
Definition: trill.h:115
Definition: aeolus.cpp:26
virtual Element * propertyDelegate(Pid) override
Definition: trill.cpp:222
Sid
Definition: style.h:33
void setSymbols(const std::vector< SymId > &s)
Definition: trill.h:54
QString userName
Definition: trill.h:116
void setAccidental(Accidental *a)
Definition: trill.h:100
virtual ElementType type() const override
Definition: trill.h:39
Type trillType() const
Definition: trill.h:91
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: trill.cpp:190
virtual void read(XmlReader &) override
Definition: line.cpp:69
Definition: element.h:111
virtual void draw(QPainter *) const override
Definition: trill.cpp:57
virtual bool setProperty(Pid id, const QVariant &v) override
Definition: spanner.cpp:143
std::vector< SymId > symbols() const
Definition: trill.h:53
Accidental * accidental() const
Definition: trill.h:99
ElementType
Definition: types.h:34
Accidental * _accidental
Definition: trill.h:72
TrillSegment(Spanner *sp, Score *s)
Definition: trill.h:36
virtual void add(Element *) override
Definition: trill.cpp:67
virtual Element * drop(EditData &) override
Handle a dropped element at canvas relative pos of given element type and subtype.
Definition: trill.cpp:201