|
Canorus
0.0
|
Absolute dynamic marks. More...
#include <dynamic.h>

Public Types | |
| enum | CADynamicText { ppppp, pppp, ppp, pp, p, fffff, ffff, fff, ff, f, fp, mf, mp, rfz, sff, sf, sfz, spp, sp, Custom } |
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 | dynamicTextToString (CADynamicText t) |
| static CADynamicText | dynamicTextFromString (const QString t) |
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 | |
| QString | _text |
| int | _volume |
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 |
Absolute dynamic 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.
Absolute dynamic marks eg. piano, pp, sfz, forte.
| CADynamic::CADynamic | ( | QString | text, |
| int | volume, | ||
| CANote * | note | ||
| ) |
References setText(), setVolume(), text(), and volume().
Referenced by clone().


|
virtual |
|
virtual |
Reimplemented from CAMark.
References CADynamic(), CAMusElement::musElementType(), CAMusElement::Note, text(), and volume().

|
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::Dynamic, CAMusElement::Mark, CAMark::markType(), CAMusElement::musElementType(), and text().

|
static |
References Custom, f, ff, fff, ffff, fffff, fp, mf, mp, p, pp, ppp, pppp, ppppp, rfz, sf, sff, sfz, sp, and spp.
Referenced by CALilyPondExport::exportMarksAfterElement(), CAMainWin::on_uiDynamicCustomText_returnPressed(), and CAMainWin::updateDynamicToolBar().

|
static |
|
inline |
References _text.
Referenced by CADynamic(), CAMainWin::on_uiDynamicCustomText_returnPressed(), and CAMainWin::on_uiDynamicText_toggled().

|
inline |
References _volume.
Referenced by CADynamic(), and CAMainWin::on_uiDynamicVolume_valueChanged().

|
inline |
References _text.
Referenced by CADynamic(), clone(), compare(), CACanorusMLExport::exportMarks(), CALilyPondExport::exportMarksAfterElement(), and CAMainWin::updateDynamicToolBar().

|
inline |
References _volume.
Referenced by CADynamic(), clone(), CACanorusMLExport::exportMarks(), and CAMainWin::updateDynamicToolBar().

|
private |
Referenced by setVolume(), and volume().