![]() |
TinkerCell Core 1.0
TinkerCell's Core library providing all basic functionalities
|
this command changes the size, angle, and orientation of an item More...
#include <UndoCommands.h>
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 () |
this command changes the size, angle, and orientation of an item
Definition at line 359 of file UndoCommands.h.
Tinkercell::TransformCommand::TransformCommand | ( | const QString & | name, |
QGraphicsScene * | scene, | ||
QGraphicsItem * | item, | ||
const QPointF & | sizechange, | ||
qreal | anglechange, | ||
bool | VFlip, | ||
bool | HFlip | ||
) |
constructor
QString | name of command |
GraphicsScene* | scene where change happened |
QGraphicsItem* | item that is affected |
QPointF | change in size (w,h) |
double | angle change |
boolean | flip vertically |
boolean | flip 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
QString | name of command |
GraphicsScene* | scene where change happened |
QList<QGraphicsItem | *>& items that are affected |
QList<QPointF>& | change in size (w,h) |
QList<qreal>& | angle change |
boolean | flip vertically (all items) |
boolean | flip horizontally (all items) |
Definition at line 1750 of file UndoCommands.cpp.
void Tinkercell::TransformCommand::redo | ( | ) |
void Tinkercell::TransformCommand::undo | ( | ) |