kformula/flake

FencedElement Class Reference

A left and/or right bracket around one child. More...

#include <FencedElement.h>

Inheritance diagram for FencedElement:

List of all members.

Public Member Functions

 FencedElement (BasicElement *parent=0)
QString attributesDefaultValue (const QString &attribute) const
ElementType elementType () const
void layout (const AttributeManager *am)
virtual void paint (QPainter &painter, AttributeManager *am)

Detailed Description

A left and/or right bracket around one child.

Definition at line 34 of file FencedElement.h.


Constructor & Destructor Documentation

FencedElement::FencedElement ( BasicElement parent = 0  ) 

The standart constructor.

Definition at line 28 of file FencedElement.cpp.


Member Function Documentation

QString FencedElement::attributesDefaultValue ( const QString attribute  )  const [virtual]
Returns:
The default value of the attribute for this element

Reimplemented from BasicElement.

Definition at line 62 of file FencedElement.cpp.

ElementType FencedElement::elementType (  )  const [virtual]
Returns:
The element's ElementType

Reimplemented from RowElement.

Definition at line 74 of file FencedElement.cpp.

void FencedElement::layout ( const AttributeManager am  )  [virtual]

Calculate the size of the element and the positions of its children.

Parameters:
am The AttributeManager providing information about attributes values

Reimplemented from RowElement.

Definition at line 41 of file FencedElement.cpp.

void FencedElement::paint ( QPainter painter,
AttributeManager am 
) [virtual]

Render the element to the given QPainter.

Parameters:
painter The QPainter to paint the element to
am AttributeManager containing style info

Reimplemented from RowElement.

Definition at line 31 of file FencedElement.cpp.


The documentation for this class was generated from the following files: