Public Member Functions | Private Attributes

StateStyleChangeCommand Class Reference

#include <commands.h>

Collaboration diagram for StateStyleChangeCommand:

List of all members.

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
Editoreditor
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

Detailed Description

Definition at line 347 of file commands.h.


Constructor & Destructor Documentation

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 
)

Member Function Documentation

void StateStyleChangeCommand::redo (  ) 
void StateStyleChangeCommand::undo (  ) 

Member Data Documentation

Definition at line 363 of file commands.h.

Referenced by redo(), and undo().

Definition at line 361 of file commands.h.

Referenced by redo(), and undo().

Definition at line 395 of file commands.h.

Referenced by redo().

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().

Definition at line 394 of file commands.h.

Referenced by redo().

Definition at line 394 of file commands.h.

Referenced by undo().

Definition at line 376 of file commands.h.

Referenced by undo().

Definition at line 393 of file commands.h.

Definition at line 393 of file commands.h.

Referenced by undo().

Definition at line 375 of file commands.h.

Referenced by undo().

Definition at line 392 of file commands.h.

Referenced by redo().

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().

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().

Definition at line 360 of file commands.h.

Definition at line 388 of file commands.h.

Referenced by redo().

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().

Definition at line 385 of file commands.h.

Referenced by redo().

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().

Definition at line 386 of file commands.h.

Referenced by redo().

Definition at line 386 of file commands.h.

Referenced by undo().

Definition at line 370 of file commands.h.

Referenced by undo().

Definition at line 384 of file commands.h.

Referenced by redo().

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().

Definition at line 398 of file commands.h.

Referenced by redo().

Definition at line 398 of file commands.h.

Referenced by undo().

Definition at line 378 of file commands.h.

Referenced by undo().

Definition at line 399 of file commands.h.

Referenced by redo().

Definition at line 399 of file commands.h.

Referenced by undo().

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().

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().

Definition at line 383 of file commands.h.

Referenced by redo().

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().


The documentation for this class was generated from the following files: