#include <commands.h>
Public Member Functions | |
TransitionEditWithDelCommand (Editor *editor, Transition *tr_backup, Transition *tr_new, QUndoCommand *parent=0) | |
~TransitionEditWithDelCommand () | |
void | copyExtendedParameters (Transition *tr1, Transition *const tr2) |
void | redo () |
void | undo () |
Private Attributes | |
Editor * | editor |
Transition * | tr_backup |
Transition * | tr_new |
bool | wasUndo |
Definition at line 232 of file commands.h.
TransitionEditWithDelCommand::TransitionEditWithDelCommand | ( | Editor * | editor, | |
Transition * | tr_backup, | |||
Transition * | tr_new, | |||
QUndoCommand * | parent = 0 | |||
) |
Definition at line 535 of file commands.cpp.
TransitionEditWithDelCommand::~TransitionEditWithDelCommand | ( | ) |
Definition at line 539 of file commands.cpp.
References wasUndo.
void TransitionEditWithDelCommand::copyExtendedParameters | ( | Transition * | tr1, | |
Transition *const | tr2 | |||
) |
Definition at line 583 of file commands.cpp.
References Transition::dimEdgeLabelColor, Transition::dimEdgeLineCoef, Transition::dimEdgeLineColor, Transition::dimEdgeLineStyle, Transition::edgeLabelColor, Transition::edgeLabelScale, Transition::edgeLineBorderCoef, Transition::edgeLineBorderColor, Transition::edgeLineColor, Transition::edgeLineDblCoef, Transition::edgeLineDblSep, Transition::edgeLineDblStatus, Transition::edgeLineStyle, Transition::edgeLineWidth, Transition::setDimEdgeLineCoef(), Transition::setEdgeLabelScale(), and Transition::setEdgeLineWidth().
Referenced by redo().
void TransitionEditWithDelCommand::redo | ( | ) |
Definition at line 565 of file commands.cpp.
References Editor::addToListsAndScene(), Transition::adjust(), copyExtendedParameters(), Transition::nextLabels, Editor::removeFromListsAndScene(), and wasUndo.
void TransitionEditWithDelCommand::undo | ( | ) |
Definition at line 550 of file commands.cpp.
References Editor::addToListsAndScene(), Transition::adjust(), Transition::nextLabels, Editor::removeFromListsAndScene(), and wasUndo.
Editor* TransitionEditWithDelCommand::editor [private] |
Definition at line 244 of file commands.h.
Definition at line 245 of file commands.h.
Transition * TransitionEditWithDelCommand::tr_new [private] |
Definition at line 245 of file commands.h.
bool TransitionEditWithDelCommand::wasUndo [private] |
Definition at line 247 of file commands.h.
Referenced by redo(), undo(), and ~TransitionEditWithDelCommand().