lib
EmptyElement Class Reference
#include <textelement.h>
Inheritance diagram for EmptyElement:

Detailed Description
An element that represents an empty box.
Definition at line 209 of file textelement.h.
Public Member Functions | |
EmptyElement (BasicElement *parent=0) | |
EmptyElement (const EmptyElement &) | |
virtual EmptyElement * | clone () |
virtual bool | accept (ElementVisitor *visitor) |
virtual QChar | getCharacter () const |
virtual void | calcSizes (const ContextStyle &context, ContextStyle::TextStyle tstyle, ContextStyle::IndexStyle istyle) |
virtual void | draw (QPainter &painter, const LuPixelRect &r, const ContextStyle &context, ContextStyle::TextStyle tstyle, ContextStyle::IndexStyle istyle, const LuPixelPoint &parentOrigin) |
virtual QString | toLatex () |
Protected Member Functions | |
virtual QString | getTagName () const |
Member Function Documentation
|
Visit this element. An implementation of the visitor pattern. Implements BasicElement. Definition at line 481 of file textelement.cc. |
|
Calculates our width and height and our children's parentPosition.
Implements BasicElement. Definition at line 487 of file textelement.cc. |
|
Draws the whole element including its children. The `parentOrigin' is the point this element's parent starts. We can use our parentPosition to get our own origin then. Implements BasicElement. Definition at line 505 of file textelement.cc. |
|
Reimplemented from BasicElement. Definition at line 227 of file textelement.h. |
|
Reimplemented from BasicElement. Definition at line 260 of file textelement.h. |
|
Reimplemented from BasicElement. Definition at line 526 of file textelement.cc. |
The documentation for this class was generated from the following files: