CADrawableKeySignature Class Reference

#include <drawablekeysignature.h>

Inheritance diagram for CADrawableKeySignature:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 CADrawableKeySignature (CAKeySignature *keySig, CADrawableStaff *staff, int x, int y)
 ~CADrawableKeySignature ()
void draw (QPainter *p, CADrawSettings s)
CADrawableKeySignatureclone (CADrawableContext *newContext=0)
CAKeySignaturekeySignature ()

Private Attributes

QList
< CADrawableAccidental * > 
_drawableAccidentalList


Detailed Description

Definition at line 18 of file drawablekeysignature.h.


Constructor & Destructor Documentation

CADrawableKeySignature::CADrawableKeySignature ( CAKeySignature keySig,
CADrawableStaff drawableStaff,
int  x,
int  y 
)

Default constructor.

Parameters:
y Marks the top line Y coordinate of the staff in absolute world units.
Copyright (c) 2006-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.

Definition at line 15 of file drawablekeysignature.cpp.

References _drawableAccidentalList, CADrawableMusElement::_drawableMusElementType, CADrawable::_height, CADrawable::_neededHeight, CADrawable::_neededWidth, CADrawable::_width, CADrawable::_yPos, CAKeySignature::accidentals(), CAClef::c1(), CADrawableStaff::calculateCenterYCoord(), CADrawableMusElement::DrawableKeySignature, CADrawableStaff::getClef(), CADrawableStaff::getKeySignature(), CAStaff::numberOfLines(), CADrawableStaff::staff(), and CADrawable::yPos().

Referenced by clone().

Here is the call graph for this function:

Here is the caller graph for this function:

CADrawableKeySignature::~CADrawableKeySignature (  ) 

Definition at line 159 of file drawablekeysignature.cpp.

References _drawableAccidentalList.


Member Function Documentation

void CADrawableKeySignature::draw ( QPainter *  p,
CADrawSettings  s 
) [virtual]

Implements CADrawable.

Definition at line 166 of file drawablekeysignature.cpp.

References _drawableAccidentalList, CADrawSettings::x, CADrawable::xPos(), CADrawSettings::y, CADrawable::yPos(), and CADrawSettings::z.

Here is the call graph for this function:

CADrawableKeySignature * CADrawableKeySignature::clone ( CADrawableContext newContext = 0  )  [virtual]

Implements CADrawableMusElement.

Definition at line 178 of file drawablekeysignature.cpp.

References CADrawableMusElement::_drawableContext, CADrawableKeySignature(), keySignature(), and CADrawable::xPos().

Here is the call graph for this function:

CAKeySignature* CADrawableKeySignature::keySignature (  )  [inline]

Definition at line 30 of file drawablekeysignature.h.

References CADrawableMusElement::_musElement.

Referenced by clone(), and CAEngraver::reposit().

Here is the caller graph for this function:


Member Data Documentation

QList<CADrawableAccidental*> CADrawableKeySignature::_drawableAccidentalList [private]

Definition at line 33 of file drawablekeysignature.h.

Referenced by CADrawableKeySignature(), draw(), and ~CADrawableKeySignature().


The documentation for this class was generated from the following files:
Generated on Sat Feb 9 13:12:49 2008 for Canorus by  doxygen 1.5.3