![]() |
MuseScore Plugins 3.3
Plugins API for MuseScore
|
#include <elements.h>


Properties | |
| bool | small |
| qreal | mag |
| QColor | color |
| Staff color. | |
| bool | playbackVoice1 |
| Whether voice 1 participates in playback. | |
| bool | playbackVoice2 |
| Whether voice 2 participates in playback. | |
| bool | playbackVoice3 |
| Whether voice 3 participates in playback. | |
| bool | playbackVoice4 |
| Whether voice 4 participates in playback. | |
| int | staffBarlineSpan |
| int | staffBarlineSpanFrom |
| int | staffBarlineSpanTo |
| qreal | staffUserdist |
| User-defined amount of additional space before this staff. | |
| Ms::PluginAPI::Part * | part |
| Part which this staff belongs to. | |
| Properties inherited from ScoreElement | |
| int | type |
| Type of this element. | |
| QString | name |
| Name of this element's type, not localized. | |
Additional Inherited Members | |
| Public Member Functions inherited from ScoreElement | |
| Q_INVOKABLE QString | userName () const |
| Human-readable element type name. | |
| Q_INVOKABLE bool | is (Ms::PluginAPI::ScoreElement *other) |
| Checks whether two variables represent the same object. | |
|
readwrite |
Staff color.
See https://doc.qt.io/qt-5/qml-color.html for the reference on color type in QML.
|
readwrite |
User-defined amount of additional space before this staff.
It is recommended to consider adding a spacer instead as it allows adjusting staff spacing locally as opposed to this property.