|
Canorus
0.0
|
Fermata mark. More...
#include <fermata.h>

Public Types | |
| enum | CAFermataType { NormalFermata, ShortFermata, LongFermata, VeryLongFermata } |
Public Types inherited from CAMark | |
| enum | CAMarkType { Undefined = -1, Text, Tempo, Ritardando, Dynamic, Crescendo, Pedal, InstrumentChange, BookMark, RehersalMark, Fermata, RepeatMark, Articulation, Fingering } |
Public Types inherited from CAMusElement | |
| enum | CAMusElementType { Undefined = 0, Note, Rest, MidiNote, Barline, Clef, TimeSignature, KeySignature, Slur, Tuplet, Syllable, FunctionMark, FiguredBassMark, Mark } |
Static Public Member Functions | |
| static const QString | fermataTypeToString (CAFermataType t) |
| static CAFermataType | fermataTypeFromString (const QString r) |
Static Public Member Functions inherited from CAMark | |
| static const QString | markTypeToString (CAMarkType t) |
| static CAMarkType | markTypeFromString (const QString s) |
Static Public Member Functions inherited from CAMusElement | |
| static const QString | musElementTypeToString (CAMusElementType) |
| static CAMusElementType | musElementTypeFromString (const QString) |
Private Attributes | |
| CAFermataType | _fermataType |
Additional Inherited Members | |
Protected Member Functions inherited from CAMark | |
| void | setCommon (bool c) |
Protected Member Functions inherited from CAMusElement | |
| void | setMusElementType (CAMusElementType type) |
Protected Attributes inherited from CAMusElement | |
| CAMusElementType | _musElementType |
| QList< CAMark * > | _markList |
| QList< CANoteCheckerError * > | _noteCheckerErrorList |
| CAContext * | _context |
| int | _timeStart |
| int | _timeLength |
| bool | _visible |
| QColor | _color |
| QString | _name |
Fermata 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.
Extended mark for fermata. Fermata is assigned to playable elements or to the barlines.
| CAFermata::CAFermata | ( | CAPlayable * | m, |
| CAFermataType | t = NormalFermata |
||
| ) |
References setFermataType().
Referenced by clone().


| CAFermata::CAFermata | ( | CABarline * | b, |
| CAFermataType | t = NormalFermata |
||
| ) |
|
virtual |
|
virtual |
Reimplemented from CAMark.
References CAMusElement::Barline, CAFermata(), fermataType(), CAMusElement::isPlayable(), and CAMusElement::musElementType().

|
virtual |
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 CAMark::Fermata, fermataType(), CAMusElement::Mark, CAMark::markType(), and CAMusElement::musElementType().

|
inline |
References _fermataType.
Referenced by clone(), compare(), CACanorusMLExport::exportMarks(), and CAMainWin::updateFermataToolBar().

|
static |
References LongFermata, NormalFermata, ShortFermata, and VeryLongFermata.
Referenced by CACanorusMLImport::importMark().

|
static |
References LongFermata, NormalFermata, ShortFermata, and VeryLongFermata.
Referenced by CACanorusMLExport::exportMarks().

|
inline |
References _fermataType.
Referenced by CAFermata(), and CAMainWin::on_uiFermataType_toggled().

|
private |
Referenced by fermataType(), and setFermataType().