|
Canorus 0.0
|
Repeat marks like segno, volta, coda etc. More...
#include <repeatmark.h>

Public Types | |
| enum | CARepeatMarkType { Undefined = 0 , Volta = 1 , Segno = 2 , Coda = 3 , VarCoda = 4 , DalSegno = 5 , DalCoda = 6 , DalVarCoda = 7 } |
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 | repeatMarkTypeToString (CARepeatMarkType t) |
| static CARepeatMarkType | repeatMarkTypeFromString (const QString r) |
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 | |
| CARepeatMarkType | _repeatMarkType |
| int | _voltaNumber |
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 |
Repeat marks like segno, volta, coda etc.
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 non-ordinary repeat signs like coda, segno and volta.
| CARepeatMark::CARepeatMark | ( | CABarline * | b, |
| CARepeatMarkType | t, | ||
| int | voltaNumber = 0 |
||
| ) |
References setRepeatMarkType(), setVoltaNumber(), and voltaNumber().
Referenced by clone().


|
virtual |
|
virtual |
Reimplemented from CAMark.
References CAMusElement::Barline, CARepeatMark(), CAMusElement::musElementType(), repeatMarkType(), and voltaNumber().

|
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 CAMusElement::Mark, CAMark::markType(), CAMusElement::musElementType(), CAMark::RepeatMark, repeatMarkType(), and voltaNumber().

|
inline |
References _repeatMarkType.
Referenced by clone(), compare(), CADrawableMark::draw(), CACanorusMLExport::exportMarks(), and CAMainWin::updateRepeatMarkToolBar().

|
static |
References Coda, DalCoda, DalSegno, DalVarCoda, Segno, Undefined, VarCoda, and Volta.
Referenced by CACanorusMLImport::importMark().

|
static |
References Coda, DalCoda, DalSegno, DalVarCoda, Segno, Undefined, VarCoda, and Volta.
Referenced by CACanorusMLExport::exportMarks(), and CALilyPondExport::scanForRepeats().

|
inline |
References _repeatMarkType.
Referenced by CARepeatMark(), and CAMainWin::on_uiRepeatMarkType_toggled().

|
inline |
References _voltaNumber.
Referenced by CARepeatMark(), and CAMainWin::on_uiRepeatMarkType_toggled().

|
inline |
References _voltaNumber.
Referenced by CARepeatMark(), clone(), compare(), CADrawableMark::draw(), CACanorusMLExport::exportMarks(), and CAMainWin::updateRepeatMarkToolBar().

|
private |
Referenced by repeatMarkType(), and setRepeatMarkType().
|
private |
Referenced by setVoltaNumber(), and voltaNumber().