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

#include <excerpt.h>

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

Public Member Functions

 Excerpt (MasterScore *s=0)
 
 Excerpt (const Excerpt &ex, bool copyPartScore=true)
 
 ~Excerpt ()
 
QList< Part * > & parts ()
 
void setParts (const QList< Part *> &p)
 
QMultiMap< int, int > & tracks ()
 
void setTracks (const QMultiMap< int, int > &t)
 
MasterScoreoscore () const
 
ScorepartScore () const
 
void setPartScore (Score *s)
 
void read (XmlReader &)
 
bool operator!= (const Excerpt &) const
 
bool operator== (const Excerpt &) const
 
QString title () const
 
void setTitle (const QString &s)
 

Static Public Member Functions

static QList< Excerpt * > createAllExcerpt (MasterScore *score)
 
static QString createName (const QString &partName, QList< Excerpt *> &)
 
static void createExcerpt (Excerpt *)
 
static void cloneStaves (Score *oscore, Score *score, const QList< int > &map, QMultiMap< int, int > &allTracks)
 
static void cloneStaff (Staff *ostaff, Staff *nstaff)
 
static void cloneStaff2 (Staff *ostaff, Staff *nstaff, const Fraction &stick, const Fraction &etick)
 

Private Attributes

MasterScore_oscore
 
Score_partScore { 0 }
 
QString _title
 
QList< Part * > _parts
 
QMultiMap< int, int > _tracks
 

Constructor & Destructor Documentation

◆ Excerpt() [1/2]

Ms::Excerpt::Excerpt ( MasterScore s = 0)
inline

◆ Excerpt() [2/2]

Ms::Excerpt::Excerpt ( const Excerpt ex,
bool  copyPartScore = true 
)

◆ ~Excerpt()

Ms::Excerpt::~Excerpt ( )

Member Function Documentation

◆ cloneStaff()

void Ms::Excerpt::cloneStaff ( Staff ostaff,
Staff nstaff 
)
static

◆ cloneStaff2()

void Ms::Excerpt::cloneStaff2 ( Staff ostaff,
Staff nstaff,
const Fraction stick,
const Fraction etick 
)
static

◆ cloneStaves()

void Ms::Excerpt::cloneStaves ( Score oscore,
Score score,
const QList< int > &  map,
QMultiMap< int, int > &  allTracks 
)
static

◆ createAllExcerpt()

QList< Excerpt * > Ms::Excerpt::createAllExcerpt ( MasterScore score)
static

◆ createExcerpt()

void Ms::Excerpt::createExcerpt ( Excerpt excerpt)
static

◆ createName()

QString Ms::Excerpt::createName ( const QString &  partName,
QList< Excerpt *> &  excerptList 
)
static

◆ operator!=()

bool Ms::Excerpt::operator!= ( const Excerpt e) const

◆ operator==()

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

◆ oscore()

MasterScore* Ms::Excerpt::oscore ( ) const
inline

◆ parts()

QList<Part*>& Ms::Excerpt::parts ( )
inline

◆ partScore()

Score* Ms::Excerpt::partScore ( ) const
inline

◆ read()

void Ms::Excerpt::read ( XmlReader e)

◆ setParts()

void Ms::Excerpt::setParts ( const QList< Part *> &  p)
inline

◆ setPartScore()

void Ms::Excerpt::setPartScore ( Score s)

◆ setTitle()

void Ms::Excerpt::setTitle ( const QString &  s)
inline

◆ setTracks()

void Ms::Excerpt::setTracks ( const QMultiMap< int, int > &  t)
inline

◆ title()

QString Ms::Excerpt::title ( ) const
inline

◆ tracks()

QMultiMap<int, int>& Ms::Excerpt::tracks ( )
inline

Member Data Documentation

◆ _oscore

MasterScore* Ms::Excerpt::_oscore
private

◆ _parts

QList<Part*> Ms::Excerpt::_parts
private

◆ _partScore

Score* Ms::Excerpt::_partScore { 0 }
private

◆ _title

QString Ms::Excerpt::_title
private

◆ _tracks

QMultiMap<int, int> Ms::Excerpt::_tracks
private

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