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

this command performs an removal and allows redo/undo of that removal More...

#include <UndoCommands.h>

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

List of all members.

Public Member Functions

 RemoveGraphicsCommand (const QString &name, QGraphicsItem *item, bool updataDataFields=true)
 constructor
 RemoveGraphicsCommand (const QString &name, const QList< QGraphicsItem * > &items, bool updateDataFields=true)
 constructor
void redo ()
 redo the change
void undo ()
 undo the change

Detailed Description

this command performs an removal and allows redo/undo of that removal

Definition at line 208 of file UndoCommands.h.


Constructor & Destructor Documentation

Tinkercell::RemoveGraphicsCommand::RemoveGraphicsCommand ( const QString &  name,
QGraphicsItem *  item,
bool  updataDataFields = true 
)

constructor

Parameters:
QStringname of command
GraphicsScene*where change happened
QGraphicsItem*item that is removed
boolupdate data of other items where removed items might occur (default=true)

Definition at line 1011 of file UndoCommands.cpp.

Here is the call graph for this function:

Tinkercell::RemoveGraphicsCommand::RemoveGraphicsCommand ( const QString &  name,
const QList< QGraphicsItem * > &  items,
bool  updateDataFields = true 
)

constructor

Parameters:
QStringname of command
GraphicsScene*where change happened
QList<QGraphicsItem*>&items that are removed
boolupdate data of other items where removed items might occur (default=true)

Definition at line 1023 of file UndoCommands.cpp.

Here is the call graph for this function:


Member Function Documentation

void Tinkercell::RemoveGraphicsCommand::redo ( )

redo the change

Definition at line 1037 of file UndoCommands.cpp.

Here is the call graph for this function:

void Tinkercell::RemoveGraphicsCommand::undo ( )

undo the change

Definition at line 1354 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