lib
PhantomElement Class Reference
Inheritance diagram for PhantomElement:

Detailed Description
Definition at line 27 of file phantomelement.h.
Public Member Functions | |
PhantomElement (BasicElement *parent=0) | |
virtual void | draw (QPainter &painter, const LuPixelRect &r, const ContextStyle &context, ContextStyle::TextStyle tstyle, ContextStyle::IndexStyle istyle, StyleAttributes &style, const LuPixelPoint &parentOrigin) |
Member Function Documentation
void PhantomElement::draw | ( | QPainter & | painter, | |
const LuPixelRect & | r, | |||
const ContextStyle & | context, | |||
ContextStyle::TextStyle | tstyle, | |||
ContextStyle::IndexStyle | istyle, | |||
StyleAttributes & | style, | |||
const LuPixelPoint & | parentOrigin | |||
) | [virtual] |
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.
Reimplemented from SequenceElement.
Definition at line 33 of file phantomelement.cc.
The documentation for this class was generated from the following files: