#include <stateNormal.h>
Inheritance diagram for StateNormal:
Collaboration diagram for StateNormal: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 | |
Definition at line 6 of file stateNormal.h.
| 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:| virtual int StateNormal::getHeight | ( | ) | const [inline, virtual] |
Implements State.
Definition at line 15 of file stateNormal.h.
| QString StateNormal::getTypeName | ( | ) | const [virtual] |
| 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] |
Implements State.
Definition at line 122 of file stateNormal.cpp.
References State::boundingRect(), State::checked, State::checkedColor, State::dimmed, State::dimStateFillColor, State::dimStateLabelColor, State::dimStateLineColor, State::dimStateLineStyle, State::doubleBorder, StringProcessor::drawText(), State::getTextAscent(), State::getTextDescent(), State::getTextWidth(), State::m_lineWidth, State::paintSelectionDecoration(), S_H, S_LX, S_LY, S_W, shape(), State::stateFillColor, State::stateFillStatus, State::stateLabelColor, State::stateLineColor, State::stateLineDoubleCoef, State::stateLineDoubleSep, State::stateLineStyle, State::stringProcessor, and StringProcessor::text().
Here is the call graph for this function:| 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:
1.7.0