#include <commands.h>
Public Member Functions | |
TransitionEditExtendedCommand (Transition *tr, Qt::PenStyle lineS, float lineW, const QString &lineC, const QString &labelC, float labelS, bool lineDoubleS, Qt::PenStyle dimLineS, const QString &dimLineC, float dimLineCoef, const QString &dimLabelC, float borderCoef, const QString &borderColor, float lineDC, float lineDS, QUndoCommand *parent=0) | |
void | redo () |
void | undo () |
Private Attributes | |
float | borderCoef |
float | borderCoef_old |
QString | borderColor |
QString | borderColor_old |
QString | dimLabelColor |
QString | dimLabelColor_old |
float | dimLineCoef |
float | dimLineCoef_old |
QString | dimLineColor |
QString | dimLineColor_old |
Qt::PenStyle | dimLineStyle |
Qt::PenStyle | dimLineStyle_old |
QString | labelColor |
QString | labelColor_old |
float | labelScale |
float | labelScale_old |
QString | lineColor |
QString | lineColor_old |
float | lineDoubleCoef |
float | lineDoubleCoef_old |
float | lineDoubleSep |
float | lineDoubleSep_old |
bool | lineDoubleStatus |
bool | lineDoubleStatus_old |
Qt::PenStyle | lineStyle |
Qt::PenStyle | lineStyle_old |
float | lineWidth |
float | lineWidth_old |
Transition * | tr |
Definition at line 250 of file commands.h.
TransitionEditExtendedCommand::TransitionEditExtendedCommand | ( | Transition * | tr, | |
Qt::PenStyle | lineS, | |||
float | lineW, | |||
const QString & | lineC, | |||
const QString & | labelC, | |||
float | labelS, | |||
bool | lineDoubleS, | |||
Qt::PenStyle | dimLineS, | |||
const QString & | dimLineC, | |||
float | dimLineCoef, | |||
const QString & | dimLabelC, | |||
float | borderCoef, | |||
const QString & | borderColor, | |||
float | lineDC, | |||
float | lineDS, | |||
QUndoCommand * | parent = 0 | |||
) |
Definition at line 609 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, and Transition::edgeLineWidth.
void TransitionEditExtendedCommand::redo | ( | ) |
Definition at line 663 of file commands.cpp.
References Transition::dimEdgeLabelColor, Transition::dimEdgeLineColor, Transition::dimEdgeLineStyle, dimLabelColor, dimLineColor, dimLineStyle, Transition::edgeLabelColor, Transition::edgeLineBorderCoef, Transition::edgeLineBorderColor, Transition::edgeLineColor, Transition::edgeLineDblCoef, Transition::edgeLineDblSep, Transition::edgeLineDblStatus, Transition::edgeLineStyle, labelColor, labelScale, lineColor, lineDoubleCoef, lineDoubleSep, lineDoubleStatus, lineStyle, lineWidth, Transition::setDimEdgeLineCoef(), Transition::setEdgeLabelScale(), and Transition::setEdgeLineWidth().
void TransitionEditExtendedCommand::undo | ( | ) |
Definition at line 640 of file commands.cpp.
References borderCoef_old, borderColor_old, Transition::dimEdgeLabelColor, Transition::dimEdgeLineColor, Transition::dimEdgeLineStyle, dimLabelColor_old, dimLineCoef_old, dimLineColor_old, dimLineStyle_old, Transition::edgeLabelColor, Transition::edgeLineBorderCoef, Transition::edgeLineBorderColor, Transition::edgeLineColor, Transition::edgeLineDblCoef, Transition::edgeLineDblSep, Transition::edgeLineDblStatus, Transition::edgeLineStyle, labelColor_old, labelScale_old, lineColor_old, lineDoubleCoef_old, lineDoubleSep_old, lineDoubleStatus_old, lineStyle_old, lineWidth_old, Transition::setDimEdgeLineCoef(), Transition::setEdgeLabelScale(), and Transition::setEdgeLineWidth().
float TransitionEditExtendedCommand::borderCoef [private] |
Definition at line 278 of file commands.h.
float TransitionEditExtendedCommand::borderCoef_old [private] |
Definition at line 278 of file commands.h.
Referenced by undo().
QString TransitionEditExtendedCommand::borderColor [private] |
Definition at line 279 of file commands.h.
QString TransitionEditExtendedCommand::borderColor_old [private] |
Definition at line 279 of file commands.h.
Referenced by undo().
QString TransitionEditExtendedCommand::dimLabelColor [private] |
Definition at line 275 of file commands.h.
Referenced by redo().
QString TransitionEditExtendedCommand::dimLabelColor_old [private] |
Definition at line 275 of file commands.h.
Referenced by undo().
float TransitionEditExtendedCommand::dimLineCoef [private] |
Definition at line 274 of file commands.h.
float TransitionEditExtendedCommand::dimLineCoef_old [private] |
Definition at line 274 of file commands.h.
Referenced by undo().
QString TransitionEditExtendedCommand::dimLineColor [private] |
Definition at line 273 of file commands.h.
Referenced by redo().
QString TransitionEditExtendedCommand::dimLineColor_old [private] |
Definition at line 273 of file commands.h.
Referenced by undo().
Qt::PenStyle TransitionEditExtendedCommand::dimLineStyle [private] |
Definition at line 272 of file commands.h.
Referenced by redo().
Qt::PenStyle TransitionEditExtendedCommand::dimLineStyle_old [private] |
Definition at line 272 of file commands.h.
Referenced by undo().
QString TransitionEditExtendedCommand::labelColor [private] |
Definition at line 267 of file commands.h.
Referenced by redo().
QString TransitionEditExtendedCommand::labelColor_old [private] |
Definition at line 267 of file commands.h.
Referenced by undo().
float TransitionEditExtendedCommand::labelScale [private] |
Definition at line 268 of file commands.h.
Referenced by redo().
float TransitionEditExtendedCommand::labelScale_old [private] |
Definition at line 268 of file commands.h.
Referenced by undo().
QString TransitionEditExtendedCommand::lineColor [private] |
Definition at line 266 of file commands.h.
Referenced by redo().
QString TransitionEditExtendedCommand::lineColor_old [private] |
Definition at line 266 of file commands.h.
Referenced by undo().
float TransitionEditExtendedCommand::lineDoubleCoef [private] |
Definition at line 282 of file commands.h.
Referenced by redo().
float TransitionEditExtendedCommand::lineDoubleCoef_old [private] |
Definition at line 282 of file commands.h.
Referenced by undo().
float TransitionEditExtendedCommand::lineDoubleSep [private] |
Definition at line 283 of file commands.h.
Referenced by redo().
float TransitionEditExtendedCommand::lineDoubleSep_old [private] |
Definition at line 283 of file commands.h.
Referenced by undo().
bool TransitionEditExtendedCommand::lineDoubleStatus [private] |
Definition at line 269 of file commands.h.
Referenced by redo().
bool TransitionEditExtendedCommand::lineDoubleStatus_old [private] |
Definition at line 269 of file commands.h.
Referenced by undo().
Qt::PenStyle TransitionEditExtendedCommand::lineStyle [private] |
Definition at line 264 of file commands.h.
Referenced by redo().
Qt::PenStyle TransitionEditExtendedCommand::lineStyle_old [private] |
Definition at line 264 of file commands.h.
Referenced by undo().
float TransitionEditExtendedCommand::lineWidth [private] |
Definition at line 265 of file commands.h.
Referenced by redo().
float TransitionEditExtendedCommand::lineWidth_old [private] |
Definition at line 265 of file commands.h.
Referenced by undo().
Transition* TransitionEditExtendedCommand::tr [private] |
Definition at line 262 of file commands.h.