Canorus 0.0
fermata.h
Go to the documentation of this file.
1
8#ifndef FERMATA_H_
9#define FERMATA_H_
10
11#include "score/mark.h"
12
13class CAPlayable;
14class CABarline;
15
16class CAFermata : public CAMark {
17public:
23 };
24
27 virtual ~CAFermata();
28
30 int compare( CAMusElement* );
31
33 inline void setFermataType( CAFermataType t ) { _fermataType = t; }
34
35 static const QString fermataTypeToString( CAFermataType t );
36 static CAFermataType fermataTypeFromString( const QString r );
37
38private:
40};
41
42#endif /* FERMATA_H_ */
Music element which represents a barline in the score.
Definition: barline.h:17
Fermata mark.
Definition: fermata.h:16
CAFermata(CAPlayable *m, CAFermataType t=NormalFermata)
Definition: fermata.cpp:20
CAFermataType
Definition: fermata.h:18
@ ShortFermata
Definition: fermata.h:20
@ VeryLongFermata
Definition: fermata.h:22
@ LongFermata
Definition: fermata.h:21
@ NormalFermata
Definition: fermata.h:19
static CAFermataType fermataTypeFromString(const QString r)
Definition: fermata.cpp:66
virtual ~CAFermata()
Definition: fermata.cpp:30
void setFermataType(CAFermataType t)
Definition: fermata.h:33
CAFermata * clone(CAMusElement *elt=0)
Definition: fermata.cpp:33
CAFermataType _fermataType
Definition: fermata.h:39
int compare(CAMusElement *)
Definition: fermata.cpp:41
CAFermataType fermataType()
Definition: fermata.h:32
static const QString fermataTypeToString(CAFermataType t)
Definition: fermata.cpp:52
Marks that depend on other music elements.
Definition: mark.h:15
An abstract class which represents every music element in the score.
Definition: muselement.h:21
Playable instances of music elements.
Definition: playable.h:18