Represents a rest in the score.
Definition: rest.h:15
Class which represents a voice in the staff.
Definition: voice.h:23
@ Breve
Definition: playablelength.h:20
const QList< CAMark * > markList()
Definition: muselement.h:70
Playable instances of music elements.
Definition: playable.h:18
@ Normal
Definition: rest.h:19
CARest * clone(CAVoice *voice=0)
Definition: rest.cpp:37
@ Hidden
Definition: rest.h:20
virtual int timeLength() const
Definition: muselement.h:53
void addMark(CAMark *mark)
Definition: muselement.cpp:135
static const QString restTypeToString(CARestType)
Definition: rest.cpp:64
Represents a staff in the sheet.
Definition: staff.h:25
An abstract class which represents every music element in the score.
Definition: muselement.h:21
@ Rest
Definition: muselement.h:26
static CARestType restTypeFromString(const QString)
Definition: rest.cpp:78
CARestType _restType
Definition: rest.h:38
Musical length of notes and rests.
Definition: playablelength.h:16
static QList< CARest * > composeRests(int timeLength, int timeStart, CAVoice *voice=0, CARestType=Hidden)
Definition: rest.cpp:96
int compare(CAMusElement *elt)
Definition: rest.cpp:48
~CARest()
Definition: rest.cpp:34
virtual int timeStart() const
Definition: muselement.h:51
@ Undefined
Definition: rest.h:18
CARestType
Definition: rest.h:17
CAMusElementType _musElementType
Definition: muselement.h:87
Marks that depend on other music elements.
Definition: mark.h:15
CARest(CARestType type, CAPlayableLength length, CAVoice *voice, int timeStart, int timeLength=-1)
Definition: rest.cpp:25
CARestType restType()
Definition: rest.h:28
void setRestType(CARestType type)
Definition: rest.h:29
CAMusElementType musElementType()
Definition: muselement.h:46
CAVoice * voice()
Definition: playable.h:31
CAPlayableLength & playableLength()
Definition: playable.h:23