#include <commands.h>
Public Member Functions | |
StateEditExtendedCommand (State *state, Qt::PenStyle lineS, float lineW, const QString &lineC, const QString &labelC, float labelS, Qt::BrushStyle fillS, const QString &fillC, Qt::PenStyle dimLineS, const QString &dimLineC, float dimLineCoef, const QString &dimLabelC, const QString &dimFillC, float lineDC, float lineDS, QUndoCommand *parent=0) | |
void | redo () |
void | undo () |
Private Attributes | |
QString | dimFillColor |
QString | dimFillColor_old |
QString | dimLabelColor |
QString | dimLabelColor_old |
float | dimLineCoef |
float | dimLineCoef_old |
QString | dimLineColor |
QString | dimLineColor_old |
Qt::PenStyle | dimLineStyle |
Qt::PenStyle | dimLineStyle_old |
QString | fillColor |
QString | fillColor_old |
Qt::BrushStyle | fillStatus |
Qt::BrushStyle | fillStatus_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 |
Qt::PenStyle | lineStyle |
Qt::PenStyle | lineStyle_old |
float | lineWidth |
float | lineWidth_old |
State * | state |
Definition at line 123 of file commands.h.
StateEditExtendedCommand::StateEditExtendedCommand | ( | State * | state, | |
Qt::PenStyle | lineS, | |||
float | lineW, | |||
const QString & | lineC, | |||
const QString & | labelC, | |||
float | labelS, | |||
Qt::BrushStyle | fillS, | |||
const QString & | fillC, | |||
Qt::PenStyle | dimLineS, | |||
const QString & | dimLineC, | |||
float | dimLineCoef, | |||
const QString & | dimLabelC, | |||
const QString & | dimFillC, | |||
float | lineDC, | |||
float | lineDS, | |||
QUndoCommand * | parent = 0 | |||
) |
Definition at line 312 of file commands.cpp.
References State::dimStateFillColor, State::dimStateLabelColor, State::dimStateLineCoef, State::dimStateLineColor, State::dimStateLineStyle, State::stateFillColor, State::stateFillStatus, State::stateLabelColor, State::stateLabelScale, State::stateLineColor, State::stateLineDoubleCoef, State::stateLineDoubleSep, State::stateLineStyle, and State::stateLineWidth.
void StateEditExtendedCommand::redo | ( | ) |
Definition at line 367 of file commands.cpp.
References State::adjustTransitions(), createCommandString(), dimFillColor, dimLabelColor, dimLineColor, dimLineStyle, State::dimStateFillColor, State::dimStateLabelColor, State::dimStateLineColor, State::dimStateLineStyle, fillColor, fillStatus, labelColor, labelScale, lineColor, lineDoubleCoef, lineDoubleSep, lineStyle, lineWidth, State::setDimStateLineCoef(), State::setStateLabelScale(), State::setStateLineDoubleCoef(), State::setStateLineDoubleSep(), State::setStateLineWidth(), State::stateFillColor, State::stateFillStatus, State::stateLabelColor, State::stateLineColor, and State::stateLineStyle.
void StateEditExtendedCommand::undo | ( | ) |
Definition at line 342 of file commands.cpp.
References State::adjustTransitions(), createCommandString(), dimFillColor_old, dimLabelColor_old, dimLineCoef_old, dimLineColor_old, dimLineStyle_old, State::dimStateFillColor, State::dimStateLabelColor, State::dimStateLineColor, State::dimStateLineStyle, fillColor_old, fillStatus_old, labelColor_old, labelScale_old, lineColor_old, lineDoubleCoef_old, lineDoubleSep_old, lineStyle_old, lineWidth_old, State::setDimStateLineCoef(), State::setStateLabelScale(), State::setStateLineDoubleCoef(), State::setStateLineDoubleSep(), State::setStateLineWidth(), State::stateFillColor, State::stateFillStatus, State::stateLabelColor, State::stateLineColor, and State::stateLineStyle.
QString StateEditExtendedCommand::dimFillColor [private] |
Definition at line 150 of file commands.h.
Referenced by redo().
QString StateEditExtendedCommand::dimFillColor_old [private] |
Definition at line 150 of file commands.h.
Referenced by undo().
QString StateEditExtendedCommand::dimLabelColor [private] |
Definition at line 149 of file commands.h.
Referenced by redo().
QString StateEditExtendedCommand::dimLabelColor_old [private] |
Definition at line 149 of file commands.h.
Referenced by undo().
float StateEditExtendedCommand::dimLineCoef [private] |
Definition at line 148 of file commands.h.
float StateEditExtendedCommand::dimLineCoef_old [private] |
Definition at line 148 of file commands.h.
Referenced by undo().
QString StateEditExtendedCommand::dimLineColor [private] |
Definition at line 147 of file commands.h.
Referenced by redo().
QString StateEditExtendedCommand::dimLineColor_old [private] |
Definition at line 147 of file commands.h.
Referenced by undo().
Qt::PenStyle StateEditExtendedCommand::dimLineStyle [private] |
Definition at line 146 of file commands.h.
Referenced by redo().
Qt::PenStyle StateEditExtendedCommand::dimLineStyle_old [private] |
Definition at line 146 of file commands.h.
Referenced by undo().
QString StateEditExtendedCommand::fillColor [private] |
Definition at line 143 of file commands.h.
Referenced by redo().
QString StateEditExtendedCommand::fillColor_old [private] |
Definition at line 143 of file commands.h.
Referenced by undo().
Qt::BrushStyle StateEditExtendedCommand::fillStatus [private] |
Definition at line 142 of file commands.h.
Referenced by redo().
Qt::BrushStyle StateEditExtendedCommand::fillStatus_old [private] |
Definition at line 142 of file commands.h.
Referenced by undo().
QString StateEditExtendedCommand::labelColor [private] |
Definition at line 140 of file commands.h.
Referenced by redo().
QString StateEditExtendedCommand::labelColor_old [private] |
Definition at line 140 of file commands.h.
Referenced by undo().
float StateEditExtendedCommand::labelScale [private] |
Definition at line 141 of file commands.h.
Referenced by redo().
float StateEditExtendedCommand::labelScale_old [private] |
Definition at line 141 of file commands.h.
Referenced by undo().
QString StateEditExtendedCommand::lineColor [private] |
Definition at line 139 of file commands.h.
Referenced by redo().
QString StateEditExtendedCommand::lineColor_old [private] |
Definition at line 139 of file commands.h.
Referenced by undo().
float StateEditExtendedCommand::lineDoubleCoef [private] |
Definition at line 153 of file commands.h.
Referenced by redo().
float StateEditExtendedCommand::lineDoubleCoef_old [private] |
Definition at line 153 of file commands.h.
Referenced by undo().
float StateEditExtendedCommand::lineDoubleSep [private] |
Definition at line 154 of file commands.h.
Referenced by redo().
float StateEditExtendedCommand::lineDoubleSep_old [private] |
Definition at line 154 of file commands.h.
Referenced by undo().
Qt::PenStyle StateEditExtendedCommand::lineStyle [private] |
Definition at line 137 of file commands.h.
Referenced by redo().
Qt::PenStyle StateEditExtendedCommand::lineStyle_old [private] |
Definition at line 137 of file commands.h.
Referenced by undo().
float StateEditExtendedCommand::lineWidth [private] |
Definition at line 138 of file commands.h.
Referenced by redo().
float StateEditExtendedCommand::lineWidth_old [private] |
Definition at line 138 of file commands.h.
Referenced by undo().
State* StateEditExtendedCommand::state [private] |
Definition at line 135 of file commands.h.