MuseScore  3.4
Music composition and notation
Public Member Functions | Private Attributes | List of all members
Ms::MStaff Class Reference

Per staff values of measure. More...

Collaboration diagram for Ms::MStaff:
Collaboration graph
[legend]

Public Member Functions

 MStaff ()
 
 ~MStaff ()
 
 MStaff (const MStaff &)
 
void setScore (Score *)
 
void setTrack (int)
 
MeasureNumbernoText () const
 
void setNoText (MeasureNumber *t)
 
StaffLineslines () const
 
void setLines (StaffLines *l)
 
SpacervspacerUp () const
 
void setVspacerUp (Spacer *s)
 
SpacervspacerDown () const
 
void setVspacerDown (Spacer *s)
 
bool hasVoices () const
 
void setHasVoices (bool val)
 
bool visible () const
 
void setVisible (bool val)
 
bool stemless () const
 
void setStemless (bool val)
 
bool corrupted () const
 
void setCorrupted (bool val)
 

Private Attributes

MeasureNumber_noText { 0 }
 Measure number text object. More...
 
StaffLines_lines { 0 }
 
Spacer_vspacerUp { 0 }
 
Spacer_vspacerDown { 0 }
 
bool _hasVoices { false }
 indicates that MStaff contains more than one voice, More...
 
bool _visible { true }
 
bool _stemless { false }
 
bool _corrupted { false }
 

Detailed Description

Per staff values of measure.

Constructor & Destructor Documentation

◆ MStaff() [1/2]

Ms::MStaff::MStaff ( )
inline

◆ ~MStaff()

Ms::MStaff::~MStaff ( )

◆ MStaff() [2/2]

Ms::MStaff::MStaff ( const MStaff m)

Member Function Documentation

◆ corrupted()

bool Ms::MStaff::corrupted ( ) const
inline

◆ hasVoices()

bool Ms::MStaff::hasVoices ( ) const
inline

◆ lines()

StaffLines* Ms::MStaff::lines ( ) const
inline

◆ noText()

MeasureNumber* Ms::MStaff::noText ( ) const
inline

◆ setCorrupted()

void Ms::MStaff::setCorrupted ( bool  val)
inline

◆ setHasVoices()

void Ms::MStaff::setHasVoices ( bool  val)
inline

◆ setLines()

void Ms::MStaff::setLines ( StaffLines l)
inline

◆ setNoText()

void Ms::MStaff::setNoText ( MeasureNumber t)
inline

◆ setScore()

void Ms::MStaff::setScore ( Score score)

◆ setStemless()

void Ms::MStaff::setStemless ( bool  val)
inline

◆ setTrack()

void Ms::MStaff::setTrack ( int  track)

◆ setVisible()

void Ms::MStaff::setVisible ( bool  val)
inline

◆ setVspacerDown()

void Ms::MStaff::setVspacerDown ( Spacer s)
inline

◆ setVspacerUp()

void Ms::MStaff::setVspacerUp ( Spacer s)
inline

◆ stemless()

bool Ms::MStaff::stemless ( ) const
inline

◆ visible()

bool Ms::MStaff::visible ( ) const
inline

◆ vspacerDown()

Spacer* Ms::MStaff::vspacerDown ( ) const
inline

◆ vspacerUp()

Spacer* Ms::MStaff::vspacerUp ( ) const
inline

Member Data Documentation

◆ _corrupted

bool Ms::MStaff::_corrupted { false }
private

◆ _hasVoices

bool Ms::MStaff::_hasVoices { false }
private

indicates that MStaff contains more than one voice,

this changes some layout rules

◆ _lines

StaffLines* Ms::MStaff::_lines { 0 }
private

◆ _noText

MeasureNumber* Ms::MStaff::_noText { 0 }
private

Measure number text object.

◆ _stemless

bool Ms::MStaff::_stemless { false }
private

◆ _visible

bool Ms::MStaff::_visible { true }
private

◆ _vspacerDown

Spacer* Ms::MStaff::_vspacerDown { 0 }
private

◆ _vspacerUp

Spacer* Ms::MStaff::_vspacerUp { 0 }
private

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