Public Member Functions | Protected Member Functions

StateNormal Class Reference

#include <stateNormal.h>

Inheritance diagram for StateNormal:
Collaboration diagram for StateNormal:

List of all members.

Public Member Functions

 StateNormal (const QPoint &position, Editor *parent, const QString &label, const QString &name, bool dBorder, bool dim)
virtual int getHeight () const
virtual QString getTypeName () const
virtual int getWidth () const
virtual void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
virtual QPainterPath shape () const
 export support functions

Protected Member Functions

void updateMyPolygon ()
 compute states polygon

Detailed Description

Definition at line 6 of file stateNormal.h.


Constructor & Destructor Documentation

StateNormal::StateNormal ( const QPoint &  position,
Editor parent,
const QString &  label,
const QString &  name,
bool  dBorder,
bool  dim 
)

Definition at line 8 of file stateNormal.cpp.

References updateMyPolygon().

Here is the call graph for this function:


Member Function Documentation

virtual int StateNormal::getHeight (  )  const [inline, virtual]

Implements State.

Definition at line 15 of file stateNormal.h.

QString StateNormal::getTypeName (  )  const [virtual]

Implements State.

Definition at line 15 of file stateNormal.cpp.

References State::doubleBorder.

virtual int StateNormal::getWidth (  )  const [inline, virtual]

Implements State.

Definition at line 14 of file stateNormal.h.

void StateNormal::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget 
) [virtual]
QPainterPath StateNormal::shape (  )  const [virtual]

export support functions

implements QGraphicsItems functions

Implements State.

Definition at line 117 of file stateNormal.cpp.

References State::myPath.

Referenced by paint().

Here is the caller graph for this function:

void StateNormal::updateMyPolygon (  )  [protected, virtual]

compute states polygon

Implements State.

Definition at line 20 of file stateNormal.cpp.

References State::doubleBorder, State::m_lineWidth, State::myPath, State::myPolygon, S_H, S_LX, S_LY, S_W, State::stateLineDoubleCoef, and State::stateLineDoubleSep.

Referenced by StateNormal().

Here is the caller graph for this function:


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