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

#include <key.h>

Public Member Functions

 KeySigEvent ()
 
 KeySigEvent (const KeySigEvent &)
 
bool operator== (const KeySigEvent &e) const
 
bool operator!= (const KeySigEvent &e) const
 
void setKey (Key v)
 
void print () const
 
Key key () const
 
KeyMode mode () const
 
void setMode (KeyMode m)
 
bool custom () const
 
void setCustom (bool val)
 
bool isValid () const
 
bool isAtonal () const
 
void initFromSubtype (int)
 
QList< KeySym > & keySymbols ()
 
const QList< KeySym > & keySymbols () const
 

Private Member Functions

void enforceLimits ()
 

Private Attributes

Key _key { Key::INVALID }
 
KeyMode _mode { KeyMode::UNKNOWN }
 
bool _custom { false }
 
QList< KeySym_keySymbols
 

Constructor & Destructor Documentation

◆ KeySigEvent() [1/2]

Ms::KeySigEvent::KeySigEvent ( )
inline

◆ KeySigEvent() [2/2]

Ms::KeySigEvent::KeySigEvent ( const KeySigEvent k)

Member Function Documentation

◆ custom()

bool Ms::KeySigEvent::custom ( ) const
inline

◆ enforceLimits()

void Ms::KeySigEvent::enforceLimits ( )
private

◆ initFromSubtype()

void Ms::KeySigEvent::initFromSubtype ( int  st)

◆ isAtonal()

bool Ms::KeySigEvent::isAtonal ( ) const
inline

◆ isValid()

bool Ms::KeySigEvent::isValid ( ) const
inline

◆ key()

Key Ms::KeySigEvent::key ( ) const
inline

◆ keySymbols() [1/2]

QList<KeySym>& Ms::KeySigEvent::keySymbols ( )
inline

◆ keySymbols() [2/2]

const QList<KeySym>& Ms::KeySigEvent::keySymbols ( ) const
inline

◆ mode()

KeyMode Ms::KeySigEvent::mode ( ) const
inline

◆ operator!=()

bool Ms::KeySigEvent::operator!= ( const KeySigEvent e) const
inline

◆ operator==()

bool Ms::KeySigEvent::operator== ( const KeySigEvent e) const

◆ print()

void Ms::KeySigEvent::print ( ) const

◆ setCustom()

void Ms::KeySigEvent::setCustom ( bool  val)
inline

◆ setKey()

void Ms::KeySigEvent::setKey ( Key  v)

◆ setMode()

void Ms::KeySigEvent::setMode ( KeyMode  m)
inline

Member Data Documentation

◆ _custom

bool Ms::KeySigEvent::_custom { false }
private

◆ _key

Key Ms::KeySigEvent::_key { Key::INVALID }
private

◆ _keySymbols

QList<KeySym> Ms::KeySigEvent::_keySymbols
private

◆ _mode

KeyMode Ms::KeySigEvent::_mode { KeyMode::UNKNOWN }
private

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