#include <twoStatesTransition.h>
Inheritance diagram for TwoStatesTransition:
Collaboration diagram for TwoStatesTransition:Public Member Functions | |
| TwoStatesTransition (Editor *parent, State *ss, State *es, bool left, bool dimmed) | |
| virtual void | assign () |
| Assign to all referenced states (to theirs trList). | |
| virtual QString | getTypeNameSuffix () const |
| bool | isLeftOriented () |
| virtual void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) |
| void | setLeftOriented (bool leftOriented) |
| virtual void | unassign () |
Protected Member Functions | |
| virtual void | mouseReleaseEvent (QGraphicsSceneMouseEvent *event) |
Protected Attributes | |
| bool | leftOriented |
Definition at line 6 of file twoStatesTransition.h.
| TwoStatesTransition::TwoStatesTransition | ( | Editor * | parent, | |
| State * | ss, | |||
| State * | es, | |||
| bool | left, | |||
| bool | dimmed | |||
| ) | [inline] |
Definition at line 9 of file twoStatesTransition.h.
| void TwoStatesTransition::assign | ( | ) | [virtual] |
Assign to all referenced states (to theirs trList).
Implements Transition.
Definition at line 31 of file twoStatesTransition.cpp.
References State::addTransition(), Transition::endState, and Transition::startState.
Here is the call graph for this function:| virtual QString TwoStatesTransition::getTypeNameSuffix | ( | ) | const [inline, virtual] |
Reimplemented from Transition.
Definition at line 16 of file twoStatesTransition.h.
References leftOriented.
Referenced by TransitionVCurve::getVCCommand(), TransitionVArc::getVCCommand(), TransitionLine::getVCCommand(), TransitionArc::getVCCommand(), and Editor::showPopup().
Here is the caller graph for this function:| bool TwoStatesTransition::isLeftOriented | ( | ) |
Definition at line 49 of file twoStatesTransition.cpp.
References leftOriented.
Referenced by Editor::editTransition(), and TwoStatesTransitionEditCommand::TwoStatesTransitionEditCommand().
Here is the caller graph for this function:| void TwoStatesTransition::mouseReleaseEvent | ( | QGraphicsSceneMouseEvent * | event | ) | [protected, virtual] |
Implements Transition.
Definition at line 15 of file twoStatesTransition.cpp.
References DBGLOG_ME, Transition::editor, Editor::editTransition(), eMouseDoubleClick, eMouseRightClick, Transition::m_lastMouseClickType, Transition::setChecked(), and Editor::showPopup().
Here is the call graph for this function:| void TwoStatesTransition::paint | ( | QPainter * | painter, | |
| const QStyleOptionGraphicsItem * | option, | |||
| QWidget * | widget | |||
| ) | [virtual] |
Reimplemented from Transition.
Definition at line 9 of file twoStatesTransition.cpp.
References Transition::endPoint, and Transition::startPoint.
| void TwoStatesTransition::setLeftOriented | ( | bool | leftOriented | ) |
Definition at line 43 of file twoStatesTransition.cpp.
References Transition::adjust(), and leftOriented.
Referenced by TwoStatesTransitionEditCommand::redo(), and TwoStatesTransitionEditCommand::undo().
Here is the call graph for this function:
Here is the caller graph for this function:| void TwoStatesTransition::unassign | ( | ) | [virtual] |
Implements Transition.
Definition at line 37 of file twoStatesTransition.cpp.
References Transition::endState, State::removeTransition(), and Transition::startState.
Here is the call graph for this function:bool TwoStatesTransition::leftOriented [protected] |
Reimplemented from Transition.
Definition at line 27 of file twoStatesTransition.h.
Referenced by TransitionArc::adjust(), getTypeNameSuffix(), TransitionVArc::getVCCommand(), isLeftOriented(), TransitionVCurve::setLabelPosition(), TransitionVArc::setLabelPosition(), TransitionLine::setLabelPosition(), TransitionArc::setLabelPosition(), setLeftOriented(), TransitionArc::TransitionArc(), TransitionVArc::TransitionVArc(), and TransitionVCurve::TransitionVCurve().
1.7.0