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

#include <omrpage.h>

Inheritance diagram for Ms::OmrStaff:
Inheritance graph
[legend]
Collaboration diagram for Ms::OmrStaff:
Collaboration graph
[legend]

Public Member Functions

 OmrStaff ()
 
 OmrStaff (const QRect &r)
 
 OmrStaff (int x, int y, int w, int h)
 
QList< OmrNote * > & notes ()
 
const QList< OmrNote * > & notes () const
 
OmrClef clef () const
 
void setClef (const OmrClef &c)
 
OmrKeySig keySig () const
 
void setKeySig (const OmrKeySig &s)
 

Private Attributes

QList< OmrNote * > _notes
 
OmrClef _clef
 
OmrKeySig _keySig
 

Constructor & Destructor Documentation

◆ OmrStaff() [1/3]

Ms::OmrStaff::OmrStaff ( )
inline

◆ OmrStaff() [2/3]

Ms::OmrStaff::OmrStaff ( const QRect &  r)
inline

◆ OmrStaff() [3/3]

Ms::OmrStaff::OmrStaff ( int  x,
int  y,
int  w,
int  h 
)
inline

Member Function Documentation

◆ clef()

OmrClef Ms::OmrStaff::clef ( ) const
inline

◆ keySig()

OmrKeySig Ms::OmrStaff::keySig ( ) const
inline

◆ notes() [1/2]

QList<OmrNote*>& Ms::OmrStaff::notes ( )
inline

◆ notes() [2/2]

const QList<OmrNote*>& Ms::OmrStaff::notes ( ) const
inline

◆ setClef()

void Ms::OmrStaff::setClef ( const OmrClef c)
inline

◆ setKeySig()

void Ms::OmrStaff::setKeySig ( const OmrKeySig s)
inline

Member Data Documentation

◆ _clef

OmrClef Ms::OmrStaff::_clef
private

◆ _keySig

OmrKeySig Ms::OmrStaff::_keySig
private

◆ _notes

QList<OmrNote*> Ms::OmrStaff::_notes
private

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