#include <transitionInitialFinal.h>
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 |
Definition at line 6 of file transitionInitialFinal.h.
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.
TransitionSELine::~TransitionSELine | ( | ) | [virtual] |
Definition at line 20 of file transitionInitialFinal.cpp.
References DBGLOG.
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().
int TransitionSELine::getDirection | ( | ) | const [virtual] |
Reimplemented from Transition.
Definition at line 79 of file transitionInitialFinal.cpp.
References direction.
Referenced by getVCCommand().
QString TransitionSELine::getTypeName | ( | ) | const [virtual] |
Implements Transition.
Definition at line 68 of file transitionInitialFinal.cpp.
References starting.
Referenced by getVCCommand().
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.
void TransitionSELine::setDirection | ( | int | d | ) | [virtual] |
Reimplemented from Transition.
Definition at line 73 of file transitionInitialFinal.cpp.
References direction, and setRotation().
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().
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().