65 void addMarks( QList<CAMark*> marks );
void setColor(const QColor c)
Definition: muselement.h:61
CAContext * _context
Definition: muselement.h:78
virtual ~CAMusElement()
Definition: muselement.cpp:51
const bool isVisible()
Definition: muselement.h:57
bool _visible
Definition: muselement.h:81
void removeMark(CAMark *mark)
Definition: muselement.h:66
void setTimeLength(int length)
Definition: muselement.h:51
bool isPlayable()
Definition: muselement.cpp:73
static CAMusElementType musElementTypeFromString(const QString)
Definition: muselement.cpp:103
CAContext * setContext(CAContext *context)
Definition: muselement.h:46
void setName(const QString name)
Definition: muselement.h:55
static const QString musElementTypeToString(CAMusElementType)
Definition: muselement.cpp:83
Marks that depend on other music elements.
Definition: mark.h:15
Definition: muselement.h:33
virtual int compare(CAMusElement *elt)=0
CAMusElementType _musElementType
Definition: muselement.h:77
Definition: muselement.h:29
virtual int timeStart()
Definition: muselement.h:48
Definition: muselement.h:28
int _timeStart
Definition: muselement.h:79
void addMark(CAMark *mark)
Definition: muselement.cpp:119
QColor _color
Definition: muselement.h:82
const QList< CAMark * > markList()
Definition: muselement.h:63
int _timeLength
Definition: muselement.h:80
Definition: muselement.h:26
CAMusElementType
Definition: muselement.h:22
CAMusElementType musElementType()
Definition: muselement.h:43
CAMusElement(CAContext *context, int timeStart, int timeLength=0)
Definition: muselement.cpp:38
QString _name
Definition: muselement.h:83
int timeEnd()
Definition: muselement.h:52
QList< CAMark * > _markList
Definition: muselement.h:76
virtual int timeLength()
Definition: muselement.h:50
Definition: muselement.h:32
Definition: muselement.h:31
An abstract class which represents every music element in the score.
Definition: muselement.h:20
void setMusElementType(CAMusElementType type)
Definition: muselement.h:74
Definition: muselement.h:24
Playable instances of music elements.
Definition: playable.h:18
void setVisible(const bool v)
Definition: muselement.h:58
Definition: muselement.h:30
Definition: muselement.h:25
void addMarks(QList< CAMark * > marks)
Definition: muselement.cpp:137
Definition: muselement.h:27
const QString name()
Definition: muselement.h:54
Definition: muselement.h:23
Definition: muselement.h:34
CAContext * context()
Definition: muselement.h:45
virtual CAMusElement * clone(CAContext *context=0)=0
void setTimeStart(int time)
Definition: muselement.h:49
const QColor color()
Definition: muselement.h:60
Line of music elements in the sheet.
Definition: context.h:16