13 #ifndef __IMPORTXMLFIRSTPASS_H__ 14 #define __IMPORTXMLFIRSTPASS_H__ 33 int octaveShift(
const Fraction f)
const;
34 void addOctaveShift(
const int shift,
const Fraction f);
35 void calcOctaveShiftShifts();
41 void addNumber(
const QString number);
43 int getLyricNo(
const QString& number)
const;
44 void determineLyricNos();
52 void addMeasureNumberAndDuration(QString measureNumber,
Fraction measureDuration);
53 QString
getId()
const {
return id; }
56 Fraction measureDuration(
int i)
const;
57 int nMeasures()
const {
return measureDurations.size(); }
59 int octaveShift(
const int staff,
const Fraction f)
const;
60 void addOctaveShift(
const int staff,
const int shift,
const Fraction f);
61 void calcOctaveShifts();
72 void setMaxStaff(
const int staff);
77 bool printName =
true;
79 bool printAbbr =
true;
QStringList measureNumbers
Definition: importxmlfirstpass.h:80
QString name
Definition: importxmlfirstpass.h:76
void setInstrument(const QString instr, const Fraction f)
Definition: importxmlfirstpass.cpp:112
QMap< QString, VoiceDesc > VoiceList
Definition: importxmlfirstpass.h:21
QString id
Definition: importxmlfirstpass.h:75
void setAbbr(QString ab)
Definition: importxmlfirstpass.h:66
const char * toString(Direction val)
Definition: mscore.cpp:176
LyricNumberHandler & lyricNumberHandler()
Definition: importxmlfirstpass.h:70
Definition: importxmlfirstpass.h:23
VoiceList voicelist
Definition: importxmlfirstpass.h:55
bool getPrintAbbr() const
Definition: importxmlfirstpass.h:69
LyricNumberHandler _lyricNumberHandler
Definition: importxmlfirstpass.h:83
int nMeasures() const
Definition: importxmlfirstpass.h:57
QList< Fraction > measureDurations
Definition: importxmlfirstpass.h:81
int maxStaff() const
Definition: importxmlfirstpass.h:73
void setName(QString nm)
Definition: importxmlfirstpass.h:62
MusicXmlInstrList()
Definition: importxmlfirstpass.h:25
Definition: importxmlfirstpass.h:49
Definition: aeolus.cpp:26
QString abbr
Definition: importxmlfirstpass.h:78
bool getPrintName() const
Definition: importxmlfirstpass.h:65
QString getId() const
Definition: importxmlfirstpass.h:53
std::map< QString, int > _numberToNo
Definition: importxmlfirstpass.h:46
MusicXmlOctaveShiftList()
Definition: importxmlfirstpass.h:32
QString getAbbr() const
Definition: importxmlfirstpass.h:67
QVector< MusicXmlOctaveShiftList > octaveShifts
Definition: importxmlfirstpass.h:82
MusicXmlInstrList _instrList
Definition: importxmlfirstpass.h:58
const QString instrument(const Fraction f) const
Definition: importxmlfirstpass.cpp:97
void setPrintName(bool b)
Definition: importxmlfirstpass.h:64
const LyricNumberHandler & lyricNumberHandler() const
Definition: importxmlfirstpass.h:71
Definition: importxmlfirstpass.h:30
void setPrintAbbr(bool b)
Definition: importxmlfirstpass.h:68
LyricNumberHandler()
Definition: importxmlfirstpass.h:40
Definition: fraction.h:46
Definition: importxmlfirstpass.h:38
QString getName() const
Definition: importxmlfirstpass.h:63