#include <commands.h>
Collaboration diagram for TwoStatesTransitionEditCommand:Public Member Functions | |
| TwoStatesTransitionEditCommand (TwoStatesTransition *tr, QString label, float labelPos, bool dimmed, bool leftOriented=false, int arcAngle=0, int arcAngleB=0, float ncurv=0, QUndoCommand *parent=0) | |
| void | redo () |
| void | undo () |
Private Attributes | |
| int | angle_new |
| int | angle_old |
| int | angleB_new |
| int | angleB_old |
| bool | dimmed_new |
| bool | dimmed_old |
| QString | lab_new |
| QString | lab_old |
| float | labelPos_new |
| float | labelPos_old |
| bool | lo_new |
| bool | lo_old |
| float | ncurv_new |
| float | ncurv_old |
| TwoStatesTransition * | tr |
Definition at line 209 of file commands.h.
| TwoStatesTransitionEditCommand::TwoStatesTransitionEditCommand | ( | TwoStatesTransition * | tr, | |
| QString | label, | |||
| float | labelPos, | |||
| bool | dimmed, | |||
| bool | leftOriented = false, |
|||
| int | arcAngle = 0, |
|||
| int | arcAngleB = 0, |
|||
| float | ncurv = 0, |
|||
| QUndoCommand * | parent = 0 | |||
| ) |
Definition at line 488 of file commands.cpp.
References Transition::getArcAngle(), Transition::getArcAngleB(), Transition::getLabelPos(), Transition::getLabelText(), Transition::getNCurv(), Transition::isDimmed(), and TwoStatesTransition::isLeftOriented().
Here is the call graph for this function:| void TwoStatesTransitionEditCommand::redo | ( | ) |
Definition at line 515 of file commands.cpp.
References Transition::adjust(), angle_new, angleB_new, dimmed_new, lab_new, labelPos_new, lo_new, ncurv_new, Transition::setArcAngle(), Transition::setArcAngleB(), Transition::setDimmed(), Transition::setLabelPos(), Transition::setLabelText(), TwoStatesTransition::setLeftOriented(), and Transition::setNCurv().
Here is the call graph for this function:| void TwoStatesTransitionEditCommand::undo | ( | ) |
Definition at line 503 of file commands.cpp.
References Transition::adjust(), angle_old, angleB_old, dimmed_old, lab_old, labelPos_old, lo_old, ncurv_old, Transition::setArcAngle(), Transition::setArcAngleB(), Transition::setDimmed(), Transition::setLabelPos(), Transition::setLabelText(), TwoStatesTransition::setLeftOriented(), and Transition::setNCurv().
Here is the call graph for this function:int TwoStatesTransitionEditCommand::angle_new [private] |
Definition at line 227 of file commands.h.
Referenced by redo().
int TwoStatesTransitionEditCommand::angle_old [private] |
Definition at line 227 of file commands.h.
Referenced by undo().
int TwoStatesTransitionEditCommand::angleB_new [private] |
Definition at line 228 of file commands.h.
Referenced by redo().
int TwoStatesTransitionEditCommand::angleB_old [private] |
Definition at line 228 of file commands.h.
Referenced by undo().
bool TwoStatesTransitionEditCommand::dimmed_new [private] |
Definition at line 225 of file commands.h.
Referenced by redo().
bool TwoStatesTransitionEditCommand::dimmed_old [private] |
Definition at line 225 of file commands.h.
Referenced by undo().
QString TwoStatesTransitionEditCommand::lab_new [private] |
Definition at line 223 of file commands.h.
Referenced by redo().
QString TwoStatesTransitionEditCommand::lab_old [private] |
Definition at line 223 of file commands.h.
Referenced by undo().
float TwoStatesTransitionEditCommand::labelPos_new [private] |
Definition at line 224 of file commands.h.
Referenced by redo().
float TwoStatesTransitionEditCommand::labelPos_old [private] |
Definition at line 224 of file commands.h.
Referenced by undo().
bool TwoStatesTransitionEditCommand::lo_new [private] |
Definition at line 226 of file commands.h.
Referenced by redo().
bool TwoStatesTransitionEditCommand::lo_old [private] |
Definition at line 226 of file commands.h.
Referenced by undo().
float TwoStatesTransitionEditCommand::ncurv_new [private] |
Definition at line 229 of file commands.h.
Referenced by redo().
float TwoStatesTransitionEditCommand::ncurv_old [private] |
Definition at line 229 of file commands.h.
Referenced by undo().
Definition at line 221 of file commands.h.
1.7.0