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