![]() |
TinkerCell Core 1.0
TinkerCell's Core library providing all basic functionalities
|
this command inserts new handles to a NetworkHandle More...
#include <UndoCommands.h>
Public Member Functions | |
InsertHandlesCommand (TextEditor *, const QList< ItemHandle * > &, bool checkNames=true) | |
constructor | |
InsertHandlesCommand (TextEditor *, ItemHandle *, bool checkNames=true) | |
constructor | |
~InsertHandlesCommand () | |
destructor. deletes all text items and their handles (if not containing any graphics items) | |
void | redo () |
redo the change | |
void | undo () |
undo the change |
this command inserts new handles to a NetworkHandle
Definition at line 50 of file UndoCommands.h.
Tinkercell::InsertHandlesCommand::InsertHandlesCommand | ( | TextEditor * | textEditor, |
const QList< ItemHandle * > & | list, | ||
bool | checkNames = true |
||
) |
constructor
NetworkHandle* | window where items are inserted |
QList<ItemHandle*> | new items |
bool | check for uniqueness of names before inserting |
Definition at line 265 of file UndoCommands.cpp.
Tinkercell::InsertHandlesCommand::InsertHandlesCommand | ( | TextEditor * | textEditor, |
ItemHandle * | h, | ||
bool | checkNames = true |
||
) |
constructor
NetworkHandle* | window where items are inserted |
ItemHandle* | new item |
bool | check for uniqueness of names before inserting |
Definition at line 282 of file UndoCommands.cpp.
Tinkercell::InsertHandlesCommand::~InsertHandlesCommand | ( | ) |
destructor. deletes all text items and their handles (if not containing any graphics items)
Definition at line 252 of file UndoCommands.cpp.
void Tinkercell::InsertHandlesCommand::redo | ( | ) |
redo the change
Definition at line 297 of file UndoCommands.cpp.
void Tinkercell::InsertHandlesCommand::undo | ( | ) |
undo the change
Definition at line 369 of file UndoCommands.cpp.