CADrawableTimeSignature Class Reference

#include <drawabletimesignature.h>

Inheritance diagram for CADrawableTimeSignature:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 CADrawableTimeSignature (CATimeSignature *timeSig, CADrawableStaff *drawableStaff, int x, int y)
 ~CADrawableTimeSignature ()
 y coordinate is a top of the staff
void draw (QPainter *p, CADrawSettings s)
CADrawableTimeSignatureclone (CADrawableContext *newContext=0)
CATimeSignaturetimeSignature ()


Detailed Description

Definition at line 17 of file drawabletimesignature.h.


Constructor & Destructor Documentation

CADrawableTimeSignature::CADrawableTimeSignature ( CATimeSignature timeSig,
CADrawableStaff drawableStaff,
int  x,
int  y 
)

Definition at line 18 of file drawabletimesignature.cpp.

References CADrawableMusElement::_drawableMusElementType, CADrawable::_height, CADrawable::_neededHeight, CADrawable::_neededWidth, CADrawable::_width, CADrawable::_yPos, CATimeSignature::beat(), CATimeSignature::beats(), CATimeSignature::Classical, CADrawableMusElement::drawableContext(), CADrawableMusElement::DrawableTimeSignature, CADrawable::height(), timeSignature(), and CADrawable::yCenter().

Referenced by clone().

Here is the call graph for this function:

Here is the caller graph for this function:

CADrawableTimeSignature::~CADrawableTimeSignature (  ) 

y coordinate is a top of the staff

Definition at line 47 of file drawabletimesignature.cpp.


Member Function Documentation

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

Implements CADrawable.

Definition at line 50 of file drawabletimesignature.cpp.

References CATimeSignature::Classical, CADrawSettings::color, CADrawableMusElement::drawableContext(), CADrawable::height(), CATimeSignature::Number, timeSignature(), CADrawSettings::x, CADrawSettings::y, and CADrawSettings::z.

Here is the call graph for this function:

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

Implements CADrawableMusElement.

Definition at line 102 of file drawabletimesignature.cpp.

References CADrawableMusElement::_drawableContext, CADrawableTimeSignature(), timeSignature(), and CADrawable::xPos().

Here is the call graph for this function:

CATimeSignature* CADrawableTimeSignature::timeSignature (  )  [inline]

Definition at line 23 of file drawabletimesignature.h.

References CADrawableMusElement::_musElement.

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

Here is the caller graph for this function:


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