13 #ifndef __ARPEGGIO_H__ 14 #define __ARPEGGIO_H__ 46 virtual void spatiumChanged(qreal , qreal )
override;
47 virtual QLineF dragAnchor()
const override;
48 virtual QPointF gripAnchor(
Grip)
const override;
49 virtual void startEdit(
EditData&)
override;
61 virtual bool acceptDrop(
EditData&)
const override;
63 virtual void layout()
override;
64 virtual void draw(QPainter*)
const override;
65 virtual bool isEditable()
const override {
return true; }
66 virtual void editDrag(
EditData&)
override;
67 virtual bool edit(
EditData&)
override;
70 virtual void write(
XmlWriter& xml)
const override;
71 virtual void reset()
override;
73 int span()
const {
return _span; }
75 void setHeight(qreal);
85 qreal
Stretch()
const {
return _stretch; }
89 virtual bool setProperty(
Pid propertyId,
const QVariant&)
override;
90 virtual QVariant propertyDefault(
Pid propertyId)
const override;
91 virtual Pid propertyId(
const QStringRef& xmlName)
const override;
98 std::vector<QPointF> gripsPositions(
const EditData&)
const override;
Pid
Definition: property.h:62
Grip initialEditModeGrip() const override
Definition: arpeggio.h:96
int _span
Definition: arpeggio.h:35
EditBehavior normalModeEditBehavior() const override
Definition: arpeggio.h:94
bool playArpeggio()
Definition: arpeggio.h:82
qreal _userLen2
Definition: arpeggio.h:33
SymId
Definition: sym.h:30
Base class of score layout elements.
Definition: element.h:158
qreal Stretch() const
Definition: arpeggio.h:85
void setUserLen1(qreal v)
Definition: arpeggio.h:79
Chord * chord() const
Definition: arpeggio.h:59
void setPlayArpeggio(bool p)
Definition: arpeggio.h:83
qreal userLen2() const
Definition: arpeggio.h:78
ArpeggioType arpeggioType() const
Definition: arpeggio.h:56
ArpeggioType
Definition: arpeggio.h:22
Definition: arpeggio.h:30
qreal userLen1() const
Definition: arpeggio.h:77
void setUserLen2(qreal v)
Definition: arpeggio.h:80
virtual Arpeggio * clone() const override
Definition: arpeggio.h:53
int gripsCount() const override
Definition: arpeggio.h:95
ArpeggioType _arpeggioType
Definition: arpeggio.h:31
qreal _height
Definition: arpeggio.h:34
Grip
Definition: element.h:43
Definition: aeolus.cpp:26
void setSpan(int val)
Definition: arpeggio.h:74
void setArpeggioType(ArpeggioType v)
Definition: arpeggio.h:57
Graphic representation of a chord.
Definition: chord.h:55
qreal _userLen1
Definition: arpeggio.h:32
void setStretch(qreal val)
Definition: arpeggio.h:86
virtual ElementType type() const override
Definition: arpeggio.h:54
std::vector< SymId > symbols
Definition: arpeggio.h:36
Definition: element.h:111
qreal _stretch
Definition: arpeggio.h:39
bool _playArpeggio
Definition: arpeggio.h:37
int span() const
Definition: arpeggio.h:73
ElementType
Definition: types.h:34
Pid propertyId(const QStringRef &s)
Definition: property.cpp:347
EditBehavior
Definition: element.h:173
Grip defaultGrip() const override
Definition: arpeggio.h:97
virtual bool isEditable() const override
Definition: arpeggio.h:65