Public Member Functions | Protected Attributes

TransitionArc Class Reference

#include <transitionArc.h>

Inheritance diagram for TransitionArc:
Collaboration diagram for TransitionArc:

List of all members.

Public Member Functions

 TransitionArc (Editor *parent, State *ss, State *es, const QString &label, bool leftOriented, bool dimmed, bool radius)
virtual ~TransitionArc ()
virtual void adjust ()
 The only method where graphics changes are computed.
virtual QString getTypeName () const
virtual QString getVCCommand () const
 VauCanSon-G transition command.
virtual void setLabelPosition ()

Protected Attributes

QPointF a_point
QPointF b_point
bool radius

Detailed Description

Definition at line 6 of file transitionArc.h.


Constructor & Destructor Documentation

TransitionArc::TransitionArc ( Editor parent,
State ss,
State es,
const QString &  label,
bool  leftOriented,
bool  dimmed,
bool  radius 
)
TransitionArc::~TransitionArc (  )  [virtual]

Definition at line 26 of file transitionArc.cpp.

References DBGLOG.


Member Function Documentation

void TransitionArc::adjust (  )  [virtual]
QString TransitionArc::getTypeName (  )  const [virtual]

Implements Transition.

Definition at line 147 of file transitionArc.cpp.

References radius.

Referenced by getVCCommand().

Here is the caller graph for this function:

QString TransitionArc::getVCCommand (  )  const [virtual]

VauCanSon-G transition command.

Implements Transition.

Definition at line 203 of file transitionArc.cpp.

References Transition::endState, State::getName(), Transition::getNextLabelsVCCommand(), getTypeName(), TwoStatesTransition::getTypeNameSuffix(), Transition::label, LabelX::posParam(), Transition::startState, and LabelX::text().

Here is the call graph for this function:

void TransitionArc::setLabelPosition (  )  [virtual]

Reimplemented from Transition.

Definition at line 138 of file transitionArc.cpp.

References LabelX::getHeight(), LabelX::getWidth(), Transition::label, TwoStatesTransition::leftOriented, and LabelX::posParam().

Referenced by adjust(), and TransitionArc().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

QPointF TransitionArc::a_point [protected]

Definition at line 25 of file transitionArc.h.

Referenced by adjust().

QPointF TransitionArc::b_point [protected]

Definition at line 26 of file transitionArc.h.

Referenced by adjust().

bool TransitionArc::radius [protected]

Definition at line 23 of file transitionArc.h.

Referenced by adjust(), and getTypeName().


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