|
| | CATempo (CAPlayableLength l, int bpm, CAMusElement *m) |
| |
| virtual | ~CATempo () |
| |
| CATempo * | clone (CAMusElement *elt=0) |
| |
| int | compare (CAMusElement *elt) |
| |
| int | bpm () |
| |
| void | setBpm (int bpm) |
| |
| CAPlayableLength | beat () |
| |
| void | setBeat (CAPlayableLength l) |
| |
| int | beatDotted () |
| |
| void | setBeatDotted (int dotted) |
| |
| | CAMark (CAMarkType type, CAMusElement *associatedElt, int timeStart=-1, int timeLength=-1) |
| |
| | CAMark (CAMarkType type, CAContext *context, int timeStart, int timeLength) |
| |
| virtual | ~CAMark () |
| |
| virtual CAMark * | clone (CAContext *context) |
| |
| CAMusElement * | associatedElement () |
| |
| void | setAssociatedElement (CAMusElement *elt) |
| |
| CAMarkType | markType () |
| |
| void | setMarkType (CAMarkType type) |
| |
| bool | isCommon () |
| |
| | CAMusElement (CAContext *context, int timeStart, int timeLength=0) |
| |
| virtual | ~CAMusElement () |
| |
| CAMusElementType | musElementType () |
| |
| CAContext * | context () |
| |
| CAContext * | setContext (CAContext *context) |
| |
| virtual int | timeStart () |
| |
| void | setTimeStart (int time) |
| |
| virtual int | timeLength () |
| |
| void | setTimeLength (int length) |
| |
| int | timeEnd () |
| |
| const QString | name () |
| |
| void | setName (const QString name) |
| |
| const bool | isVisible () |
| |
| void | setVisible (const bool v) |
| |
| const QColor | color () |
| |
| void | setColor (const QColor c) |
| |
| const QList< CAMark * > | markList () |
| |
| void | addMark (CAMark *mark) |
| |
| void | addMarks (QList< CAMark * > marks) |
| |
| void | removeMark (CAMark *mark) |
| |
| bool | isPlayable () |
| |
Tempo mark.
Copyright (c) 2007, Matevž Jekovec, Canorus development team All Rights Reserved. See AUTHORS for a complete list of authors.
Licensed under the GNU GENERAL PUBLIC LICENSE. See LICENSE.GPL for details.
Copyright (c) 2007, Matevž Jekovec, Canorus development team All Rights Reserved. See AUTHORS for a complete list of authors.
Licensed under the GNU GENERAL PUBLIC LICENSE. See LICENSE.GPL for details.
Sets and shows the tempo mark. It consists of the note (beat) and beats per minute number.
Compares the music element with the given elt and returns number of differences in their properties. Returns 0, if the music elements are exact; -1 if the music element type differs; otherwise number greater than 0.
This method is usually used when opening a score document where music elements are written in various voices (eg. barlines), but are eventually merged and written only once per staff.
Reimplemented from CAMark.
References beat(), beatDotted(), bpm(), CAMusElement::Mark, CAMusElement::musElementType(), and CAMark::Tempo.