#include <commands.h>
Collaboration diagram for OneStateTransitionEditCommand:Public Member Functions | |
| OneStateTransitionEditCommand (OneStateTransition *tr, QString label, float labelPos, int direction, bool dimmed, QUndoCommand *parent=0) | |
| void | redo () |
| void | undo () |
Private Attributes | |
| bool | dimmed_new |
| bool | dimmed_old |
| int | dir_new |
| int | dir_old |
| QString | lab_new |
| QString | lab_old |
| float | labelPos_new |
| float | labelPos_old |
| OneStateTransition * | tr |
Definition at line 190 of file commands.h.
| OneStateTransitionEditCommand::OneStateTransitionEditCommand | ( | OneStateTransition * | tr, | |
| QString | label, | |||
| float | labelPos, | |||
| int | direction, | |||
| bool | dimmed, | |||
| QUndoCommand * | parent = 0 | |||
| ) |
Definition at line 453 of file commands.cpp.
| void OneStateTransitionEditCommand::redo | ( | ) |
Definition at line 473 of file commands.cpp.
References Transition::adjust(), dimmed_new, dir_new, lab_new, labelPos_new, Transition::setDimmed(), Transition::setDirection(), Transition::setLabelPos(), Transition::setLabelText(), and tr.
Here is the call graph for this function:| void OneStateTransitionEditCommand::undo | ( | ) |
Definition at line 464 of file commands.cpp.
References Transition::adjust(), dimmed_old, dir_old, lab_old, labelPos_old, Transition::setDimmed(), Transition::setDirection(), Transition::setLabelPos(), Transition::setLabelText(), and tr.
Here is the call graph for this function:bool OneStateTransitionEditCommand::dimmed_new [private] |
Definition at line 206 of file commands.h.
Referenced by redo().
bool OneStateTransitionEditCommand::dimmed_old [private] |
Definition at line 206 of file commands.h.
Referenced by undo().
int OneStateTransitionEditCommand::dir_new [private] |
Definition at line 205 of file commands.h.
Referenced by redo().
int OneStateTransitionEditCommand::dir_old [private] |
Definition at line 205 of file commands.h.
Referenced by undo().
QString OneStateTransitionEditCommand::lab_new [private] |
Definition at line 203 of file commands.h.
Referenced by redo().
QString OneStateTransitionEditCommand::lab_old [private] |
Definition at line 203 of file commands.h.
Referenced by undo().
float OneStateTransitionEditCommand::labelPos_new [private] |
Definition at line 204 of file commands.h.
Referenced by redo().
float OneStateTransitionEditCommand::labelPos_old [private] |
Definition at line 204 of file commands.h.
Referenced by undo().
Definition at line 201 of file commands.h.
1.7.0