MuseScore Plugins 3.3
Plugins API for MuseScore
Loading...
Searching...
No Matches
Properties | List of all members
Staff Class Reference

#include <elements.h>

Inheritance diagram for Staff:
Inheritance graph
[legend]
Collaboration diagram for Staff:
Collaboration graph
[legend]

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::Partpart
 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.
 

Detailed Description

Since
MuseScore 3.5

Property Documentation

◆ color

QColor color
readwrite

Staff color.

See https://doc.qt.io/qt-5/qml-color.html for the reference on color type in QML.

◆ staffUserdist

qreal staffUserdist
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.

See also
Element::space

The documentation for this class was generated from the following files: