51 virtual void draw(QPainter*)
const;
53 virtual void startEditDrag(
EditData&)
override;
54 virtual void editDrag(
EditData&)
override;
55 virtual void spatiumChanged(qreal, qreal);
56 void setGap(qreal sp);
57 qreal
gap()
const {
return _gap; }
63 std::vector<QPointF> gripsPositions(
const EditData&)
const override;
66 bool setProperty(
Pid propertyId,
const QVariant&);
67 QVariant propertyDefault(
Pid id)
const;
int gripsCount() const override
Definition: spacer.h:60
Pid
Definition: property.h:62
SpacerType spacerType() const
Definition: spacer.h:46
virtual bool isEditable() const
Definition: spacer.h:52
virtual Spacer * clone() const
Definition: spacer.h:44
Grip initialEditModeGrip() const override
Definition: spacer.h:61
Grip defaultGrip() const override
Definition: spacer.h:62
qreal _gap
Definition: spacer.h:35
Base class of score layout elements.
Definition: element.h:158
SpacerType _spacerType
Definition: spacer.h:34
Vertical spacer element to adjust the distance of staves.
Definition: spacer.h:33
Grip
Definition: element.h:43
QPainterPath path
Definition: spacer.h:37
Definition: aeolus.cpp:26
SpacerType
Definition: spacer.h:24
qreal gap() const
Definition: spacer.h:57
void setSpacerType(SpacerType t)
Definition: spacer.h:47
Definition: element.h:111
virtual ElementType type() const
Definition: spacer.h:45
ElementType
Definition: types.h:34
Pid propertyId(const QStringRef &s)
Definition: property.cpp:347
EditBehavior
Definition: element.h:173
EditBehavior normalModeEditBehavior() const override
Definition: spacer.h:59