42 bool _startWithLongNames;
43 bool _startWithMeasureOne;
44 bool _firstSystemIdentation;
45 Type _layoutBreakType;
47 void draw(QPainter*)
const override;
49 void spatiumChanged(qreal oldValue, qreal newValue)
override;
57 int subtype()
const override {
return static_cast<int>(_layoutBreakType); }
59 void setLayoutBreakType(
Type);
60 Type layoutBreakType()
const {
return _layoutBreakType; }
62 bool acceptDrop(EditData&)
const override;
63 Element* drop(EditData&)
override;
64 void write(XmlWriter&)
const override;
65 void read(XmlReader&)
override;
67 MeasureBase* measure()
const {
return (MeasureBase*)parent(); }
68 qreal pause()
const {
return _pause; }
69 void setPause(qreal v) { _pause = v; }
70 bool startWithLongNames()
const {
return _startWithLongNames; }
71 void setStartWithLongNames(
bool v) { _startWithLongNames = v; }
72 bool startWithMeasureOne()
const {
return _startWithMeasureOne; }
73 void setStartWithMeasureOne(
bool v) { _startWithMeasureOne = v; }
74 bool firstSystemIdentation()
const {
return _firstSystemIdentation; }
75 void setFirstSystemIdentation(
bool v) { _firstSystemIdentation = v; }
77 bool isPageBreak()
const {
return _layoutBreakType ==
PAGE; }
78 bool isLineBreak()
const {
return _layoutBreakType ==
LINE; }
79 bool isSectionBreak()
const {
return _layoutBreakType ==
SECTION; }
80 bool isNoBreak()
const {
return _layoutBreakType ==
NOBREAK; }
82 QVariant getProperty(Pid propertyId)
const override;
83 bool setProperty(Pid propertyId,
const QVariant&)
override;
84 QVariant propertyDefault(Pid)
const override;
85 Pid propertyId(
const QStringRef& xmlName)
const override;