MuseScore  3.4
Music composition and notation
Classes | Public Member Functions | Private Attributes | List of all members
OVE::Track Class Reference

#include <ove.h>

Classes

struct  DrumNode
 

Public Member Functions

 Track ()
 
 ~Track ()
 
void setName (const QString &str)
 
QString getName (void) const
 
void setBriefName (const QString &str)
 
QString getBriefName (void) const
 
void setPatch (unsigned int patch)
 
unsigned int getPatch () const
 
void setChannel (int channel)
 
int getChannel () const
 
void setShowName (bool show)
 
bool getShowName () const
 
void setShowBriefName (bool show)
 
bool getShowBriefName () const
 
void setMute (bool mute)
 
bool getMute () const
 
void setSolo (bool solo)
 
bool getSolo () const
 
void setShowKeyEachLine (bool show)
 
bool getShowKeyEachLine () const
 
void setVoiceCount (int voices)
 
int getVoiceCount () const
 
void addVoice (Voice *voice)
 
QList< Voice * > getVoices () const
 
void setShowTranspose (bool show)
 
bool getShowTranspose () const
 
void setTranspose (int transpose)
 
int getTranspose () const
 
void setNoteShift (int shift)
 
int getNoteShift () const
 
void setStartClef (int clef)
 
ClefType getStartClef () const
 
void setTransposeClef (int clef)
 
ClefType getTansposeClef () const
 
void setStartKey (int key)
 
int getStartKey () const
 
void setDisplayPercent (unsigned int percent)
 
unsigned int getDisplayPercent () const
 
void setShowLegerLine (bool show)
 
bool getShowLegerLine () const
 
void setShowClef (bool show)
 
bool getShowClef () const
 
void setShowTimeSignature (bool show)
 
bool getShowTimeSignature () const
 
void setShowKeySignature (bool show)
 
bool getShowKeySignature () const
 
void setShowBarline (bool show)
 
bool getShowBarline () const
 
void setFillWithRest (bool fill)
 
bool getFillWithRest () const
 
void setFlatTail (bool flat)
 
bool getFlatTail () const
 
void setShowClefEachLine (bool show)
 
bool getShowClefEachLine () const
 
void addDrum (const DrumNode &node)
 
QList< DrumNodegetDrumKit () const
 
void clear (void)
 
void setPart (int part)
 
int getPart () const
 

Private Attributes

int number_
 
QString name_
 
QString briefName_
 
unsigned int patch_
 
int channel_
 
int transpose_
 
bool showTranspose_
 
int noteShift_
 
ClefType startClef_
 
ClefType transposeClef_
 
unsigned int displayPercent_
 
int startKey_
 
int voiceCount_
 
QList< Voice * > voices_
 
bool showName_
 
bool showBriefName_
 
bool showKeyEachLine_
 
bool showLegerLine_
 
bool showClef_
 
bool showTimeSignature_
 
bool showKeySignature_
 
bool showBarline_
 
bool showClefEachLine_
 
bool fillWithRest_
 
bool flatTail_
 
bool mute_
 
bool solo_
 
QList< DrumNodedrumKit_
 
int part_
 

Constructor & Destructor Documentation

◆ Track()

OVE::Track::Track ( )

◆ ~Track()

OVE::Track::~Track ( )

Member Function Documentation

◆ addDrum()

void OVE::Track::addDrum ( const DrumNode node)

◆ addVoice()

void OVE::Track::addVoice ( Voice voice)

◆ clear()

void OVE::Track::clear ( void  )

◆ getBriefName()

QString OVE::Track::getBriefName ( void  ) const

◆ getChannel()

int OVE::Track::getChannel ( ) const

◆ getDisplayPercent()

unsigned int OVE::Track::getDisplayPercent ( ) const

◆ getDrumKit()

QList< Track::DrumNode > OVE::Track::getDrumKit ( ) const

◆ getFillWithRest()

bool OVE::Track::getFillWithRest ( ) const

◆ getFlatTail()

bool OVE::Track::getFlatTail ( ) const

◆ getMute()

bool OVE::Track::getMute ( ) const

◆ getName()

QString OVE::Track::getName ( void  ) const

◆ getNoteShift()

int OVE::Track::getNoteShift ( ) const

◆ getPart()

int OVE::Track::getPart ( ) const

◆ getPatch()

unsigned int OVE::Track::getPatch ( ) const

◆ getShowBarline()

bool OVE::Track::getShowBarline ( ) const

◆ getShowBriefName()

bool OVE::Track::getShowBriefName ( ) const

◆ getShowClef()

bool OVE::Track::getShowClef ( ) const

◆ getShowClefEachLine()

bool OVE::Track::getShowClefEachLine ( ) const

◆ getShowKeyEachLine()

bool OVE::Track::getShowKeyEachLine ( ) const

◆ getShowKeySignature()

bool OVE::Track::getShowKeySignature ( ) const

◆ getShowLegerLine()

bool OVE::Track::getShowLegerLine ( ) const

◆ getShowName()

bool OVE::Track::getShowName ( ) const

◆ getShowTimeSignature()

bool OVE::Track::getShowTimeSignature ( ) const

◆ getShowTranspose()

bool OVE::Track::getShowTranspose ( ) const

◆ getSolo()

bool OVE::Track::getSolo ( ) const

◆ getStartClef()

ClefType OVE::Track::getStartClef ( ) const

◆ getStartKey()

int OVE::Track::getStartKey ( ) const

◆ getTansposeClef()

ClefType OVE::Track::getTansposeClef ( ) const

◆ getTranspose()

int OVE::Track::getTranspose ( ) const

◆ getVoiceCount()

int OVE::Track::getVoiceCount ( ) const

◆ getVoices()

QList< Voice * > OVE::Track::getVoices ( ) const

◆ setBriefName()

void OVE::Track::setBriefName ( const QString &  str)

◆ setChannel()

void OVE::Track::setChannel ( int  channel)

◆ setDisplayPercent()

void OVE::Track::setDisplayPercent ( unsigned int  percent)

◆ setFillWithRest()

void OVE::Track::setFillWithRest ( bool  fill)

◆ setFlatTail()

void OVE::Track::setFlatTail ( bool  flat)

◆ setMute()

void OVE::Track::setMute ( bool  mute)

◆ setName()

void OVE::Track::setName ( const QString &  str)

◆ setNoteShift()

void OVE::Track::setNoteShift ( int  shift)

◆ setPart()

void OVE::Track::setPart ( int  part)

◆ setPatch()

void OVE::Track::setPatch ( unsigned int  patch)

◆ setShowBarline()

void OVE::Track::setShowBarline ( bool  show)

◆ setShowBriefName()

void OVE::Track::setShowBriefName ( bool  show)

◆ setShowClef()

void OVE::Track::setShowClef ( bool  show)

◆ setShowClefEachLine()

void OVE::Track::setShowClefEachLine ( bool  show)

◆ setShowKeyEachLine()

void OVE::Track::setShowKeyEachLine ( bool  show)

◆ setShowKeySignature()

void OVE::Track::setShowKeySignature ( bool  show)

◆ setShowLegerLine()

void OVE::Track::setShowLegerLine ( bool  show)

◆ setShowName()

void OVE::Track::setShowName ( bool  show)

◆ setShowTimeSignature()

void OVE::Track::setShowTimeSignature ( bool  show)

◆ setShowTranspose()

void OVE::Track::setShowTranspose ( bool  show)

◆ setSolo()

void OVE::Track::setSolo ( bool  solo)

◆ setStartClef()

void OVE::Track::setStartClef ( int  clef)

◆ setStartKey()

void OVE::Track::setStartKey ( int  key)

◆ setTranspose()

void OVE::Track::setTranspose ( int  transpose)

◆ setTransposeClef()

void OVE::Track::setTransposeClef ( int  clef)

◆ setVoiceCount()

void OVE::Track::setVoiceCount ( int  voices)

Member Data Documentation

◆ briefName_

QString OVE::Track::briefName_
private

◆ channel_

int OVE::Track::channel_
private

◆ displayPercent_

unsigned int OVE::Track::displayPercent_
private

◆ drumKit_

QList<DrumNode> OVE::Track::drumKit_
private

◆ fillWithRest_

bool OVE::Track::fillWithRest_
private

◆ flatTail_

bool OVE::Track::flatTail_
private

◆ mute_

bool OVE::Track::mute_
private

◆ name_

QString OVE::Track::name_
private

◆ noteShift_

int OVE::Track::noteShift_
private

◆ number_

int OVE::Track::number_
private

◆ part_

int OVE::Track::part_
private

◆ patch_

unsigned int OVE::Track::patch_
private

◆ showBarline_

bool OVE::Track::showBarline_
private

◆ showBriefName_

bool OVE::Track::showBriefName_
private

◆ showClef_

bool OVE::Track::showClef_
private

◆ showClefEachLine_

bool OVE::Track::showClefEachLine_
private

◆ showKeyEachLine_

bool OVE::Track::showKeyEachLine_
private

◆ showKeySignature_

bool OVE::Track::showKeySignature_
private

◆ showLegerLine_

bool OVE::Track::showLegerLine_
private

◆ showName_

bool OVE::Track::showName_
private

◆ showTimeSignature_

bool OVE::Track::showTimeSignature_
private

◆ showTranspose_

bool OVE::Track::showTranspose_
private

◆ solo_

bool OVE::Track::solo_
private

◆ startClef_

ClefType OVE::Track::startClef_
private

◆ startKey_

int OVE::Track::startKey_
private

◆ transpose_

int OVE::Track::transpose_
private

◆ transposeClef_

ClefType OVE::Track::transposeClef_
private

◆ voiceCount_

int OVE::Track::voiceCount_
private

◆ voices_

QList<Voice*> OVE::Track::voices_
private

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