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

Public Types | |
| enum | CAFermataType { NormalFermata, ShortFermata, LongFermata, VeryLongFermata } |
Public Member Functions | |
| CAFermata (CAPlayable *m, CAFermataType t=NormalFermata) | |
| CAFermata (CABarline *b, CAFermataType t=NormalFermata) | |
| virtual | ~CAFermata () |
| CAFermata * | clone (CAMusElement *elt=0) |
| int | compare (CAMusElement *) |
| CAFermataType | fermataType () |
| void | setFermataType (CAFermataType t) |
Static Public Member Functions | |
| static const QString | fermataTypeToString (CAFermataType t) |
| static CAFermataType | fermataTypeFromString (const QString r) |
Private Attributes | |
| CAFermataType | _fermataType |
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 |
||
| ) |
| CAFermata::~CAFermata | ( | ) | [virtual] |
| CAFermata * CAFermata::clone | ( | CAMusElement * | elt = 0 | ) | [virtual] |
Reimplemented from CAMark.
References CAMusElement::Barline, CAFermata(), fermataType(), CAMusElement::isPlayable(), and CAMusElement::musElementType().

| int CAFermata::compare | ( | CAMusElement * | elt | ) | [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, and CAMusElement::musElementType().

| CAFermataType CAFermata::fermataType | ( | ) | [inline] |
References _fermataType.
Referenced by clone(), compare(), CACanorusMLExport::exportMarks(), and CAMainWin::updateFermataToolBar().

| CAFermata::CAFermataType CAFermata::fermataTypeFromString | ( | const QString | r | ) | [static] |
References LongFermata, NormalFermata, ShortFermata, and VeryLongFermata.
Referenced by CACanorusMLImport::importMark().

| const QString CAFermata::fermataTypeToString | ( | CAFermataType | t | ) | [static] |
References LongFermata, NormalFermata, ShortFermata, and VeryLongFermata.
Referenced by CACanorusMLExport::exportMarks().

| void CAFermata::setFermataType | ( | CAFermataType | t | ) | [inline] |
References _fermataType.
Referenced by CAFermata(), and CAMainWin::on_uiFermataType_toggled().

CAFermataType CAFermata::_fermataType [private] |
Referenced by fermataType(), and setFermataType().
1.8.0