lib Library API Documentation

NumberType Class Reference

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

#include <elementtype.h>

Inheritance diagram for NumberType:

Inheritance graph
[legend]
Collaboration diagram for NumberType:

Collaboration graph
[legend]
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, bool oasisFormat=false)

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 346 of file elementtype.cc.

References ContextStyle::getNumberFont().

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

sets the painters pen to a appropriate value

Reimplemented from ElementType.

Definition at line 351 of file elementtype.cc.

References ContextStyle::getNumberColor().


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.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Mon Feb 13 09:40:44 2006 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003