Score


Methods

void startCmd()
void endCmd(bool rollback = false)
void updateRepeatList(bool expandRepeats)
Ms::Segment firstSegment(Segment::Type s = Segment::Type::All)
void doLayout()
QString metaTag(const QString& s)
void setMetaTag(const QString& tag, const QString& val)
void appendPart(const QString&)
void appendMeasures(int)
void addText(const QString&, const QString&)
Ms::Cursor newCursor()
void cropPage(qreal margins)

Properties

firstMeasureMs::Measure the first measure of the score (read only)
firstMeasureMMMs::Measure the first multi-measure rest measure of the score (read only)
lastMeasureMs::Measure the last measure of the score (read only)
lastMeasureMMMs::Measure the last multi-measure rest measure of the score (read only)
lastSegmentMs::Segment the last score segment (read-only)
nameQString name of the score
npagesint number of pages (read only)
nstavesint number of staves (read only)
ntracksint number of tracks (staves * 4) (read only)
nmeasuresint number of measures (read only)
partsarray[Ms::Part] the list of parts (read only)
titleQString title of the score (read only)
subtitleQString subtitle of the score (read only)
composerQString composer of the score (read only)
poetQString poet of the score (read only)
hasLyricsbool score has lyrics (read only)
hasHarmoniesbool score has chord symbols (read only)
keysigint key signature at the start of the score (read only)
durationint duration of score in seconds (read only)
excerptsarray[Ms::Excerpt] the list of the excerpts (linked parts)