|
Canorus 0.0
|
Note articulation marks. More...
#include <articulation.h>

Public Types | |
| enum | CAArticulationType { Undefined = -1 , Accent , Marcato , Staccatissimo , Espressivo , Staccato , Tenuto , Portato , Breath , UpBow , DownBow , Flageolet , Open , Stopped , Turn , ReverseTurn , Trill , Prall , Mordent , PrallPrall , PrallMordent , UpPrall , DownPrall , UpMordent , DownMordent , PrallDown , PrallUp , LinePrall } |
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 | articulationTypeToString (CAArticulationType t) |
| static CAArticulationType | articulationTypeFromString (const QString s) |
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 | |
| CAArticulationType | _articulationType |
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 |
Note articulation marks.
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-2019, 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.
Every note can have one or more articulation marks. Other music elements can't have articulation marks.
If the note is part of the chord, all notes in the chord should have the same articulation.
| CAArticulation::CAArticulation | ( | CAArticulationType | t, |
| CANote * | n | ||
| ) |
References setArticulationType().
Referenced by clone().


|
virtual |
|
inline |
References _articulationType.
Referenced by clone(), and CACanorusMLExport::exportMarks().

|
static |
References Accent, Breath, DownBow, DownMordent, DownPrall, Espressivo, Flageolet, LinePrall, Marcato, Mordent, Open, Portato, Prall, PrallDown, PrallMordent, PrallPrall, PrallUp, ReverseTurn, Staccatissimo, Staccato, Stopped, Tenuto, Trill, Turn, Undefined, UpBow, UpMordent, and UpPrall.
Referenced by CACanorusMLImport::importMark().

|
static |
References Accent, Breath, DownBow, DownMordent, DownPrall, Espressivo, Flageolet, LinePrall, Marcato, Mordent, Open, Portato, Prall, PrallDown, PrallMordent, PrallPrall, PrallUp, ReverseTurn, Staccatissimo, Staccato, Stopped, Tenuto, Trill, Turn, UpBow, UpMordent, and UpPrall.
Referenced by CACanorusMLExport::exportMarks().

|
inline |
|
virtual |
Reimplemented from CAMark.
References articulationType(), CAArticulation(), CAMusElement::musElementType(), and CAMusElement::Note.

|
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.
|
inline |
References _articulationType.
Referenced by CAArticulation().

|
inline |
|
private |
Referenced by articulationType(), and setArticulationType().