Canorus  0.0
Public Member Functions | Private Attributes | List of all members
CAMusElementFactory Class Reference

creation, removal, configuration of music elements More...

#include <muselementfactory.h>

Public Member Functions

 CAMusElementFactory ()
 
 ~CAMusElementFactory ()
 
CAMusElementcreateMusElem ()
 
void removeMusElem (bool bReallyRemove=false)
 
void configureMusElem (CAMusElement &roMusElement)
 
CAMusElementmusElement ()
 
void setMusElement (CAMusElement *elt)
 
void cloneMusElem ()
 
void emptyMusElem ()
 
bool configureClef (CAStaff *staff, CAMusElement *right)
 
bool configureKeySignature (CAStaff *staff, CAMusElement *right)
 
bool configureTimeSignature (CAStaff *staff, CAMusElement *right)
 
bool configureBarline (CAStaff *staff, CAMusElement *right)
 
bool configureRest (CAVoice *voice, CAMusElement *right)
 
bool configureNote (int pitch, CAVoice *voice, CAMusElement *right, bool addToChord)
 
bool configureTuplet (QList< CAPlayable * > listOfNotes)
 
bool configureSlur (CAStaff *staff, CANote *noteStart, CANote *noteEnd)
 
bool configureMark (CAMusElement *elt)
 
bool configureFiguredBassNumber (CAFiguredBassMark *fbm)
 
bool configureFunctionMark (CAFunctionMarkContext *fmc, int timeStart, int timeLength)
 
CAMusElement::CAMusElementType musElementType ()
 
void setMusElementType (CAMusElement::CAMusElementType eMEType)
 
CAPlayableLengthplayableLength ()
 
void setPlayableLength (CAPlayableLength &playableLength)
 
void addPlayableDotted (int add, CAPlayableLength curLength)
 
CANote::CAStemDirection noteStemDirection ()
 
void setNoteStemDirection (CANote::CAStemDirection eDir)
 
int noteAccs ()
 
void setNoteAccs (int iNoteAccs)
 
void addNoteAccs (int iAdd)
 
void subNoteAccs (int iSub)
 
int diatonicKeyNumberOfAccs ()
 
void setDiatonicKeyNumberOfAccs (int accs)
 
CADiatonicKey::CAGender diatonicKeyGender ()
 
void setDiatonicKeyGender (CADiatonicKey::CAGender g)
 
int noteExtraAccs ()
 
void setNoteExtraAccs (int iNoteExtraAccs)
 
void addNoteExtraAccs (int iAdd)
 
void subNoteExtraAccs (int iSub)
 
CARest::CARestType restType ()
 
void setRestType (CARest::CARestType eType)
 
int timeSigBeats ()
 
void setTimeSigBeats (int iTimeSigBeats)
 
int timeSigBeat ()
 
void setTimeSigBeat (int iTimeSigBeat)
 
CAClef::CAPredefinedClefType clef ()
 
void setClef (CAClef::CAPredefinedClefType eClefType)
 
int clefOffset ()
 
void setClefOffset (int offset)
 
CABarline::CABarlineType barlineType ()
 
void setBarlineType (CABarline::CABarlineType type)
 
int tupletNumber ()
 
void setTupletNumber (int number)
 
int tupletActualNumber ()
 
void setTupletActualNumber (int actualNumber)
 
CASlur::CASlurType slurType ()
 
void setSlurType (CASlur::CASlurType type)
 
CASlur::CASlurStyle slurStyle ()
 
void setSlurStyle (CASlur::CASlurStyle style)
 
CAMark::CAMarkType markType ()
 
void setMarkType (CAMark::CAMarkType t)
 
CAArticulation::CAArticulationType articulationType ()
 
void setArticulationType (CAArticulation::CAArticulationType t)
 
int fbmNumber ()
 
void setFBMNumber (int n)
 
int fbmAccs ()
 
void setFBMAccs (int n)
 
bool fbmAccsVisible ()
 
void setFBMAccsVisible (int n)
 
CAFunctionMark::CAFunctionType fmFunction ()
 
void setFMFunction (CAFunctionMark::CAFunctionType f)
 
CAFunctionMark::CAFunctionType fmChordArea ()
 
void setFMChordArea (CAFunctionMark::CAFunctionType c)
 
CAFunctionMark::CAFunctionType fmTonicDegree ()
 
void setFMTonicDegree (CAFunctionMark::CAFunctionType td)
 
bool isFMFunctionMinor ()
 
void setFMFunctionMinor (bool m)
 
bool isFMTonicDegreeMinor ()
 
void setFMTonicDegreeMinor (bool m)
 
bool isFMChordAreaMinor ()
 
void setFMChordAreaMinor (bool m)
 
bool isFMEllipse ()
 
void setFMEllipse (bool e)
 
const QString dynamicText ()
 
void setDynamicText (const QString t)
 
const int dynamicVolume ()
 
void setDynamicVolume (const int vol)
 
const int instrument ()
 
void setInstrument (const int instrument)
 
const CAFermata::CAFermataType fermataType ()
 
void setFermataType (const CAFermata::CAFermataType type)
 
const int tempoBpm ()
 
void setTempoBpm (const int tempoBpm)
 
CAPlayableLengthtempoBeat ()
 
void setTempoBeat (CAPlayableLength &length)
 
const CARitardando::CARitardandoType ritardandoType ()
 
void setRitardandoType (CARitardando::CARitardandoType t)
 
const int crescendoFinalVolume ()
 
void setCrescendoFinalVolume (const int v)
 
const CACrescendo::CACrescendoType crescendoType ()
 
void setCrescendoType (const CACrescendo::CACrescendoType t)
 
const CARepeatMark::CARepeatMarkType repeatMarkType ()
 
void setRepeatMarkType (const CARepeatMark::CARepeatMarkType t)
 
const int repeatMarkVoltaNumber ()
 
void setRepeatMarkVoltaNumber (const int n)
 
const CAFingering::CAFingerNumber fingeringFinger ()
 
void setFingeringFinger (const CAFingering::CAFingerNumber f)
 
const bool isFingeringOriginal ()
 
void setFingeringOriginal (const int o)
 

Private Attributes

CAMusElementmpoMusElement
 
CAMusElementmpoEmpty
 
CAMusElement::CAMusElementType _musElementType
 
CAPlayableLength _playableLength
 
CANote::CAStemDirection _eNoteStemDirection
 
CASlur::CASlurType _eSlurType
 
int _tupletNumber
 
int _tupletActualNumber
 
int _iPlayableDotted
 
int _iNoteExtraAccs
 
int _iNoteAccs
 
CARest::CARestType _eRestType
 
int _diatonicKeyNumberOfAccs
 
CADiatonicKey::CAGender _diatonicKeyGender
 
int _iTimeSigBeats
 
int _iTimeSigBeat
 
CAClef::CAPredefinedClefType _eClef
 
int _iClefOffset
 
CABarline::CABarlineType _eBarlineType
 
CAMark::CAMarkType _markType
 
CAArticulation::CAArticulationType _articulationType
 
CASlur::CASlurStyle _slurStyle
 
int _fbmNumber
 
int _fbmAccs
 
bool _fbmAccsVisible
 
CAFunctionMark::CAFunctionType _fmFunction
 
CAFunctionMark::CAFunctionType _fmChordArea
 
CAFunctionMark::CAFunctionType _fmTonicDegree
 
bool _fmFunctionMinor
 
bool _fmChordAreaMinor
 
bool _fmTonicDegreeMinor
 
bool _fmEllipse
 
QString _dynamicText
 
int _dynamicVolume
 
int _instrument
 
CAFermata::CAFermataType _fermataType
 
CAPlayableLength _tempoBeat
 
int _tempoBpm
 
CARitardando::CARitardandoType _ritardandoType
 
int _crescendoFinalVolume
 
CACrescendo::CACrescendoType _crescendoType
 
CARepeatMark::CARepeatMarkType _repeatMarkType
 
int _repeatMarkVoltaNumber
 
CAFingering::CAFingerNumber _fingeringFinger
 
int _fingeringOriginal
 

Detailed Description

creation, removal, configuration of music elements

Copyright (c) 2006, Reinhard Katzmann, Canorus development team 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.

This class is used when creating a new music element, settings its values, but not having it placed inside the score (eg. music element still in the GUI, but user didn't clicked on the score to place it yet).

The factory contains the methods to set properties of all the available music elements ranging from playable elements to slurs and lyrics. The actual music element is created and added to the scene when one of the configure functions are called. These functions return True, if the element was successfully created or False otherwise.

This class should be typically used in the following order: 1) User selects a music element to place. CAMusElementFactory::setMusElementType() is called. 2) GUI for music element properties is updated according to the current factory values. 3) User sets music element properties he wants (eg. number of accidentals in key signature). CAMusElementFactory::setSomeMusicElementProperty( music element property value ) is called (eg. CAMusElementFactory::setKeySigNumberOfAccs(3) for A-Major/fis-minor). 4) User places the music element. CAMusElementFactory::configureSomeMusicElement() (eg. CAMusElementFactory::configureKeySignature(currentStaff, prevElement)). 5) If the configure function returns True, the GUI is refreshed and the note is drawn.

Changing the properties of already placed elements (eg. in edit mode) is done without using the factory.

See also
CAMainWin, CAMusElement

Constructor & Destructor Documentation

◆ CAMusElementFactory()

CAMusElementFactory::CAMusElementFactory ( )

◆ ~CAMusElementFactory()

CAMusElementFactory::~CAMusElementFactory ( )

Destroys the music elements factory.

References mpoEmpty, and removeMusElem().

Here is the call graph for this function:

Member Function Documentation

◆ addNoteAccs()

void CAMusElementFactory::addNoteAccs ( int  iAdd)
inline

References _iNoteAccs.

Referenced by CAMainWin::scoreViewKeyPress().

Here is the caller graph for this function:

◆ addNoteExtraAccs()

void CAMusElementFactory::addNoteExtraAccs ( int  iAdd)
inline

References _iNoteExtraAccs.

Referenced by CAMainWin::scoreViewKeyPress().

Here is the caller graph for this function:

◆ addPlayableDotted()

void CAMusElementFactory::addPlayableDotted ( int  add,
CAPlayableLength  curLength 
)

◆ articulationType()

CAArticulation::CAArticulationType CAMusElementFactory::articulationType ( )
inline

References _articulationType.

Referenced by configureMark().

Here is the caller graph for this function:

◆ barlineType()

CABarline::CABarlineType CAMusElementFactory::barlineType ( )
inline

References _eBarlineType.

◆ clef()

CAClef::CAPredefinedClefType CAMusElementFactory::clef ( )
inline

References _eClef.

◆ clefOffset()

int CAMusElementFactory::clefOffset ( )
inline

References _iClefOffset.

◆ cloneMusElem()

void CAMusElementFactory::cloneMusElem ( )
inline

References CAMusElement::clone(), and mpoMusElement.

Here is the call graph for this function:

◆ configureBarline()

bool CAMusElementFactory::configureBarline ( CAStaff staff,
CAMusElement right 
)

Configures a new barline with context and right before the right element.

References _eBarlineType, mpoMusElement, removeMusElem(), and CAStaff::voiceList().

Referenced by CAMainWin::insertMusElementAt().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ configureClef()

bool CAMusElementFactory::configureClef ( CAStaff staff,
CAMusElement right 
)

Configures a new clef music element in context and right before the right element.

References _eClef, _iClefOffset, mpoMusElement, removeMusElem(), and CAStaff::voiceList().

Referenced by CAMainWin::insertMusElementAt().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ configureFiguredBassNumber()

bool CAMusElementFactory::configureFiguredBassNumber ( CAFiguredBassMark fbm)

Configures a new figured bass mark with timeStart and timeLength in context fbc.

References _fbmAccs, _fbmAccsVisible, _fbmNumber, CAFiguredBassMark::addNumber(), and mpoMusElement.

Referenced by CAMainWin::insertMusElementAt().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ configureFunctionMark()

bool CAMusElementFactory::configureFunctionMark ( CAFunctionMarkContext fmc,
int  timeStart,
int  timeLength 
)

Configures a new function mark with timeStart and timeLength in context fmc.

Todo:
Function mark altered/added degrees

References _diatonicKeyGender, _diatonicKeyNumberOfAccs, CAFunctionMarkContext::addFunctionMark(), CADiatonicKey::diatonicKeyToString(), fmChordArea(), fmFunction(), fmTonicDegree(), isFMChordAreaMinor(), isFMEllipse(), isFMFunctionMinor(), isFMTonicDegreeMinor(), and mpoMusElement.

Referenced by CAMainWin::insertMusElementAt().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ configureKeySignature()

bool CAMusElementFactory::configureKeySignature ( CAStaff staff,
CAMusElement right 
)

Configures a new key signature music element with iKeySignature accidentals, context and right before the right element.

References _diatonicKeyGender, _diatonicKeyNumberOfAccs, mpoMusElement, removeMusElem(), and CAStaff::voiceList().

Referenced by CAMainWin::insertMusElementAt().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ configureMark()

bool CAMusElementFactory::configureMark ( CAMusElement elt)

◆ configureMusElem()

void CAMusElementFactory::configureMusElem ( CAMusElement roMusElement)

◆ configureNote()

bool CAMusElementFactory::configureNote ( int  pitch,
CAVoice voice,
CAMusElement right,
bool  addToChord 
)

Configures new note music element in the voice before element right. If addToChord is true and right is note, the element is added to the note instead of inserted.

References _eNoteStemDirection, _iNoteAccs, _playableLength, CASheet::contextList(), CAContext::FiguredBassContext, CAContext::FunctionMarkContext, CAVoice::insert(), CAVoice::lastNote(), CAVoice::lyricsContextList(), mpoMusElement, playableLength(), removeMusElem(), CAContext::sheet(), CAVoice::staff(), CAMusElement::timeLength(), CAMusElement::timeStart(), and CAPlayable::tuplet().

Referenced by CAMainWin::insertMusElementAt().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ configureRest()

bool CAMusElementFactory::configureRest ( CAVoice voice,
CAMusElement right 
)

Configures a new rest music element in voice voice before element right.

References _playableLength, CAVoice::insert(), CAVoice::lyricsContextList(), mpoMusElement, removeMusElem(), CALyricsContext::repositSyllables(), and restType().

Referenced by CAMainWin::insertMusElementAt(), and CAKeybdInput::midiInEventToScore().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ configureSlur()

bool CAMusElementFactory::configureSlur ( CAStaff staff,
CANote noteStart,
CANote noteEnd 
)

Configures the new tie, slur or phrasing slur for the notes noteStart and noteEnd.

References mpoMusElement, CASlur::PhrasingSlurType, removeMusElem(), CANote::setPhrasingSlurEnd(), CANote::setPhrasingSlurStart(), CANote::setSlurEnd(), CANote::setSlurStart(), CASlur::setSlurStyle(), CANote::setTieEnd(), CANote::setTieStart(), CASlur::SlurPreferred, slurStyle(), slurType(), CASlur::SlurType, and CASlur::TieType.

Referenced by CAMainWin::insertMusElementAt(), and CAKeybdInput::midiInEventToScore().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ configureTimeSignature()

bool CAMusElementFactory::configureTimeSignature ( CAStaff staff,
CAMusElement right 
)

Configures a new time signature music element with context and right before the right element.

References _iTimeSigBeat, _iTimeSigBeats, mpoMusElement, removeMusElem(), and CAStaff::voiceList().

Referenced by CAMainWin::insertMusElementAt().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ configureTuplet()

bool CAMusElementFactory::configureTuplet ( QList< CAPlayable * >  noteList)

Configures a new tuplet containing the given noteList.

◆ createMusElem()

CAMusElement* CAMusElementFactory::createMusElem ( )

◆ crescendoFinalVolume()

const int CAMusElementFactory::crescendoFinalVolume ( )
inline

References _crescendoFinalVolume.

Referenced by configureMark().

Here is the caller graph for this function:

◆ crescendoType()

const CACrescendo::CACrescendoType CAMusElementFactory::crescendoType ( )
inline

References _crescendoType.

Referenced by configureMark().

Here is the caller graph for this function:

◆ diatonicKeyGender()

CADiatonicKey::CAGender CAMusElementFactory::diatonicKeyGender ( )
inline

References _diatonicKeyGender.

Referenced by CAKeySignatureUI::updateKeySigToolBar().

Here is the caller graph for this function:

◆ diatonicKeyNumberOfAccs()

int CAMusElementFactory::diatonicKeyNumberOfAccs ( )
inline

References _diatonicKeyNumberOfAccs.

Referenced by CAKeySignatureUI::updateKeySigToolBar().

Here is the caller graph for this function:

◆ dynamicText()

const QString CAMusElementFactory::dynamicText ( )
inline

References _dynamicText.

Referenced by configureMark().

Here is the caller graph for this function:

◆ dynamicVolume()

const int CAMusElementFactory::dynamicVolume ( )
inline

References _dynamicVolume.

Referenced by configureMark().

Here is the caller graph for this function:

◆ emptyMusElem()

void CAMusElementFactory::emptyMusElem ( )
inline

References mpoEmpty, and mpoMusElement.

Referenced by CAMainWin::insertMusElementAt().

Here is the caller graph for this function:

◆ fbmAccs()

int CAMusElementFactory::fbmAccs ( )
inline

References _fbmAccs.

◆ fbmAccsVisible()

bool CAMusElementFactory::fbmAccsVisible ( )
inline

References _fbmAccsVisible.

◆ fbmNumber()

int CAMusElementFactory::fbmNumber ( )
inline

References _fbmNumber.

◆ fermataType()

const CAFermata::CAFermataType CAMusElementFactory::fermataType ( )
inline

References _fermataType.

Referenced by configureMark().

Here is the caller graph for this function:

◆ fingeringFinger()

const CAFingering::CAFingerNumber CAMusElementFactory::fingeringFinger ( )
inline

References _fingeringFinger.

Referenced by configureMark().

Here is the caller graph for this function:

◆ fmChordArea()

CAFunctionMark::CAFunctionType CAMusElementFactory::fmChordArea ( )
inline

References _fmChordArea.

Referenced by configureFunctionMark().

Here is the caller graph for this function:

◆ fmFunction()

CAFunctionMark::CAFunctionType CAMusElementFactory::fmFunction ( )
inline

References _fmFunction.

Referenced by configureFunctionMark().

Here is the caller graph for this function:

◆ fmTonicDegree()

CAFunctionMark::CAFunctionType CAMusElementFactory::fmTonicDegree ( )
inline

References _fmTonicDegree.

Referenced by configureFunctionMark().

Here is the caller graph for this function:

◆ instrument()

const int CAMusElementFactory::instrument ( )
inline

References _instrument.

Referenced by configureMark(), and setInstrument().

Here is the caller graph for this function:

◆ isFingeringOriginal()

const bool CAMusElementFactory::isFingeringOriginal ( )
inline

References _fingeringOriginal.

Referenced by configureMark().

Here is the caller graph for this function:

◆ isFMChordAreaMinor()

bool CAMusElementFactory::isFMChordAreaMinor ( )
inline

References _fmChordAreaMinor.

Referenced by configureFunctionMark().

Here is the caller graph for this function:

◆ isFMEllipse()

bool CAMusElementFactory::isFMEllipse ( )
inline

References _fmEllipse.

Referenced by configureFunctionMark().

Here is the caller graph for this function:

◆ isFMFunctionMinor()

bool CAMusElementFactory::isFMFunctionMinor ( )
inline

References _fmFunctionMinor.

Referenced by configureFunctionMark().

Here is the caller graph for this function:

◆ isFMTonicDegreeMinor()

bool CAMusElementFactory::isFMTonicDegreeMinor ( )
inline

References _fmTonicDegreeMinor.

Referenced by configureFunctionMark().

Here is the caller graph for this function:

◆ markType()

CAMark::CAMarkType CAMusElementFactory::markType ( )
inline

References _markType.

Referenced by configureMark().

Here is the caller graph for this function:

◆ musElement()

CAMusElementFactory::musElement ( )
inline

Reads the current music element and returns its pointer.

References mpoMusElement.

Referenced by CAKeybdInput::midiInEventToScore().

Here is the caller graph for this function:

◆ musElementType()

CAMusElementFactory::musElementType ( )
inline

Returns the current music element type.

References _musElementType.

Referenced by CAMainWin::on_uiSlurType_toggled(), and CAMainWin::scoreViewMouseMove().

Here is the caller graph for this function:

◆ noteAccs()

int CAMusElementFactory::noteAccs ( )
inline

References _iNoteAccs.

◆ noteExtraAccs()

int CAMusElementFactory::noteExtraAccs ( )
inline

References _iNoteExtraAccs.

Referenced by CAMainWin::scoreViewMouseMove().

Here is the caller graph for this function:

◆ noteStemDirection()

CANote::CAStemDirection CAMusElementFactory::noteStemDirection ( )
inline

References _eNoteStemDirection.

◆ playableLength()

CAPlayableLength& CAMusElementFactory::playableLength ( )
inline

References _playableLength.

Referenced by configureNote(), CAKeybdInput::midiInEventToScore(), CAMainWin::scoreViewKeyPress(), and setPlayableLength().

Here is the caller graph for this function:

◆ removeMusElem()

void CAMusElementFactory::removeMusElem ( bool  bReallyRemove = false)

Removes the current music element. Destroys the music element, if bReallyRemove is true (default is false).

References mpoEmpty, and mpoMusElement.

Referenced by configureBarline(), configureClef(), configureKeySignature(), configureNote(), configureRest(), configureSlur(), configureTimeSignature(), and ~CAMusElementFactory().

Here is the caller graph for this function:

◆ repeatMarkType()

const CARepeatMark::CARepeatMarkType CAMusElementFactory::repeatMarkType ( )
inline

References _repeatMarkType.

Referenced by configureMark().

Here is the caller graph for this function:

◆ repeatMarkVoltaNumber()

const int CAMusElementFactory::repeatMarkVoltaNumber ( )
inline

References _repeatMarkVoltaNumber.

Referenced by configureMark().

Here is the caller graph for this function:

◆ restType()

CARest::CARestType CAMusElementFactory::restType ( )
inline

References _eRestType.

Referenced by configureRest().

Here is the caller graph for this function:

◆ ritardandoType()

const CARitardando::CARitardandoType CAMusElementFactory::ritardandoType ( )
inline

References _ritardandoType.

Referenced by configureMark().

Here is the caller graph for this function:

◆ setArticulationType()

void CAMusElementFactory::setArticulationType ( CAArticulation::CAArticulationType  t)
inline

References _articulationType.

Referenced by CAMainWin::on_uiArticulationType_toggled().

Here is the caller graph for this function:

◆ setBarlineType()

void CAMusElementFactory::setBarlineType ( CABarline::CABarlineType  type)
inline

References _eBarlineType.

Referenced by CAMainWin::on_uiBarlineType_toggled().

Here is the caller graph for this function:

◆ setClef()

void CAMusElementFactory::setClef ( CAClef::CAPredefinedClefType  eClefType)
inline

References _eClef.

Referenced by CAMainWin::on_uiClefType_toggled().

Here is the caller graph for this function:

◆ setClefOffset()

void CAMusElementFactory::setClefOffset ( int  offset)
inline

References _iClefOffset.

Referenced by CAMainWin::on_uiClefOffset_valueChanged().

Here is the caller graph for this function:

◆ setCrescendoFinalVolume()

void CAMusElementFactory::setCrescendoFinalVolume ( const int  v)
inline

References _crescendoFinalVolume.

◆ setCrescendoType()

void CAMusElementFactory::setCrescendoType ( const CACrescendo::CACrescendoType  t)
inline

References _crescendoType.

Referenced by CAMainWin::on_uiMarkType_toggled().

Here is the caller graph for this function:

◆ setDiatonicKeyGender()

void CAMusElementFactory::setDiatonicKeyGender ( CADiatonicKey::CAGender  g)
inline

References _diatonicKeyGender.

Referenced by CAKeySignatureCtl::on_uiKeySig_activated().

Here is the caller graph for this function:

◆ setDiatonicKeyNumberOfAccs()

void CAMusElementFactory::setDiatonicKeyNumberOfAccs ( int  accs)
inline

References _diatonicKeyNumberOfAccs.

Referenced by CAKeySignatureCtl::on_uiKeySig_activated().

Here is the caller graph for this function:

◆ setDynamicText()

void CAMusElementFactory::setDynamicText ( const QString  t)
inline

References _dynamicText.

Referenced by CAMainWin::on_uiDynamicCustomText_returnPressed(), and CAMainWin::on_uiDynamicText_toggled().

Here is the caller graph for this function:

◆ setDynamicVolume()

void CAMusElementFactory::setDynamicVolume ( const int  vol)
inline

References _dynamicVolume.

Referenced by CAMainWin::on_uiDynamicVolume_valueChanged().

Here is the caller graph for this function:

◆ setFBMAccs()

void CAMusElementFactory::setFBMAccs ( int  n)
inline

References _fbmAccs.

Referenced by CAMainWin::on_uiFBMAccs_toggled().

Here is the caller graph for this function:

◆ setFBMAccsVisible()

void CAMusElementFactory::setFBMAccsVisible ( int  n)
inline

References _fbmAccsVisible.

Referenced by CAMainWin::on_uiFBMAccs_toggled().

Here is the caller graph for this function:

◆ setFBMNumber()

void CAMusElementFactory::setFBMNumber ( int  n)
inline

References _fbmNumber.

Referenced by CAMainWin::on_uiFBMNumber_toggled().

Here is the caller graph for this function:

◆ setFermataType()

void CAMusElementFactory::setFermataType ( const CAFermata::CAFermataType  type)
inline

References _fermataType.

Referenced by CAMainWin::on_uiFermataType_toggled().

Here is the caller graph for this function:

◆ setFingeringFinger()

void CAMusElementFactory::setFingeringFinger ( const CAFingering::CAFingerNumber  f)
inline

References _fingeringFinger.

Referenced by CAMainWin::on_uiFinger_toggled().

Here is the caller graph for this function:

◆ setFingeringOriginal()

void CAMusElementFactory::setFingeringOriginal ( const int  o)
inline

References _fingeringOriginal.

Referenced by CAMainWin::on_uiFingeringOriginal_toggled().

Here is the caller graph for this function:

◆ setFMChordArea()

void CAMusElementFactory::setFMChordArea ( CAFunctionMark::CAFunctionType  c)
inline

References _fmChordArea.

Referenced by CAMainWin::on_uiFMChordArea_toggled().

Here is the caller graph for this function:

◆ setFMChordAreaMinor()

void CAMusElementFactory::setFMChordAreaMinor ( bool  m)
inline

References _fmChordAreaMinor.

Referenced by CAMainWin::on_uiFMChordArea_toggled().

Here is the caller graph for this function:

◆ setFMEllipse()

void CAMusElementFactory::setFMEllipse ( bool  e)
inline

References _fmEllipse.

Referenced by CAMainWin::on_uiFMEllipse_toggled().

Here is the caller graph for this function:

◆ setFMFunction()

void CAMusElementFactory::setFMFunction ( CAFunctionMark::CAFunctionType  f)
inline

References _fmFunction.

Referenced by CAMainWin::on_uiFMFunction_toggled().

Here is the caller graph for this function:

◆ setFMFunctionMinor()

void CAMusElementFactory::setFMFunctionMinor ( bool  m)
inline

References _fmFunctionMinor.

Referenced by CAMainWin::on_uiFMFunction_toggled().

Here is the caller graph for this function:

◆ setFMTonicDegree()

void CAMusElementFactory::setFMTonicDegree ( CAFunctionMark::CAFunctionType  td)
inline

References _fmTonicDegree.

Referenced by CAMainWin::on_uiFMTonicDegree_toggled().

Here is the caller graph for this function:

◆ setFMTonicDegreeMinor()

void CAMusElementFactory::setFMTonicDegreeMinor ( bool  m)
inline

References _fmTonicDegreeMinor.

Referenced by CAMainWin::on_uiFMTonicDegree_toggled().

Here is the caller graph for this function:

◆ setInstrument()

void CAMusElementFactory::setInstrument ( const int  instrument)
inline

References _instrument, and instrument().

Referenced by CAMainWin::on_uiInstrumentChange_activated().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMarkType()

void CAMusElementFactory::setMarkType ( CAMark::CAMarkType  t)
inline

References _markType.

Referenced by CAMainWin::on_uiArticulationType_toggled(), and CAMainWin::on_uiMarkType_toggled().

Here is the caller graph for this function:

◆ setMusElement()

void CAMusElementFactory::setMusElement ( CAMusElement elt)
inline

References mpoMusElement.

Referenced by CAMainWin::insertMusElementAt().

Here is the caller graph for this function:

◆ setMusElementType()

CAMusElementFactory::setMusElementType ( CAMusElement::CAMusElementType  eMEType)
inline

◆ setNoteAccs()

void CAMusElementFactory::setNoteAccs ( int  iNoteAccs)
inline

References _iNoteAccs.

Referenced by CAMainWin::scoreViewMouseMove().

Here is the caller graph for this function:

◆ setNoteExtraAccs()

void CAMusElementFactory::setNoteExtraAccs ( int  iNoteExtraAccs)
inline

References _iNoteExtraAccs.

Referenced by CAMainWin::insertMusElementAt().

Here is the caller graph for this function:

◆ setNoteStemDirection()

void CAMusElementFactory::setNoteStemDirection ( CANote::CAStemDirection  eDir)
inline

References _eNoteStemDirection.

Referenced by CAMainWin::on_uiNoteStemDirection_toggled().

Here is the caller graph for this function:

◆ setPlayableLength()

void CAMusElementFactory::setPlayableLength ( CAPlayableLength playableLength)
inline

References _playableLength, and playableLength().

Referenced by CAMainWin::on_uiPlayableLength_toggled().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setRepeatMarkType()

void CAMusElementFactory::setRepeatMarkType ( const CARepeatMark::CARepeatMarkType  t)
inline

References _repeatMarkType.

Referenced by CAMainWin::on_uiRepeatMarkType_toggled().

Here is the caller graph for this function:

◆ setRepeatMarkVoltaNumber()

void CAMusElementFactory::setRepeatMarkVoltaNumber ( const int  n)
inline

References _repeatMarkVoltaNumber.

Referenced by CAMainWin::on_uiRepeatMarkType_toggled().

Here is the caller graph for this function:

◆ setRestType()

void CAMusElementFactory::setRestType ( CARest::CARestType  eType)
inline

References _eRestType.

Referenced by CAMainWin::on_uiHiddenRest_toggled().

Here is the caller graph for this function:

◆ setRitardandoType()

void CAMusElementFactory::setRitardandoType ( CARitardando::CARitardandoType  t)
inline

References _ritardandoType.

Referenced by CAMainWin::on_uiMarkType_toggled().

Here is the caller graph for this function:

◆ setSlurStyle()

void CAMusElementFactory::setSlurStyle ( CASlur::CASlurStyle  style)
inline

References _slurStyle.

◆ setSlurType()

void CAMusElementFactory::setSlurType ( CASlur::CASlurType  type)
inline

References _eSlurType.

Referenced by CAMainWin::on_uiSlurType_toggled().

Here is the caller graph for this function:

◆ setTempoBeat()

void CAMusElementFactory::setTempoBeat ( CAPlayableLength length)
inline

References _tempoBeat.

Referenced by CAMainWin::on_uiTempoBeat_toggled().

Here is the caller graph for this function:

◆ setTempoBpm()

void CAMusElementFactory::setTempoBpm ( const int  tempoBpm)
inline

References _tempoBpm, and tempoBpm().

Referenced by CAMainWin::on_uiTempoBpm_returnPressed().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setTimeSigBeat()

void CAMusElementFactory::setTimeSigBeat ( int  iTimeSigBeat)
inline

References _iTimeSigBeat.

Referenced by CAMainWin::on_uiTimeSigBeat_valueChanged(), and CAMainWin::on_uiTimeSigType_toggled().

Here is the caller graph for this function:

◆ setTimeSigBeats()

void CAMusElementFactory::setTimeSigBeats ( int  iTimeSigBeats)
inline

References _iTimeSigBeats.

Referenced by CAMainWin::on_uiTimeSigBeats_valueChanged(), and CAMainWin::on_uiTimeSigType_toggled().

Here is the caller graph for this function:

◆ setTupletActualNumber()

void CAMusElementFactory::setTupletActualNumber ( int  actualNumber)
inline

References _tupletActualNumber.

Referenced by CAMainWin::on_uiTupletActualNumber_valueChanged().

Here is the caller graph for this function:

◆ setTupletNumber()

void CAMusElementFactory::setTupletNumber ( int  number)
inline

References _tupletNumber.

Referenced by CAMainWin::on_uiTupletNumber_valueChanged().

Here is the caller graph for this function:

◆ slurStyle()

CASlur::CASlurStyle CAMusElementFactory::slurStyle ( )
inline

References _slurStyle.

Referenced by configureSlur().

Here is the caller graph for this function:

◆ slurType()

CASlur::CASlurType CAMusElementFactory::slurType ( )
inline

References _eSlurType.

Referenced by configureSlur(), and CAMainWin::insertMusElementAt().

Here is the caller graph for this function:

◆ subNoteAccs()

void CAMusElementFactory::subNoteAccs ( int  iSub)
inline

References _iNoteAccs.

Referenced by CAMainWin::scoreViewKeyPress().

Here is the caller graph for this function:

◆ subNoteExtraAccs()

void CAMusElementFactory::subNoteExtraAccs ( int  iSub)
inline

References _iNoteExtraAccs.

Referenced by CAMainWin::scoreViewKeyPress().

Here is the caller graph for this function:

◆ tempoBeat()

CAPlayableLength& CAMusElementFactory::tempoBeat ( )
inline

References _tempoBeat.

Referenced by configureMark().

Here is the caller graph for this function:

◆ tempoBpm()

const int CAMusElementFactory::tempoBpm ( )
inline

References _tempoBpm.

Referenced by configureMark(), and setTempoBpm().

Here is the caller graph for this function:

◆ timeSigBeat()

int CAMusElementFactory::timeSigBeat ( )
inline

References _iTimeSigBeat.

◆ timeSigBeats()

int CAMusElementFactory::timeSigBeats ( )
inline

References _iTimeSigBeats.

◆ tupletActualNumber()

int CAMusElementFactory::tupletActualNumber ( )
inline

References _tupletActualNumber.

◆ tupletNumber()

int CAMusElementFactory::tupletNumber ( )
inline

References _tupletNumber.

Member Data Documentation

◆ _articulationType

CAArticulation::CAArticulationType CAMusElementFactory::_articulationType
private

◆ _crescendoFinalVolume

int CAMusElementFactory::_crescendoFinalVolume
private

◆ _crescendoType

CACrescendo::CACrescendoType CAMusElementFactory::_crescendoType
private

◆ _diatonicKeyGender

CADiatonicKey::CAGender CAMusElementFactory::_diatonicKeyGender
private

◆ _diatonicKeyNumberOfAccs

int CAMusElementFactory::_diatonicKeyNumberOfAccs
private

◆ _dynamicText

QString CAMusElementFactory::_dynamicText
private

◆ _dynamicVolume

int CAMusElementFactory::_dynamicVolume
private

◆ _eBarlineType

CABarline::CABarlineType CAMusElementFactory::_eBarlineType
private

◆ _eClef

CAMusElementFactory::_eClef
private

Type of the clef to be inserted.

Referenced by CAMusElementFactory(), clef(), configureClef(), and setClef().

◆ _eNoteStemDirection

CANote::CAStemDirection CAMusElementFactory::_eNoteStemDirection
private

◆ _eRestType

CARest::CARestType CAMusElementFactory::_eRestType
private

◆ _eSlurType

CASlur::CASlurType CAMusElementFactory::_eSlurType
private

◆ _fbmAccs

int CAMusElementFactory::_fbmAccs
private

◆ _fbmAccsVisible

bool CAMusElementFactory::_fbmAccsVisible
private

◆ _fbmNumber

int CAMusElementFactory::_fbmNumber
private

◆ _fermataType

CAFermata::CAFermataType CAMusElementFactory::_fermataType
private

◆ _fingeringFinger

CAFingering::CAFingerNumber CAMusElementFactory::_fingeringFinger
private

◆ _fingeringOriginal

int CAMusElementFactory::_fingeringOriginal
private

◆ _fmChordArea

CAFunctionMark::CAFunctionType CAMusElementFactory::_fmChordArea
private

◆ _fmChordAreaMinor

bool CAMusElementFactory::_fmChordAreaMinor
private

◆ _fmEllipse

bool CAMusElementFactory::_fmEllipse
private

◆ _fmFunction

CAFunctionMark::CAFunctionType CAMusElementFactory::_fmFunction
private

◆ _fmFunctionMinor

bool CAMusElementFactory::_fmFunctionMinor
private

◆ _fmTonicDegree

CAFunctionMark::CAFunctionType CAMusElementFactory::_fmTonicDegree
private

◆ _fmTonicDegreeMinor

bool CAMusElementFactory::_fmTonicDegreeMinor
private

◆ _iClefOffset

int CAMusElementFactory::_iClefOffset
private

◆ _iNoteAccs

CAMusElementFactory::_iNoteAccs
private

Note accidentals at specific coordinates updated regularily when in insert mode.

Referenced by addNoteAccs(), CAMusElementFactory(), configureNote(), noteAccs(), setNoteAccs(), and subNoteAccs().

◆ _iNoteExtraAccs

CAMusElementFactory::_iNoteExtraAccs
private

Extra note accidentals for new notes which user adds/removes with +/- keys.

Referenced by addNoteExtraAccs(), CAMusElementFactory(), noteExtraAccs(), setNoteExtraAccs(), and subNoteExtraAccs().

◆ _instrument

int CAMusElementFactory::_instrument
private

◆ _iPlayableDotted

CAMusElementFactory::_iPlayableDotted
private

Number of dots to be inserted for the note/rest.

Referenced by CAMusElementFactory().

◆ _iTimeSigBeat

CAMusElementFactory::_iTimeSigBeat
private

Time signature beat to be inserted.

Referenced by CAMusElementFactory(), configureTimeSignature(), setTimeSigBeat(), and timeSigBeat().

◆ _iTimeSigBeats

CAMusElementFactory::_iTimeSigBeats
private

Time signature number of beats to be inserted.

Referenced by CAMusElementFactory(), configureTimeSignature(), setTimeSigBeats(), and timeSigBeats().

◆ _markType

CAMark::CAMarkType CAMusElementFactory::_markType
private

Referenced by markType(), and setMarkType().

◆ _musElementType

CAMusElement::CAMusElementType CAMusElementFactory::_musElementType
private

◆ _playableLength

CAPlayableLength CAMusElementFactory::_playableLength
private

◆ _repeatMarkType

CARepeatMark::CARepeatMarkType CAMusElementFactory::_repeatMarkType
private

◆ _repeatMarkVoltaNumber

int CAMusElementFactory::_repeatMarkVoltaNumber
private

◆ _ritardandoType

CARitardando::CARitardandoType CAMusElementFactory::_ritardandoType
private

◆ _slurStyle

CASlur::CASlurStyle CAMusElementFactory::_slurStyle
private

◆ _tempoBeat

CAPlayableLength CAMusElementFactory::_tempoBeat
private

◆ _tempoBpm

int CAMusElementFactory::_tempoBpm
private

◆ _tupletActualNumber

int CAMusElementFactory::_tupletActualNumber
private

◆ _tupletNumber

int CAMusElementFactory::_tupletNumber
private

Referenced by setTupletNumber(), and tupletNumber().

◆ mpoEmpty

CAMusElement* CAMusElementFactory::mpoEmpty
private

◆ mpoMusElement

CAMusElementFactory::mpoMusElement
private

The documentation for this class was generated from the following files: