#include <oneStateTransition.h>
Public Member Functions | |
OneStateTransition (Editor *parent, State *ss, bool dimmed) | |
virtual void | assign () |
Assign to all referenced states (to theirs trList). | |
virtual QString | getTypeNameSuffix () const |
virtual void | unassign () |
Protected Member Functions | |
virtual void | mouseReleaseEvent (QGraphicsSceneMouseEvent *event) |
Definition at line 6 of file oneStateTransition.h.
Definition at line 9 of file oneStateTransition.h.
void OneStateTransition::assign | ( | ) | [virtual] |
Assign to all referenced states (to theirs trList).
Implements Transition.
Definition at line 27 of file oneStateTransition.cpp.
References State::addTransition(), and Transition::startState.
QString OneStateTransition::getTypeNameSuffix | ( | ) | const [virtual] |
Reimplemented from Transition.
Definition at line 9 of file oneStateTransition.cpp.
References EAST, Transition::getDirection(), NORTH, NORTH_EAST, NORTH_WEST, RELLOG, SOUTH, SOUTH_EAST, SOUTH_WEST, and WEST.
Referenced by TransitionLoop::getVCCommand(), TransitionSELine::getVCCommand(), and Editor::showPopup().
void OneStateTransition::mouseReleaseEvent | ( | QGraphicsSceneMouseEvent * | event | ) | [protected, virtual] |
Implements Transition.
Definition at line 37 of file oneStateTransition.cpp.
References DBGLOG_ME, Transition::editor, Editor::editTransition(), eMouseDoubleClick, eMouseRightClick, Transition::m_lastMouseClickType, Transition::setChecked(), and Editor::showPopup().
void OneStateTransition::unassign | ( | ) | [virtual] |
Implements Transition.
Definition at line 32 of file oneStateTransition.cpp.
References State::removeTransition(), and Transition::startState.