![]() |
TinkerCell Core 1.0
TinkerCell's Core library providing all basic functionalities
|
#include <QHash>
#include "NodeGraphicsItem.h"
#include "ConnectionGraphicsItem.h"
#include "TextGraphicsItem.h"
#include "ItemHandle.h"
#include "UndoCommands.h"
#include "MainWindow.h"
#include "Tool.h"
#include "CloneItems.h"
Go to the source code of this file.
Namespaces | |
namespace | Tinkercell |
Functions | |
QGraphicsItem * | Tinkercell::getGraphicsItem (QGraphicsItem *item) |
gets the parent of this item that is a node, text, connection, or control point | |
QGraphicsItem * | Tinkercell::cloneGraphicsItem (QGraphicsItem *item) |
Clone a graphics item. The item handle will NOT be duplicated. | |
QList< QGraphicsItem * > | Tinkercell::cloneGraphicsItems (QList< QGraphicsItem * > &items, QList< ItemHandle * > &newHandles, bool deep=true) |
Clone a list of graphics items. | |
QList< ItemHandle * > | Tinkercell::cloneHandles (const QList< ItemHandle * > &) |
clone given handles |