#include <commands.h>
 Collaboration diagram for StateStyleChangeCommand:Public Member Functions | |
| StateStyleChangeCommand (Editor *editor, int changeT, 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 | |
| QList< State * > | changedStates | 
| int | changeType | 
| QString | dimFillColor | 
| QString | dimFillColor_old | 
| QMap< State *, QString > | dimFillColorMap | 
| QString | dimLabelColor | 
| QString | dimLabelColor_old | 
| QMap< State *, QString > | dimLabelColorMap | 
| float | dimLineCoef | 
| float | dimLineCoef_old | 
| QMap< State *, float > | dimLineCoefMap | 
| QString | dimLineColor | 
| QString | dimLineColor_old | 
| QMap< State *, QString > | dimLineColorMap | 
| Qt::PenStyle | dimLineStyle | 
| Qt::PenStyle | dimLineStyle_old | 
| QMap< State *, Qt::PenStyle > | dimLineStyleMap | 
| Editor * | editor | 
| QString | fillColor | 
| QString | fillColor_old | 
| QMap< State *, QString > | fillColorMap | 
| Qt::BrushStyle | fillStatus | 
| Qt::BrushStyle | fillStatus_old | 
| QMap< State *, Qt::BrushStyle > | fillStatusMap | 
| QString | labelColor | 
| QString | labelColor_old | 
| QMap< State *, QString > | labelColorMap | 
| float | labelScale | 
| float | labelScale_old | 
| QMap< State *, float > | labelScaleMap | 
| QString | lineColor | 
| QString | lineColor_old | 
| QMap< State *, QString > | lineColorMap | 
| float | lineDoubleCoef | 
| float | lineDoubleCoef_old | 
| QMap< State *, float > | lineDoubleCoefMap | 
| float | lineDoubleSep | 
| float | lineDoubleSep_old | 
| QMap< State *, float > | lineDoubleSepMap | 
| Qt::PenStyle | lineStyle | 
| Qt::PenStyle | lineStyle_old | 
| QMap< State *, Qt::PenStyle > | lineStyleMap | 
| float | lineWidth | 
| float | lineWidth_old | 
| QMap< State *, float > | lineWidthMap | 
Definition at line 347 of file commands.h.
| StateStyleChangeCommand::StateStyleChangeCommand | ( | Editor * | editor, | |
| int | changeT, | |||
| 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 821 of file commands.cpp.
References State::dimStateFillColor, Editor::dimStateFillColor, State::dimStateLabelColor, Editor::dimStateLabelColor, State::dimStateLineCoef, Editor::dimStateLineCoef, State::dimStateLineColor, Editor::dimStateLineColor, State::dimStateLineStyle, Editor::dimStateLineStyle, Editor::getStateList(), State::stateFillColor, Editor::stateFillColor, State::stateFillStatus, Editor::stateFillStatus, State::stateLabelColor, Editor::stateLabelColor, State::stateLabelScale, Editor::stateLabelScale, State::stateLineColor, Editor::stateLineColor, State::stateLineDoubleCoef, Editor::stateLineDoubleCoef, State::stateLineDoubleSep, Editor::stateLineDoubleSep, State::stateLineStyle, Editor::stateLineStyle, State::stateLineWidth, and Editor::stateLineWidth.
 Here is the call graph for this function:| void StateStyleChangeCommand::redo | ( | ) | 
Definition at line 970 of file commands.cpp.
References changedStates, changeType, dimFillColor, dimLabelColor, dimLineColor, dimLineStyle, State::dimStateFillColor, Editor::dimStateFillColor, State::dimStateLabelColor, Editor::dimStateLabelColor, Editor::dimStateLineCoef, State::dimStateLineColor, Editor::dimStateLineColor, State::dimStateLineStyle, Editor::dimStateLineStyle, fillColor, fillStatus, labelColor, labelScale, lineColor, lineDoubleCoef, lineDoubleSep, lineStyle, lineWidth, State::setDimStateLineCoef(), State::setStateLabelScale(), State::setStateLineDoubleCoef(), State::setStateLineDoubleSep(), State::setStateLineWidth(), State::stateFillColor, Editor::stateFillColor, State::stateFillStatus, Editor::stateFillStatus, State::stateLabelColor, Editor::stateLabelColor, Editor::stateLabelScale, State::stateLineColor, Editor::stateLineColor, Editor::stateLineDoubleCoef, Editor::stateLineDoubleSep, State::stateLineStyle, Editor::stateLineStyle, Editor::stateLineWidth, and Editor::update().
 Here is the call graph for this function:| void StateStyleChangeCommand::undo | ( | ) | 
Definition at line 898 of file commands.cpp.
References changedStates, changeType, dimFillColor_old, dimFillColorMap, dimLabelColor_old, dimLabelColorMap, dimLineCoef_old, dimLineCoefMap, dimLineColor_old, dimLineColorMap, dimLineStyle_old, dimLineStyleMap, State::dimStateFillColor, Editor::dimStateFillColor, State::dimStateLabelColor, Editor::dimStateLabelColor, Editor::dimStateLineCoef, State::dimStateLineColor, Editor::dimStateLineColor, State::dimStateLineStyle, Editor::dimStateLineStyle, fillColor_old, fillColorMap, fillStatus_old, fillStatusMap, labelColor_old, labelColorMap, labelScale_old, labelScaleMap, lineColor_old, lineColorMap, lineDoubleCoef_old, lineDoubleCoefMap, lineDoubleSep_old, lineDoubleSepMap, lineStyle_old, lineStyleMap, lineWidth_old, lineWidthMap, State::setDimStateLineCoef(), State::setStateLabelScale(), State::setStateLineDoubleCoef(), State::setStateLineDoubleSep(), State::setStateLineWidth(), State::stateFillColor, Editor::stateFillColor, State::stateFillStatus, Editor::stateFillStatus, State::stateLabelColor, Editor::stateLabelColor, Editor::stateLabelScale, State::stateLineColor, Editor::stateLineColor, Editor::stateLineDoubleCoef, Editor::stateLineDoubleSep, State::stateLineStyle, Editor::stateLineStyle, Editor::stateLineWidth, and Editor::update().
 Here is the call graph for this function:QList<State *> StateStyleChangeCommand::changedStates [private] | 
        
Definition at line 363 of file commands.h.
int StateStyleChangeCommand::changeType [private] | 
        
Definition at line 361 of file commands.h.
QString StateStyleChangeCommand::dimFillColor [private] | 
        
Definition at line 395 of file commands.h.
Referenced by redo().
QString StateStyleChangeCommand::dimFillColor_old [private] | 
        
Definition at line 395 of file commands.h.
Referenced by undo().
QMap<State *, QString> StateStyleChangeCommand::dimFillColorMap [private] | 
        
Definition at line 377 of file commands.h.
Referenced by undo().
QString StateStyleChangeCommand::dimLabelColor [private] | 
        
Definition at line 394 of file commands.h.
Referenced by redo().
QString StateStyleChangeCommand::dimLabelColor_old [private] | 
        
Definition at line 394 of file commands.h.
Referenced by undo().
QMap<State *, QString> StateStyleChangeCommand::dimLabelColorMap [private] | 
        
Definition at line 376 of file commands.h.
Referenced by undo().
float StateStyleChangeCommand::dimLineCoef [private] | 
        
Definition at line 393 of file commands.h.
float StateStyleChangeCommand::dimLineCoef_old [private] | 
        
Definition at line 393 of file commands.h.
Referenced by undo().
QMap<State *, float> StateStyleChangeCommand::dimLineCoefMap [private] | 
        
Definition at line 375 of file commands.h.
Referenced by undo().
QString StateStyleChangeCommand::dimLineColor [private] | 
        
Definition at line 392 of file commands.h.
Referenced by redo().
QString StateStyleChangeCommand::dimLineColor_old [private] | 
        
Definition at line 392 of file commands.h.
Referenced by undo().
QMap<State *, QString> StateStyleChangeCommand::dimLineColorMap [private] | 
        
Definition at line 374 of file commands.h.
Referenced by undo().
Qt::PenStyle StateStyleChangeCommand::dimLineStyle [private] | 
        
Definition at line 391 of file commands.h.
Referenced by redo().
Qt::PenStyle StateStyleChangeCommand::dimLineStyle_old [private] | 
        
Definition at line 391 of file commands.h.
Referenced by undo().
QMap<State *, Qt::PenStyle> StateStyleChangeCommand::dimLineStyleMap [private] | 
        
Definition at line 373 of file commands.h.
Referenced by undo().
Editor* StateStyleChangeCommand::editor [private] | 
        
Definition at line 360 of file commands.h.
QString StateStyleChangeCommand::fillColor [private] | 
        
Definition at line 388 of file commands.h.
Referenced by redo().
QString StateStyleChangeCommand::fillColor_old [private] | 
        
Definition at line 388 of file commands.h.
Referenced by undo().
QMap<State *, QString> StateStyleChangeCommand::fillColorMap [private] | 
        
Definition at line 372 of file commands.h.
Referenced by undo().
Qt::BrushStyle StateStyleChangeCommand::fillStatus [private] | 
        
Definition at line 387 of file commands.h.
Referenced by redo().
Qt::BrushStyle StateStyleChangeCommand::fillStatus_old [private] | 
        
Definition at line 387 of file commands.h.
Referenced by undo().
QMap<State *, Qt::BrushStyle> StateStyleChangeCommand::fillStatusMap [private] | 
        
Definition at line 371 of file commands.h.
Referenced by undo().
QString StateStyleChangeCommand::labelColor [private] | 
        
Definition at line 385 of file commands.h.
Referenced by redo().
QString StateStyleChangeCommand::labelColor_old [private] | 
        
Definition at line 385 of file commands.h.
Referenced by undo().
QMap<State *, QString> StateStyleChangeCommand::labelColorMap [private] | 
        
Definition at line 369 of file commands.h.
Referenced by undo().
float StateStyleChangeCommand::labelScale [private] | 
        
Definition at line 386 of file commands.h.
Referenced by redo().
float StateStyleChangeCommand::labelScale_old [private] | 
        
Definition at line 386 of file commands.h.
Referenced by undo().
QMap<State *, float> StateStyleChangeCommand::labelScaleMap [private] | 
        
Definition at line 370 of file commands.h.
Referenced by undo().
QString StateStyleChangeCommand::lineColor [private] | 
        
Definition at line 384 of file commands.h.
Referenced by redo().
QString StateStyleChangeCommand::lineColor_old [private] | 
        
Definition at line 384 of file commands.h.
Referenced by undo().
QMap<State *, QString> StateStyleChangeCommand::lineColorMap [private] | 
        
Definition at line 368 of file commands.h.
Referenced by undo().
float StateStyleChangeCommand::lineDoubleCoef [private] | 
        
Definition at line 398 of file commands.h.
Referenced by redo().
float StateStyleChangeCommand::lineDoubleCoef_old [private] | 
        
Definition at line 398 of file commands.h.
Referenced by undo().
QMap<State *, float> StateStyleChangeCommand::lineDoubleCoefMap [private] | 
        
Definition at line 378 of file commands.h.
Referenced by undo().
float StateStyleChangeCommand::lineDoubleSep [private] | 
        
Definition at line 399 of file commands.h.
Referenced by redo().
float StateStyleChangeCommand::lineDoubleSep_old [private] | 
        
Definition at line 399 of file commands.h.
Referenced by undo().
QMap<State *, float> StateStyleChangeCommand::lineDoubleSepMap [private] | 
        
Definition at line 379 of file commands.h.
Referenced by undo().
Qt::PenStyle StateStyleChangeCommand::lineStyle [private] | 
        
Definition at line 382 of file commands.h.
Referenced by redo().
Qt::PenStyle StateStyleChangeCommand::lineStyle_old [private] | 
        
Definition at line 382 of file commands.h.
Referenced by undo().
QMap<State *, Qt::PenStyle> StateStyleChangeCommand::lineStyleMap [private] | 
        
Definition at line 366 of file commands.h.
Referenced by undo().
float StateStyleChangeCommand::lineWidth [private] | 
        
Definition at line 383 of file commands.h.
Referenced by redo().
float StateStyleChangeCommand::lineWidth_old [private] | 
        
Definition at line 383 of file commands.h.
Referenced by undo().
QMap<State *, float> StateStyleChangeCommand::lineWidthMap [private] | 
        
Definition at line 367 of file commands.h.
Referenced by undo().
 1.7.0