lib
UnderlineElement Class Reference
#include <bracketelement.h>
Inheritance diagram for UnderlineElement:

Detailed Description
A line below the content.
Definition at line 321 of file bracketelement.h.
Public Member Functions | |
UnderlineElement (BasicElement *parent=0) | |
~UnderlineElement () | |
UnderlineElement (const UnderlineElement &) | |
virtual UnderlineElement * | clone () |
virtual bool | accept (ElementVisitor *visitor) |
virtual void | entered (SequenceElement *child) |
virtual void | calcSizes (const ContextStyle &style, ContextStyle::TextStyle tstyle, ContextStyle::IndexStyle istyle) |
virtual void | draw (QPainter &painter, const LuPixelRect &r, const ContextStyle &style, ContextStyle::TextStyle tstyle, ContextStyle::IndexStyle istyle, const LuPixelPoint &parentOrigin) |
virtual QString | toLatex () |
virtual QString | formulaString () |
virtual void | writeMathML (QDomDocument &doc, QDomNode parent, bool oasisFormat=false) |
Protected Member Functions | |
virtual QString | getTagName () const |
Member Function Documentation
|
Visit this element. An implementation of the visitor pattern. Implements BasicElement. Definition at line 586 of file bracketelement.cc. |
|
Calculates our width and height and our children's parentPosition.
Implements BasicElement. Definition at line 598 of file bracketelement.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 618 of file bracketelement.cc. |
|
The cursor has entered one of our child sequences. This is a good point to tell the user where he is. Reimplemented from BasicElement. Definition at line 592 of file bracketelement.cc. |
|
Returns the tag name of this element type.
Reimplemented from BasicElement. Definition at line 375 of file bracketelement.h. |
|
Reimplemented from BasicElement. Definition at line 648 of file bracketelement.cc. |
|
Same as above, just MathML.
Reimplemented from SingleContentElement. Definition at line 658 of file bracketelement.cc. |
The documentation for this class was generated from the following files: