Go to the documentation of this file.
8 #ifndef FUNCTIONMARK_H_
9 #define FUNCTIONMARK_H_
39 CAFunctionMark(
CAFunctionType function,
bool minor,
const CADiatonicKey key,
CAFunctionMarkContext*
context,
int timeStart,
int timeLength,
CAFunctionType chordArea=
Undefined,
bool chordAreaMinor=
false,
CAFunctionType tonicDegree=
T,
bool tonicDegreeMinor=
false,
const QString alterations=
"",
bool ellipseSequence=
false);
@ VII
Definition: functionmark.h:28
CAContext * context()
Definition: muselement.h:48
CAFunctionMark(CAFunctionType function, bool minor, const CADiatonicKey key, CAFunctionMarkContext *context, int timeStart, int timeLength, CAFunctionType chordArea=Undefined, bool chordAreaMinor=false, CAFunctionType tonicDegree=T, bool tonicDegreeMinor=false, const QString alterations="", bool ellipseSequence=false)
Definition: functionmark.cpp:25
QList< int > addedDegrees()
Definition: functionmark.h:50
bool isChordAreaMinor()
Definition: functionmark.h:67
void setChordArea(CAFunctionType chordArea)
Definition: functionmark.h:53
bool isMinor()
Definition: functionmark.h:66
@ D
Definition: functionmark.h:31
void setAlteredDegrees(QList< int > degrees)
Definition: functionmark.h:57
bool _minor
Definition: functionmark.h:85
bool isEmpty()
Definition: functionmark.h:63
bool _ellipseSequence
Definition: functionmark.h:86
void setTonicDegree(CAFunctionType tonicDegree)
Definition: functionmark.h:55
const QList< CAMark * > markList()
Definition: muselement.h:70
@ K
Definition: functionmark.h:35
CAFunctionType _chordArea
Definition: functionmark.h:79
Musical key.
Definition: diatonickey.h:15
@ Undefined
Definition: functionmark.h:21
int compare(CAMusElement *function)
Definition: functionmark.cpp:77
Represents a function mark in the score.
Definition: functionmark.h:18
void setChordAreaMinor(bool minor)
Definition: functionmark.h:54
CAFunctionType _tonicDegree
Definition: functionmark.h:81
@ II
Definition: functionmark.h:23
CAFunctionType chordArea()
Definition: functionmark.h:47
Context for function marks.
Definition: functionmarkcontext.h:19
virtual int timeLength() const
Definition: muselement.h:53
@ N
Definition: functionmark.h:33
@ L
Definition: functionmark.h:34
QList< int > _alteredDegrees
Definition: functionmark.h:83
bool isTonicDegreeMinor()
Definition: functionmark.h:68
@ VI
Definition: functionmark.h:27
void addMark(CAMark *mark)
Definition: muselement.cpp:135
@ IV
Definition: functionmark.h:25
CAFunctionType _function
Definition: functionmark.h:77
void clear()
Definition: functionmark.cpp:70
@ FunctionMark
Definition: muselement.h:35
QList< int > alteredDegrees()
Definition: functionmark.h:49
CAFunctionMark * clone(CAContext *context=0)
Definition: functionmark.cpp:56
@ V
Definition: functionmark.h:26
CAFunctionType
Definition: functionmark.h:20
An abstract class which represents every music element in the score.
Definition: muselement.h:21
@ III
Definition: functionmark.h:24
CAFunctionType function()
Definition: functionmark.h:45
static CAFunctionType functionTypeFromString(const QString)
Definition: functionmark.cpp:163
void setFunction(CAFunctionType function)
Definition: functionmark.h:51
@ T
Definition: functionmark.h:29
bool isPartOfEllipse()
Definition: functionmark.h:69
CAFunctionMarkContext * fmContext()
Definition: functionmark.h:43
void setMinor(bool minor)
Definition: functionmark.h:59
CAFunctionType tonicDegree()
Definition: functionmark.h:48
CADiatonicKey key()
Definition: functionmark.h:46
bool _chordAreaMinor
Definition: functionmark.h:80
virtual int timeStart() const
Definition: muselement.h:51
Line of music elements in the sheet.
Definition: context.h:16
static const QString functionTypeToString(CAFunctionType)
Definition: functionmark.cpp:141
void setAddedDegrees(QList< int > degrees)
Definition: functionmark.h:58
QList< int > _addedDegrees
Definition: functionmark.h:84
void setTonicDegreeMinor(bool minor)
Definition: functionmark.h:56
CAMusElementType _musElementType
Definition: muselement.h:87
Marks that depend on other music elements.
Definition: mark.h:15
bool isSideDegree()
Definition: functionmark.cpp:43
~CAFunctionMark()
Definition: functionmark.cpp:40
bool _tonicDegreeMinor
Definition: functionmark.h:82
void setKey(CADiatonicKey key)
Definition: functionmark.h:52
@ I
Definition: functionmark.h:22
void setEllipse(bool ellipse)
Definition: functionmark.h:60
void setAlterations(const QString alterations)
Definition: functionmark.cpp:100
CAMusElementType musElementType()
Definition: muselement.h:46
@ F
Definition: functionmark.h:32
CADiatonicKey _key
Definition: functionmark.h:78
@ S
Definition: functionmark.h:30