Go to the documentation of this file.
8 #ifndef PLAYABLELENGTH_H_
9 #define PLAYABLELENGTH_H_
@ Sixteenth
Definition: playablelength.h:25
@ Eighth
Definition: playablelength.h:24
void setDotted(const int d)
Definition: playablelength.h:38
CAMusicLength
Definition: playablelength.h:18
Represents a time signature in the staff.
Definition: timesignature.h:18
int _dotted
Definition: playablelength.h:56
static QList< CAPlayableLength > matchToBars(CAPlayableLength len, int timeStart, CABarline *lastBarline, CATimeSignature *ts, int dotsLimit=4)
Definition: playablelength.cpp:242
@ Breve
Definition: playablelength.h:20
bool operator!=(CAPlayableLength)
Definition: playablelength.cpp:233
@ SixtyFourth
Definition: playablelength.h:27
static const QString musicLengthToString(CAMusicLength length)
Definition: playablelength.cpp:75
void setMusicLength(const CAMusicLength l)
Definition: playablelength.h:37
const CAMusicLength musicLength()
Definition: playablelength.h:34
CAPlayableLength()
Definition: playablelength.cpp:31
@ Quarter
Definition: playablelength.h:23
@ HundredTwentyEighth
Definition: playablelength.h:28
@ ThirtySecond
Definition: playablelength.h:26
bool operator==(CAPlayableLength)
Definition: playablelength.cpp:223
@ Half
Definition: playablelength.h:22
Musical length of notes and rests.
Definition: playablelength.h:16
static const int playableLengthToTimeLength(CAPlayableLength length)
Definition: playablelength.cpp:107
const int dotted()
Definition: playablelength.h:35
static CAMusicLength musicLengthFromString(const QString length)
Definition: playablelength.cpp:41
@ Undefined
Definition: playablelength.h:19
int beats()
Definition: timesignature.h:34
virtual int timeStart() const
Definition: muselement.h:51
CAMusicLength _musicLength
Definition: playablelength.h:55
Music element which represents a barline in the score.
Definition: barline.h:17
@ Whole
Definition: playablelength.h:21
int beat()
Definition: timesignature.h:37
static const int musicLengthToTimeLength(CAMusicLength l)
Definition: playablelength.h:47
static QList< CAPlayableLength > timeLengthToPlayableLengthList(int timeLength, bool longNotesFirst=true, int dotsLimit=4)
Definition: playablelength.cpp:167