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

#include <ove.h>

Public Types

enum  PlayStyle : char { PlayStyle::Record, PlayStyle::Swing, PlayStyle::Notation }
 

Public Member Functions

 OveSong ()
 
 ~OveSong ()
 
void setIsVersion4 (bool version4=true)
 
bool getIsVersion4 () const
 
void setQuarter (int tick)
 
int getQuarter (void) const
 
void setShowPageMargin (bool show)
 
bool getShowPageMargin () const
 
void setShowTransposeTrack (bool show)
 
bool getShowTransposeTrack () const
 
void setShowLineBreak (bool show)
 
bool getShowLineBreak () const
 
void setShowRuler (bool show)
 
bool getShowRuler () const
 
void setShowColor (bool show)
 
bool getShowColor () const
 
void setPlayRepeat (bool play)
 
bool getPlayRepeat () const
 
void setPlayStyle (PlayStyle style)
 
PlayStyle getPlayStyle () const
 
void addTitle (const QString &str)
 
QList< QString > getTitles (void) const
 
void addAnnotate (const QString &str)
 
QList< QString > getAnnotates (void) const
 
void addWriter (const QString &str)
 
QList< QString > getWriters (void) const
 
void addCopyright (const QString &str)
 
QList< QString > getCopyrights (void) const
 
void addHeader (const QString &str)
 
QList< QString > getHeaders (void) const
 
void addFooter (const QString &str)
 
QList< QString > getFooters (void) const
 
void addTrack (Track *ptr)
 
int getTrackCount (void) const
 
QList< Track * > getTracks () const
 
TrackgetTrack (int part, int staff) const
 
void setTrackBarCount (int count)
 
int getTrackBarCount () const
 
bool addPage (Page *page)
 
int getPageCount () const
 
PagegetPage (int idx)
 
void addLine (Line *ptr)
 
int getLineCount () const
 
LinegetLine (int idx) const
 
void addMeasure (Measure *ptr)
 
int getMeasureCount (void) const
 
MeasuregetMeasure (int bar) const
 
void addMeasureData (MeasureData *ptr)
 
int getMeasureDataCount (void) const
 
MeasureDatagetMeasureData (int part, int staff, int bar) const
 
MeasureDatagetMeasureData (int track, int bar) const
 
void setPartStaffCounts (const QList< int > &partStaffCounts)
 
int getPartCount () const
 
int getStaffCount (int part) const
 
int getPartBarCount () const
 
void clear (void)
 
QPair< int, int > trackToPartStaff (int track) const
 
void setTextCodecName (const QString &codecName)
 
QString getCodecString (const QByteArray &text)
 

Private Member Functions

int partStaffToTrack (int part, int staff) const
 

Private Attributes

bool version4_
 
int quarter_
 
bool showPageMargin_
 
bool showTransposeTrack
 
bool showLineBreak_
 
bool showRuler_
 
bool showColor_
 
bool playRepeat_
 
PlayStyle playStyle_
 
QList< QString > titles_
 
QList< QString > annotates_
 
QList< QString > writers_
 
QList< QString > copyrights_
 
QList< QString > headers_
 
QList< QString > footers_
 
QList< Track * > tracks_
 
QList< Page * > pages_
 
QList< Line * > lines_
 
QList< Measure * > measures_
 
QList< MeasureData * > measureDatas_
 
int trackBarCount_
 
QList< int > partStaffCounts_
 
QTextCodec * codec_
 

Member Enumeration Documentation

◆ PlayStyle

enum OVE::OveSong::PlayStyle : char
strong
Enumerator
Record 
Swing 
Notation 

Constructor & Destructor Documentation

◆ OveSong()

OVE::OveSong::OveSong ( )

◆ ~OveSong()

OVE::OveSong::~OveSong ( )

Member Function Documentation

◆ addAnnotate()

void OVE::OveSong::addAnnotate ( const QString &  str)

◆ addCopyright()

void OVE::OveSong::addCopyright ( const QString &  str)

◆ addFooter()

void OVE::OveSong::addFooter ( const QString &  str)

◆ addHeader()

void OVE::OveSong::addHeader ( const QString &  str)

◆ addLine()

void OVE::OveSong::addLine ( Line ptr)

◆ addMeasure()

void OVE::OveSong::addMeasure ( Measure ptr)

◆ addMeasureData()

void OVE::OveSong::addMeasureData ( MeasureData ptr)

◆ addPage()

bool OVE::OveSong::addPage ( Page page)

◆ addTitle()

void OVE::OveSong::addTitle ( const QString &  str)

◆ addTrack()

void OVE::OveSong::addTrack ( Track ptr)

◆ addWriter()

void OVE::OveSong::addWriter ( const QString &  str)

◆ clear()

void OVE::OveSong::clear ( void  )

◆ getAnnotates()

QList< QString > OVE::OveSong::getAnnotates ( void  ) const

◆ getCodecString()

QString OVE::OveSong::getCodecString ( const QByteArray &  text)

◆ getCopyrights()

QList< QString > OVE::OveSong::getCopyrights ( void  ) const

◆ getFooters()

QList< QString > OVE::OveSong::getFooters ( void  ) const

◆ getHeaders()

QList< QString > OVE::OveSong::getHeaders ( void  ) const

◆ getIsVersion4()

bool OVE::OveSong::getIsVersion4 ( ) const

◆ getLine()

Line * OVE::OveSong::getLine ( int  idx) const

◆ getLineCount()

int OVE::OveSong::getLineCount ( ) const

◆ getMeasure()

Measure * OVE::OveSong::getMeasure ( int  bar) const

◆ getMeasureCount()

int OVE::OveSong::getMeasureCount ( void  ) const

◆ getMeasureData() [1/2]

MeasureData * OVE::OveSong::getMeasureData ( int  part,
int  staff,
int  bar 
) const

◆ getMeasureData() [2/2]

MeasureData * OVE::OveSong::getMeasureData ( int  track,
int  bar 
) const

◆ getMeasureDataCount()

int OVE::OveSong::getMeasureDataCount ( void  ) const

◆ getPage()

Page * OVE::OveSong::getPage ( int  idx)

◆ getPageCount()

int OVE::OveSong::getPageCount ( ) const

◆ getPartBarCount()

int OVE::OveSong::getPartBarCount ( ) const

◆ getPartCount()

int OVE::OveSong::getPartCount ( ) const

◆ getPlayRepeat()

bool OVE::OveSong::getPlayRepeat ( ) const

◆ getPlayStyle()

OveSong::PlayStyle OVE::OveSong::getPlayStyle ( ) const

◆ getQuarter()

int OVE::OveSong::getQuarter ( void  ) const

◆ getShowColor()

bool OVE::OveSong::getShowColor ( ) const

◆ getShowLineBreak()

bool OVE::OveSong::getShowLineBreak ( ) const

◆ getShowPageMargin()

bool OVE::OveSong::getShowPageMargin ( ) const

◆ getShowRuler()

bool OVE::OveSong::getShowRuler ( ) const

◆ getShowTransposeTrack()

bool OVE::OveSong::getShowTransposeTrack ( ) const

◆ getStaffCount()

int OVE::OveSong::getStaffCount ( int  part) const

◆ getTitles()

QList< QString > OVE::OveSong::getTitles ( void  ) const

◆ getTrack()

Track * OVE::OveSong::getTrack ( int  part,
int  staff 
) const

◆ getTrackBarCount()

int OVE::OveSong::getTrackBarCount ( ) const

◆ getTrackCount()

int OVE::OveSong::getTrackCount ( void  ) const

◆ getTracks()

QList< Track * > OVE::OveSong::getTracks ( ) const

◆ getWriters()

QList< QString > OVE::OveSong::getWriters ( void  ) const

◆ partStaffToTrack()

int OVE::OveSong::partStaffToTrack ( int  part,
int  staff 
) const
private

◆ setIsVersion4()

void OVE::OveSong::setIsVersion4 ( bool  version4 = true)

◆ setPartStaffCounts()

void OVE::OveSong::setPartStaffCounts ( const QList< int > &  partStaffCounts)

◆ setPlayRepeat()

void OVE::OveSong::setPlayRepeat ( bool  play)

◆ setPlayStyle()

void OVE::OveSong::setPlayStyle ( PlayStyle  style)

◆ setQuarter()

void OVE::OveSong::setQuarter ( int  tick)

◆ setShowColor()

void OVE::OveSong::setShowColor ( bool  show)

◆ setShowLineBreak()

void OVE::OveSong::setShowLineBreak ( bool  show)

◆ setShowPageMargin()

void OVE::OveSong::setShowPageMargin ( bool  show)

◆ setShowRuler()

void OVE::OveSong::setShowRuler ( bool  show)

◆ setShowTransposeTrack()

void OVE::OveSong::setShowTransposeTrack ( bool  show)

◆ setTextCodecName()

void OVE::OveSong::setTextCodecName ( const QString &  codecName)

◆ setTrackBarCount()

void OVE::OveSong::setTrackBarCount ( int  count)

◆ trackToPartStaff()

QPair< int, int > OVE::OveSong::trackToPartStaff ( int  track) const

Member Data Documentation

◆ annotates_

QList<QString> OVE::OveSong::annotates_
private

◆ codec_

QTextCodec* OVE::OveSong::codec_
private

◆ copyrights_

QList<QString> OVE::OveSong::copyrights_
private

◆ footers_

QList<QString> OVE::OveSong::footers_
private

◆ headers_

QList<QString> OVE::OveSong::headers_
private

◆ lines_

QList<Line*> OVE::OveSong::lines_
private

◆ measureDatas_

QList<MeasureData*> OVE::OveSong::measureDatas_
private

◆ measures_

QList<Measure*> OVE::OveSong::measures_
private

◆ pages_

QList<Page*> OVE::OveSong::pages_
private

◆ partStaffCounts_

QList<int> OVE::OveSong::partStaffCounts_
private

◆ playRepeat_

bool OVE::OveSong::playRepeat_
private

◆ playStyle_

PlayStyle OVE::OveSong::playStyle_
private

◆ quarter_

int OVE::OveSong::quarter_
private

◆ showColor_

bool OVE::OveSong::showColor_
private

◆ showLineBreak_

bool OVE::OveSong::showLineBreak_
private

◆ showPageMargin_

bool OVE::OveSong::showPageMargin_
private

◆ showRuler_

bool OVE::OveSong::showRuler_
private

◆ showTransposeTrack

bool OVE::OveSong::showTransposeTrack
private

◆ titles_

QList<QString> OVE::OveSong::titles_
private

◆ trackBarCount_

int OVE::OveSong::trackBarCount_
private

◆ tracks_

QList<Track*> OVE::OveSong::tracks_
private

◆ version4_

bool OVE::OveSong::version4_
private

◆ writers_

QList<QString> OVE::OveSong::writers_
private

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