Public Member Functions | Protected Member Functions | Protected Attributes

TransitionSELine Class Reference

#include <transitionInitialFinal.h>

Inheritance diagram for TransitionSELine:
Collaboration diagram for TransitionSELine:

List of all members.

Public Member Functions

 TransitionSELine (Editor *parent, State *state, bool start, int direction, bool dimmed)
virtual ~TransitionSELine ()
virtual void adjust ()
 The only method where graphics changes are computed.
virtual int getDirection () const
virtual QString getTypeName () const
virtual QString getVCCommand () const
 VauCanSon-G transition command.
virtual void setDirection (int d)

Protected Member Functions

void setRotation ()

Protected Attributes

int direction
QLineF line
bool starting

Detailed Description

Definition at line 6 of file transitionInitialFinal.h.


Constructor & Destructor Documentation

TransitionSELine::TransitionSELine ( Editor parent,
State state,
bool  start,
int  direction,
bool  dimmed 
)

Definition at line 12 of file transitionInitialFinal.cpp.

References Transition::label, setRotation(), and Z_TRANSITION.

Here is the call graph for this function:

TransitionSELine::~TransitionSELine (  )  [virtual]

Definition at line 20 of file transitionInitialFinal.cpp.

References DBGLOG.


Member Function Documentation

void TransitionSELine::adjust (  )  [virtual]

The only method where graphics changes are computed.

Implements Transition.

Definition at line 25 of file transitionInitialFinal.cpp.

References Transition::createStrokes(), direction, State::getHeight(), State::getWidth(), line, Transition::m_arrowPoints, NORTH, Transition::p, Transition::pa, Transition::setLabelPosition(), starting, Transition::startPoint, Transition::startState, and TR_SE_LENGTH.

Referenced by setRotation().

Here is the call graph for this function:

Here is the caller graph for this function:

int TransitionSELine::getDirection (  )  const [virtual]

Reimplemented from Transition.

Definition at line 79 of file transitionInitialFinal.cpp.

References direction.

Referenced by getVCCommand().

Here is the caller graph for this function:

QString TransitionSELine::getTypeName (  )  const [virtual]

Implements Transition.

Definition at line 68 of file transitionInitialFinal.cpp.

References starting.

Referenced by getVCCommand().

Here is the caller graph for this function:

QString TransitionSELine::getVCCommand (  )  const [virtual]

VauCanSon-G transition command.

Implements Transition.

Definition at line 158 of file transitionInitialFinal.cpp.

References DEF_TR_E_DIR, DEF_TR_S_DIR, getDirection(), State::getName(), Transition::getNextLabelsVCCommand(), getTypeName(), OneStateTransition::getTypeNameSuffix(), starting, and Transition::startState.

Here is the call graph for this function:

void TransitionSELine::setDirection ( int  d  )  [virtual]

Reimplemented from Transition.

Definition at line 73 of file transitionInitialFinal.cpp.

References direction, and setRotation().

Here is the call graph for this function:

void TransitionSELine::setRotation (  )  [protected]

Definition at line 84 of file transitionInitialFinal.cpp.

References adjust(), direction, EAST, NORTH, NORTH_EAST, NORTH_WEST, SOUTH, SOUTH_EAST, SOUTH_WEST, and WEST.

Referenced by setDirection(), and TransitionSELine().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

int TransitionSELine::direction [protected]

Definition at line 26 of file transitionInitialFinal.h.

Referenced by adjust(), getDirection(), setDirection(), and setRotation().

QLineF TransitionSELine::line [protected]

Definition at line 27 of file transitionInitialFinal.h.

Referenced by adjust().

bool TransitionSELine::starting [protected]

Definition at line 25 of file transitionInitialFinal.h.

Referenced by adjust(), getTypeName(), and getVCCommand().


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