52 QList<CAPlayable*>
getChord(
int time );
Represents a single sheet of paper in the document.
Definition: sheet.h:20
CAVoice * voiceByName(const QString name)
Definition: staff.cpp:239
CAVoice * addVoice()
Definition: staff.cpp:185
bool synchronizeVoices()
Definition: staff.cpp:298
Class which represents a voice in the staff.
Definition: voice.h:22
const QString name()
Definition: context.h:28
CAStaff * clone(CASheet *s)
Definition: staff.cpp:45
Represents a note in the score.
Definition: note.h:18
CAVoice * voiceAt(int i)
Definition: staff.h:35
CAMusElement * next(CAMusElement *elt)
Definition: staff.cpp:197
int voiceIndex(CAVoice *voice)
Definition: staff.h:36
CAMusElementType
Definition: muselement.h:22
QList< CAPlayable * > getChord(int time)
Definition: staff.cpp:274
int _numberOfLines
Definition: staff.h:59
QList< CAVoice * > voiceList()
Definition: staff.h:38
QList< CAVoice * > _voiceList
Definition: staff.h:57
void removeVoice(CAVoice *voice)
Definition: staff.h:37
An abstract class which represents every music element in the score.
Definition: muselement.h:20
CAStaff(const QString name, CASheet *s, int numberOfLines=5)
Definition: staff.cpp:35
~CAStaff()
Definition: staff.cpp:41
int voiceCount()
Definition: staff.h:34
Represents a staff in the sheet.
Definition: staff.h:24
void clear()
Definition: staff.cpp:166
void setNumberOfLines(int val)
Definition: staff.h:30
QList< CAMusElement * > getEltByType(CAMusElement::CAMusElementType type, int startTime)
Definition: staff.cpp:254
int numberOfLines()
Definition: staff.h:29
CAMusElement * previous(CAMusElement *elt)
Definition: staff.cpp:212
Line of music elements in the sheet.
Definition: context.h:16
int lastTimeEnd()
Definition: staff.cpp:157