Element

Base class of score layout elements The Element class is the virtual base class of all score layout elements.

Methods

virtual Ms::Element* clone()
const char* name()
static Ms::Element* create(Ms::Element::Type type, Score*)

Properties

typeMs::Element::Type element type, read only
parentMs::Element* parent in drawing hierarchy
trackint
colorQColor foreground color
generatedbool generated by layout
visiblebool
selectedbool
placementMs::Element::Placement (ABOVE, BELOW)
posQPointF position relativ to parent
pagePosQPointF position in page coordinated, read only
userOffQPointF manual offset to layout position
bboxQRectF Bounding box relative to pos and userOff, read only