36 virtual void remove(
Element*)
override;
37 virtual void scanElements(
void* data,
void (*func)(
void*,
Element*),
bool all=
true)
override;
40 virtual void layout()
override;
51 virtual QPointF
pagePos()
const override;
52 virtual QPointF
canvasPos()
const override;
BSymbol & operator=(const BSymbol &)=delete
void writeProperties(XmlWriter &xml) const
Definition: bsymbol.cpp:49
QFlags< ElementFlag > ElementFlags
Definition: element.h:101
virtual void layout() override
Definition: bsymbol.cpp:160
BSymbol(Score *s, ElementFlags f=ElementFlag::NOTHING)
Definition: bsymbol.cpp:28
Base class of score layout elements.
Definition: element.h:158
Element * parent() const
Definition: element.h:192
base class for Symbol and Image
Definition: bsymbol.h:25
virtual QPointF canvasPos() const override
position in canvas coordinates
Definition: bsymbol.cpp:245
bool readProperties(XmlReader &)
Definition: bsymbol.cpp:60
Segment * segment() const
Definition: bsymbol.h:54
virtual void add(Element *) override
Definition: bsymbol.cpp:91
Definition: aeolus.cpp:26
virtual QPointF pagePos() const override
position in page coordinates
Definition: bsymbol.cpp:226
QList< Element * > & leafs()
Definition: bsymbol.h:50
QList< Element * > _leafs
Definition: bsymbol.h:26
virtual QRectF drag(EditData &) override
Return update Rect relative to canvas.
Definition: bsymbol.cpp:176
virtual QLineF dragAnchor() const override
Definition: bsymbol.cpp:209
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: bsymbol.cpp:132
void setAlign(Align a)
Definition: bsymbol.h:47
virtual void scanElements(void *data, void(*func)(void *, Element *), bool all=true) override
Definition: bsymbol.cpp:121
Align align() const
Definition: bsymbol.h:46
Definition: element.h:111
virtual Element * drop(EditData &) override
Handle a dropped element at canvas relative pos of given element type and subtype.
Definition: bsymbol.cpp:141
Align _align
Definition: bsymbol.h:27
Align
Definition: types.h:439
const QList< Element * > & leafs() const
Definition: bsymbol.h:49