Main Page | Modules | Class Hierarchy | Class List | File List | Class Members | Related Pages

LyricMS Class Reference

#include <LyricMS.h>

Inheritance diagram for LyricMS:

MusicSymbol List of all members.

Public Member Functions

 LyricMS (double x, double y, QString text, QFont f)
void draw (Painter *p)
CollidergetCollider ()
QString toString ()

Public Attributes

QFont font
int graphicHeight

Detailed Description

This represent the Lyric Symbol, we have a different representation from the normal text because it has to be constrained and indexed a note. This is why it inherits the MusicSymbol


Constructor & Destructor Documentation

LyricMS::LyricMS double  px,
double  py,
QString  t,
QFont  f
 

Contructor of a lyric MS


Member Function Documentation

void LyricMS::draw Painter p  )  [virtual]
 

This method draw is defined but useless if we define it as pure virtual (As it should be)

Implements MusicSymbol.

Collider * LyricMS::getCollider  )  [virtual]
 

implement this function correctly this is just an pproximation that wont be be valid if the font used is not the same in the painter

Returns:
the collider of a lyric (Partial implementation only)

Implements MusicSymbol.

QString LyricMS::toString  )  [virtual]
 

For many symbols this function should be overrided.

Returns:
a string reprentation of the MusicSymbol (For a debug purpose).

Reimplemented from MusicSymbol.


The documentation for this class was generated from the following files:
Generated on Tue Jun 1 21:13:32 2004 for Alternate Take by doxygen 1.3.6