TinkerCell Core 1.0
TinkerCell's Core library providing all basic functionalities
Public Member Functions
Tinkercell::TransformCommand Class Reference

this command changes the size, angle, and orientation of an item More...

#include <UndoCommands.h>

Inheritance diagram for Tinkercell::TransformCommand:
Inheritance graph
[legend]
Collaboration diagram for Tinkercell::TransformCommand:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TransformCommand (const QString &name, QGraphicsScene *scene, QGraphicsItem *item, const QPointF &sizechange, qreal anglechange, bool VFlip, bool HFlip)
 constructor
 TransformCommand (const QString &name, QGraphicsScene *scene, const QList< QGraphicsItem * > &items, const QList< QPointF > &sizechange, const QList< qreal > &anglechange, const QList< bool > &VFlip, const QList< bool > &HFlip)
 constructor
void redo ()
void undo ()

Detailed Description

this command changes the size, angle, and orientation of an item

Definition at line 359 of file UndoCommands.h.


Constructor & Destructor Documentation

Tinkercell::TransformCommand::TransformCommand ( const QString &  name,
QGraphicsScene *  scene,
QGraphicsItem *  item,
const QPointF &  sizechange,
qreal  anglechange,
bool  VFlip,
bool  HFlip 
)

constructor

Parameters:
QStringname of command
GraphicsScene*scene where change happened
QGraphicsItem*item that is affected
QPointFchange in size (w,h)
doubleangle change
booleanflip vertically
booleanflip horizontally

Definition at line 1734 of file UndoCommands.cpp.

Tinkercell::TransformCommand::TransformCommand ( const QString &  name,
QGraphicsScene *  scene,
const QList< QGraphicsItem * > &  items,
const QList< QPointF > &  sizechange,
const QList< qreal > &  anglechange,
const QList< bool > &  VFlip,
const QList< bool > &  HFlip 
)

constructor

Parameters:
QStringname of command
GraphicsScene*scene where change happened
QList<QGraphicsItem*>& items that are affected
QList<QPointF>&change in size (w,h)
QList<qreal>&angle change
booleanflip vertically (all items)
booleanflip horizontally (all items)

Definition at line 1750 of file UndoCommands.cpp.


Member Function Documentation

void Tinkercell::TransformCommand::redo ( )

Definition at line 1764 of file UndoCommands.cpp.

Here is the call graph for this function:

void Tinkercell::TransformCommand::undo ( )

Definition at line 1808 of file UndoCommands.cpp.

Here is the call graph for this function:


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines