MuseScore Plugins 3.2.3
Plugins API for MuseScore
Loading...
Searching...
No Matches
Properties | List of all members
Part Class Reference
Inheritance diagram for Part:
Inheritance graph
[legend]
Collaboration diagram for Part:
Collaboration graph
[legend]

Properties

int startTrack
 
int endTrack
 
QString instrumentId
 The string identifier for the current instrument.
 
int harmonyCount
 The number of Chord Symbols.
 
bool hasDrumStaff
 Whether it is a percussion staff.
 
bool hasPitchedStaff
 Whether it is a 'normal' staff with notes.
 
bool hasTabStaff
 Whether it is a tablature staff.
 
int lyricCount
 The number of lyrics syllables.
 
int midiChannel
 One of 16 music channels that can be assigned an instrument.
 
int midiProgram
 One of the 128 different instruments in General MIDI.
 
QString longName
 The long name for the current instrument.
 
QString shortName
 The short name for the current instrument.
 
QString partName
 The name of the current part of music.
 
bool show
 Whether part is shown or hidden.
 
- Properties inherited from ScoreElement
int type
 Type of this element.
 
QString name
 Name of this element's type, not localized.
 

Property Documentation

◆ harmonyCount

int harmonyCount
read

The number of Chord Symbols.

Since
MuseScore 3.2.1

◆ hasDrumStaff

bool hasDrumStaff
read

Whether it is a percussion staff.

Since
MuseScore 3.2.1

◆ hasPitchedStaff

bool hasPitchedStaff
read

Whether it is a 'normal' staff with notes.

Since
MuseScore 3.2.1

◆ hasTabStaff

bool hasTabStaff
read

Whether it is a tablature staff.

Since
MuseScore 3.2.1

◆ instrumentId

QString instrumentId
read

The string identifier for the current instrument.

Since
MuseScore 3.2

◆ longName

QString longName
read

The long name for the current instrument.

Note that this property was writeable in MuseScore v2.x

Since
MuseScore 3.2.1

◆ lyricCount

int lyricCount
read

The number of lyrics syllables.

Since
MuseScore 3.2.1

◆ midiChannel

int midiChannel
read

One of 16 music channels that can be assigned an instrument.

Since
MuseScore 3.2.1

◆ midiProgram

int midiProgram
read

One of the 128 different instruments in General MIDI.

Since
MuseScore 3.2.1

◆ partName

QString partName
read

The name of the current part of music.

It is shown in Mixer.

Note that this property was writeable in MuseScore v2.x

Since
MuseScore 3.2.1

◆ shortName

QString shortName
read

The short name for the current instrument.

Note that this property was writeable in MuseScore v2.x

Since
MuseScore 3.2.1

◆ show

bool show
read

Whether part is shown or hidden.

Note that this property was writeable in MuseScore v2.x

Since
MuseScore 3.2.1

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