|
Canorus 0.0
|
Drawable instance of marks This class draws the actual marks on the canvas. More...
#include <drawablemark.h>

Static Public Member Functions | |
| static QString | fingerListToString (const QList< CAFingering::CAFingerNumber > list) |
Private Attributes | |
| CANote * | _tempoNote |
| CADrawableNote * | _tempoDNote |
| QPixmap * | _pixmap |
| int | _rehersalMarkNumber |
Static Private Attributes | |
| static const double | DEFAULT_TEXT_SIZE = 16 |
| static const double | DEFAULT_PIXMAP_SIZE = 25 |
Drawable instance of marks This class draws the actual marks on the canvas.
| CADrawableMark::CADrawableMark | ( | CAMark * | mark, |
| CADrawableContext * | dContext, | ||
| double | x, | ||
| double | y | ||
| ) |
Default constructor.
| mark | Pointer to the model mark. |
| x | Left border of the associated element. |
| y | Bottom border of the mark. |
References _pixmap, _tempoDNote, _tempoNote, CAMark::BookMark, CAMark::Crescendo, CARepeatMark::DalCoda, CARepeatMark::DalSegno, CARepeatMark::DalVarCoda, DEFAULT_PIXMAP_SIZE, DEFAULT_TEXT_SIZE, CADrawableMusElement::DrawableMark, CAMark::Dynamic, CAMark::Fermata, CAMark::Fingering, fingerListToString(), CAMark::InstrumentChange, CAMidiDevice::instrumentName(), mark(), CAMark::markType(), CAMark::Pedal, CAMark::RehersalMark, CAMark::RepeatMark, CAMark::Ritardando, CADrawableMusElement::setDrawableMusElementType(), CADrawable::setHeight(), CADrawable::setHScalable(), CADrawable::setWidth(), CADrawable::setXPos(), CAMark::Tempo, CAMark::Text, CAMusElement::timeLength(), CARepeatMark::Volta, and CADrawable::xPos().
Referenced by clone().


|
virtual |
References _pixmap, _tempoDNote, and _tempoNote.
|
virtual |
Implements CADrawableMusElement.
References CADrawableMark(), CADrawableMusElement::drawableContext(), mark(), CADrawable::xPos(), and CADrawable::yPos().

|
virtual |
Implements CADrawable.
References _pixmap, _tempoDNote, CAArticulation::Accent, CAMark::Articulation, CAMark::BookMark, CAArticulation::Breath, CARepeatMark::Coda, CADrawSettings::color, CACrescendo::Crescendo, CAMark::Crescendo, CARepeatMark::DalCoda, CARepeatMark::DalSegno, CARepeatMark::DalVarCoda, DEFAULT_PIXMAP_SIZE, DEFAULT_TEXT_SIZE, CAArticulation::DownBow, CAArticulation::DownMordent, CAArticulation::DownPrall, CADrawableNote::draw(), CAMark::Dynamic, CAArticulation::Espressivo, CAMark::Fermata, CACanorus::fetaCodepoint(), CAMark::Fingering, CAFingering::fingerList(), fingerListToString(), CAArticulation::Flageolet, CADrawable::height(), CAMark::InstrumentChange, CAMidiDevice::instrumentName(), CAFingering::isOriginal(), CAArticulation::LinePrall, CAFermata::LongFermata, CAArticulation::Marcato, mark(), CAArticulation::Mordent, CAFermata::NormalFermata, CAMusElement::Note, CAArticulation::Open, CAMark::Pedal, CAArticulation::Portato, CAArticulation::Prall, CAArticulation::PrallDown, CAArticulation::PrallMordent, CAArticulation::PrallPrall, CAArticulation::PrallUp, CAMark::RehersalMark, rehersalMarkNumber(), CAMark::RepeatMark, CARepeatMark::repeatMarkType(), CAArticulation::ReverseTurn, CAMark::Ritardando, CARitardando::Ritardando, CARepeatMark::Segno, CAFermata::ShortFermata, CASlur::SlurDown, CAArticulation::Staccatissimo, CAArticulation::Staccato, CAArticulation::Stopped, CAMark::Tempo, CAArticulation::Tenuto, CAMark::Text, CAArticulation::Trill, CAArticulation::Turn, CAArticulation::Undefined, CAMark::Undefined, CARepeatMark::Undefined, CAArticulation::UpBow, CAArticulation::UpMordent, CAArticulation::UpPrall, CARepeatMark::VarCoda, CAFermata::VeryLongFermata, CARepeatMark::Volta, CARepeatMark::voltaNumber(), CADrawable::width(), CADrawSettings::x, CADrawSettings::y, and CADrawSettings::z.

|
static |
Converts the list of fingers to Emmentaler string.
References CACanorus::fetaCodepoint(), CAFingering::LHeel, CAFingering::LToe, CAFingering::RHeel, CAFingering::RToe, and CAFingering::Thumb.
Referenced by CADrawableMark(), and draw().


|
inline |
References CADrawableMusElement::musElement().
Referenced by CADrawableMark(), clone(), and draw().


|
inline |
|
inline |
References _rehersalMarkNumber.
Referenced by CALayoutEngine::placeMarks().

|
private |
Referenced by CADrawableMark(), draw(), and ~CADrawableMark().
|
private |
Referenced by rehersalMarkNumber(), and setRehersalMarkNumber().
|
private |
Referenced by CADrawableMark(), draw(), and ~CADrawableMark().
|
private |
Referenced by CADrawableMark(), and ~CADrawableMark().
|
staticprivate |
Referenced by CADrawableMark(), and draw().
|
staticprivate |
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 COPYING for details.
Referenced by CADrawableMark(), and draw().