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

TextSymbol Class Reference

#include <TextSymbol.h>

Inheritance diagram for TextSymbol:

MusicSymbol List of all members.

Public Member Functions

 TextSymbol (double, double)
void setText (QString)
void setSize (int)
void setAlign (int)
void draw (Painter *)
CollidergetCollider ()

Detailed Description

This symbol is to draw some text symbol that does not contain any pitch information (i.e not lyrics) The alignement constants are duplicated they should be placed in the metrics Fil


Member Function Documentation

void TextSymbol::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 * TextSymbol::getCollider  )  [virtual]
 

Returns:
the collider of the text Symbol

Implements MusicSymbol.

void TextSymbol::setAlign int  i  ) 
 

Set the alignment of the symbol This can take value in ALIGN_LEFT ALIGN_CENTER ALIGN_RIGHT

void TextSymbol::setSize int  s  ) 
 

This set the size of the text

Parameters:
s the size

void TextSymbol::setText QString  t  ) 
 

This set the text

Parameters:
t the text


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