|
Canorus
0.0
|
Finger marks. More...
#include <fingering.h>

Public Types | |
| enum | CAFingerNumber { First = 1, Second = 2, Third = 3, Fourth = 4, Fifth = 5, Thumb, LHeel, RHeel, LToe, RToe, Undefined } |
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 | fingerNumberToString (CAFingerNumber n) |
| static CAFingerNumber | fingerNumberFromString (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 | |
| QList< CAFingerNumber > | _fingerList |
| bool | _original |
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 |
Finger 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.
This class represents fingering beside or above/below the note. Fingering can include a single finger number or multiple fingers (change fingering on one note).
The finger numbers can be written with italic style (original author's fingering when making an arrangment) or regular. This property is stored in original().
| CAFingering::CAFingering | ( | CAFingerNumber | finger, |
| CANote * | m, | ||
| bool | italic = false |
||
| ) |
References addFinger(), finger(), CAMark::setCommon(), and setOriginal().
Referenced by clone().


| CAFingering::CAFingering | ( | QList< CAFingerNumber > | fingers, |
| CANote * | m, | ||
| bool | italic = false |
||
| ) |
References _fingerList, CAMark::setCommon(), and setOriginal().

|
virtual |
|
inline |
|
virtual |
Reimplemented from CAMark.
References CAFingering(), fingerList(), isOriginal(), 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.
References CAMark::Fingering, fingerList(), isOriginal(), CAMusElement::Mark, CAMark::markType(), and CAMusElement::musElementType().

|
inline |
References _fingerList, and Undefined.
Referenced by CAFingering(), and CAMainWin::updateFingeringToolBar().

|
inline |
References _fingerList.
Referenced by clone(), compare(), CADrawableMark::draw(), CACanorusMLExport::exportMarks(), and CALayoutEngine::placeMarks().

|
static |
|
static |
|
inline |
References _original.
Referenced by clone(), compare(), CADrawableMark::draw(), CACanorusMLExport::exportMarks(), and CAMainWin::updateFingeringToolBar().

|
inline |
References _fingerList.
|
inline |
References _fingerList.
Referenced by CAMainWin::on_uiFinger_toggled().

|
inline |
References _original.
Referenced by CAFingering(), and CAMainWin::on_uiFingeringOriginal_toggled().

|
private |
Referenced by addFinger(), CAFingering(), finger(), fingerList(), removeFinger(), and setFinger().
|
private |
Referenced by isOriginal(), and setOriginal().