13 #ifndef __LAYOUTBREAK_H__ 14 #define __LAYOUTBREAK_H__ 46 virtual void draw(QPainter*)
const override;
48 virtual void spatiumChanged(qreal oldValue, qreal newValue)
override;
79 virtual bool setProperty(
Pid propertyId,
const QVariant&)
override;
81 virtual Pid propertyId(
const QStringRef& xmlName)
const override;
Type layoutBreakType() const
Definition: layoutbreak.h:58
virtual void write(XmlWriter &) const override
Definition: layoutbreak.cpp:60
symbols for line break, page break etc.
Definition: layoutbreak.h:27
Pid
Definition: property.h:62
void setPause(qreal v)
Definition: layoutbreak.h:67
qreal _pause
Definition: layoutbreak.h:41
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: layoutbreak.cpp:219
one measure in a system
Definition: measure.h:65
void setStartWithLongNames(bool v)
Definition: layoutbreak.h:69
Type _layoutBreakType
Definition: layoutbreak.h:44
virtual Pid propertyId(const QStringRef &xmlName) const override
Definition: layoutbreak.cpp:309
virtual QVariant propertyDefault(Pid) const override
Definition: layoutbreak.cpp:289
bool isSectionBreak() const
Definition: layoutbreak.h:75
Base class of score layout elements.
Definition: element.h:158
virtual void read(XmlReader &) override
Definition: layoutbreak.cpp:75
LayoutBreak(Score *=0)
Definition: layoutbreak.cpp:32
Definition: layoutbreak.h:32
virtual bool setProperty(Pid propertyId, const QVariant &) override
Definition: layoutbreak.cpp:260
Element * parent() const
Definition: element.h:192
Type
Definition: layoutbreak.h:30
bool startWithMeasureOne() const
Definition: layoutbreak.h:70
bool isPageBreak() const
Definition: layoutbreak.h:73
QPainterPath path
Definition: layoutbreak.h:39
qreal lw
Definition: layoutbreak.h:36
virtual void spatiumChanged(qreal oldValue, qreal newValue) override
Definition: layoutbreak.cpp:209
Definition: aeolus.cpp:26
QPainterPath path2
Definition: layoutbreak.h:40
void setStartWithMeasureOne(bool v)
Definition: layoutbreak.h:71
Definition: layoutbreak.h:32
Definition: layoutbreak.h:32
bool _startWithMeasureOne
Definition: layoutbreak.h:43
virtual QVariant getProperty(Pid propertyId) const override
Definition: layoutbreak.cpp:240
Definition: element.h:111
virtual void draw(QPainter *) const override
Definition: layoutbreak.cpp:97
void setLayoutBreakType(Type)
Definition: layoutbreak.cpp:199
bool _startWithLongNames
Definition: layoutbreak.h:42
ElementType
Definition: types.h:34
bool startWithLongNames() const
Definition: layoutbreak.h:68
bool isLineBreak() const
Definition: layoutbreak.h:74
virtual LayoutBreak * clone() const override
Definition: layoutbreak.h:53
Measure * measure() const
Definition: layoutbreak.h:65
qreal pause() const
Definition: layoutbreak.h:66
virtual ElementType type() const override
Definition: layoutbreak.h:55
void layout0()
Definition: layoutbreak.cpp:125
Definition: layoutbreak.h:32
bool isNoBreak() const
Definition: layoutbreak.h:76
virtual Element * drop(EditData &) override
Handle a dropped element at canvas relative pos of given element type and subtype.
Definition: layoutbreak.cpp:229