|
|
Q_INVOKABLE QString | metaTag (const QString &tag) const |
| | Returns as a string the metatag named tag.
|
| |
|
Q_INVOKABLE void | setMetaTag (const QString &tag, const QString &val) |
| | Sets the metatag named tag to val.
|
| |
|
Q_INVOKABLE void | appendMeasures (int n) |
| | Appends a number of measures to this score.
|
| |
| Q_INVOKABLE void | addText (const QString &type, const QString &text) |
| | Adds a header text to the score.
|
| |
|
Q_INVOKABLE Ms::PluginAPI::Cursor * | newCursor () |
| | Creates and returns a cursor to be used to navigate in the score.
|
| |
|
Q_INVOKABLE Ms::PluginAPI::Segment * | firstSegment () |
| |
|
Q_INVOKABLE QString | extractLyrics () |
| |
| Q_INVOKABLE void | startCmd () |
| | For "dock" type plugins: to be used before score modifications to make them undoable.
|
| |
| Q_INVOKABLE void | endCmd (bool rollback=false) |
| | For "dock" type plugins: to be used after score modifications to make them undoable.
|
| |
|
| QString | composer |
| | Composer of the score, as taken from the score properties (read only).
|
| |
| int | duration |
| | Duration of score in seconds (read only).
|
| |
|
QQmlListProperty< Ms::PluginAPI::Excerpt > | excerpts |
| | List of the excerpts (linked parts) (read only)
|
| |
|
Ms::PluginAPI::Measure * | firstMeasure |
| | First measure of the score (read only)
|
| |
| Ms::PluginAPI::Measure * | firstMeasureMM |
| | First multimeasure rest measure of the score (read only).
|
| |
| int | harmonyCount |
| | Number of harmony items (chord symbols) in the score (read only).
|
| |
| bool | hasHarmonies |
| | Whether score has harmonies (chord symbols) (read only).
|
| |
| bool | hasLyrics |
| | Whether score has lyrics (read only).
|
| |
| int | keysig |
| | Key signature at the start of the score, in number of accidentals, negative for flats, postitive for sharps (read only).
|
| |
|
Ms::PluginAPI::Measure * | lastMeasure |
| | Last measure of the score (read only)
|
| |
| Ms::PluginAPI::Measure * | lastMeasureMM |
| | Last multimeasure rest measure of the score (read only).
|
| |
|
Ms::PluginAPI::Segment * | lastSegment |
| | Last score segment (read only)
|
| |
| int | lyricCount |
| | Number of lyrics items (syllables) in the score (read only).
|
| |
| QString | scoreName |
| | Name of the score, without path leading to it and extension.
|
| |
|
int | nmeasures |
| | Number of measures (read only)
|
| |
|
int | npages |
| | Number of pages (read only)
|
| |
|
int | nstaves |
| | Number of staves (read only)
|
| |
|
int | ntracks |
| | Number of tracks (nstaves * 4) (read only)
|
| |
|
QQmlListProperty< Ms::PluginAPI::Part > | parts |
| | The list of parts.
|
| |
| QString | lyricist |
| | Lyricist of score, as taken from the score properties.
|
| |
| QString | title |
| | Title of score, as taken from the score properties' workTitle (read only).
|
| |
|
QString | mscoreVersion |
| | MuseScore version the score has been last saved with (includes autosave) (read only)
|
| |
|
QString | mscoreRevision |
| | MuseScore revision the score has been last saved with (includes autosave) (read only)
|
| |
| Ms::PluginAPI::Selection * | selection |
| | Current selections for the score.
|
| |
| int | type |
| | Type of this element.
|
| |
| QString | name |
| | Name of this element's type, not localized.
|
| |