48 virtual void draw(QPainter*)
const override;
49 virtual bool isEditable()
const override {
return true; }
57 virtual void layout()
override;
86 virtual bool setProperty(
Pid propertyId,
const QVariant&)
override;
104 bool _createSystemHeader {
true };
112 virtual void layout()
override;
126 virtual bool setProperty(
Pid propertyId,
const QVariant&)
override;
144 virtual void layout()
override;
161 virtual void layout()
override;
virtual HBox * clone() const override
Definition: box.h:109
horizontal frame
Definition: box.h:103
virtual void draw(QPainter *) const override
Definition: box.cpp:76
qreal leftMargin() const
Definition: box.h:71
virtual base class for frames "boxes"
Definition: box.h:33
virtual QRectF drag(EditData &)
Return update Rect relative to canvas.
Definition: element.cpp:1908
qreal rightMargin() const
Definition: box.h:72
virtual VBox * clone() const override
Definition: box.h:141
Box(Score *)
Definition: box.cpp:45
virtual void write(XmlWriter &) const override
Definition: box.cpp:191
Pid
Definition: property.h:62
Virtual base class for Measure, HBox and VBox.
Definition: measurebase.h:61
qreal topGap() const
Definition: box.h:79
Spatium boxHeight() const
Definition: box.h:69
Spatium boxWidth() const
Definition: box.h:67
Definition of MeasureBase class.
virtual void writeProperties(XmlWriter &) const override
Definition: box.cpp:202
virtual void read(XmlReader &) override
Definition: box.cpp:218
qreal topMargin() const
Definition: box.h:73
FBox(Score *score)
Definition: box.h:156
virtual bool isMovable() const
Definition: element.h:417
void setCreateSystemHeader(bool val)
Definition: box.h:123
virtual ElementType type() const override
Definition: box.h:110
void setLeftMargin(qreal val)
Definition: box.h:75
Base class of score layout elements.
Definition: element.h:158
void copyValues(Box *origin)
Definition: box.cpp:421
virtual QString accessibleExtraInfo() const override
Definition: box.cpp:771
qreal bottomMargin() const
Definition: box.h:74
Spatium _boxWidth
Definition: box.h:34
bool createSystemHeader() const
Definition: box.h:122
bool editMode
Definition: box.h:44
virtual void write(XmlWriter &xml, int, bool, bool) const override
Definition: box.h:59
qreal _topMargin
Definition: box.h:42
virtual ~VBox()
Definition: box.h:140
virtual void endEditDrag(EditData &)
Definition: element.cpp:2065
Score * score() const
Definition: scoreElement.h:189
virtual void layout() override
Definition: box.cpp:54
Spatium _boxHeight
Definition: box.h:35
frame containing fret diagrams
Definition: box.h:154
void setBoxHeight(Spatium val)
Definition: box.h:70
Grip initialEditModeGrip() const override
Definition: box.h:93
virtual bool edit(EditData &) override
Definition: box.cpp:114
virtual Pid propertyId(const QStringRef &xmlName) const override
Definition: element.cpp:1326
qreal _bottomMargin
Definition: box.h:43
Grip
Definition: element.h:43
virtual QVariant propertyDefault(Pid) const override
Definition: box.cpp:395
virtual bool readProperties(XmlReader &) override
Definition: box.cpp:233
virtual Element * drop(EditData &) override
Handle a dropped element at canvas relative pos of given element type and subtype.
Definition: box.cpp:521
Definition: aeolus.cpp:26
void setBottomMargin(qreal val)
Definition: box.h:78
virtual QVariant getProperty(Pid propertyId) const override
Definition: box.cpp:328
virtual ElementType type() const override
Definition: box.h:159
virtual FBox * clone() const override
Definition: box.h:158
Grip defaultGrip() const override
Definition: box.h:94
virtual bool setProperty(Pid propertyId, const QVariant &) override
Definition: box.cpp:356
qreal _bottomGap
Definition: box.h:38
virtual bool isEditable() const override
Definition: box.h:49
qreal _leftMargin
Definition: box.h:40
int gripsCount() const override
Definition: box.h:92
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: box.cpp:484
void setTopGap(qreal val)
Definition: box.h:80
virtual ElementType type() const override
Definition: box.h:142
virtual void computeMinWidth()
Definition: measurebase.h:173
qreal _rightMargin
Definition: box.h:41
void setBottomGap(qreal val)
Definition: box.h:82
EditBehavior normalModeEditBehavior() const override
Definition: box.h:91
virtual void editDrag(EditData &) override
Definition: box.cpp:136
Definition: element.h:111
void setRightMargin(qreal val)
Definition: box.h:76
qreal _topGap
Definition: box.h:36
void setBoxWidth(Spatium val)
Definition: box.h:68
virtual void endEdit(EditData &) override
Definition: box.cpp:165
virtual ~HBox()
Definition: box.h:108
virtual ~FBox()
Definition: box.h:157
ElementType
Definition: types.h:34
vertical frame
Definition: box.h:137
void setTopMargin(qreal val)
Definition: box.h:77
EditBehavior
Definition: element.h:173
virtual void add(Element *e) override
Add new Element el to Box.
Definition: box.cpp:317
virtual void startEdit(EditData &) override
Definition: box.cpp:104
virtual void startEditDrag(EditData &) override
Definition: box.cpp:123
qreal bottomGap() const
Definition: box.h:81
std::vector< QPointF > gripsPositions(const EditData &) const override
Definition: box.h:95