lib Library API Documentation

NumberType Class Reference

A range of elements that make up a number. More...

#include <elementtype.h>

Inheritance diagram for NumberType:

MultiElementType ElementType List of all members.

Public Member Functions

 NumberType (SequenceParser *parser)
virtual QFont getFont (const ContextStyle &context)
virtual void setUpPainter (const ContextStyle &context, QPainter &painter)
virtual void saveMathML (SequenceElement *se, QDomDocument doc, QDomElement de)

Detailed Description

A range of elements that make up a number.

Definition at line 210 of file elementtype.h.


Member Function Documentation

QFont NumberType::getFont const ContextStyle context  )  [virtual]
 

Returns:
the font to be used for this kind of element

Reimplemented from ElementType.

Definition at line 353 of file elementtype.cc.

References getFont(), and ContextStyle::getNumberFont().

Referenced by getFont().

void NumberType::setUpPainter const ContextStyle context,
QPainter painter
[virtual]
 

sets the painters pen to a appropriate value

Reimplemented from ElementType.

Definition at line 358 of file elementtype.cc.

References ContextStyle::getNumberColor(), and setUpPainter().

Referenced by setUpPainter().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for lib Library Version 1.3.5.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Nov 17 06:54:21 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003