![]() |
TinkerCell Core 1.0
TinkerCell's Core library providing all basic functionalities
|
#include <QList>
#include <QQueue>
#include <QStack>
#include <QHash>
#include <QPair>
#include <QUndoCommand>
#include <QGraphicsItem>
#include "DataTable.h"
#include "ItemFamily.h"
Go to the source code of this file.
Classes | |
class | Tinkercell::ItemData |
This class is used to store information about nodes or connections. It contains a hashtable of data tables, which is used by different tools to store specific data. The versions queue can be used to keep previous versions of the data. More... | |
class | Tinkercell::ItemHandle |
The ItemHandle represents a complete object in the network, whether it is a node or a connection. The ItemHandle contains the name of the object and pointers to all the QGraphicsItems that are used to represent the object. Tools associated with the object can be stored within the ItemHandle as well. The ItemHandle can also optionally contain an ItemFamily, which can be used to distinguish different types of nodes or connections, if needed. Each ItemHandle can contain one parent. Several functions are available for convinently getting the parents and children of an ItemHandle. More... | |
class | Tinkercell::NodeHandle |
The handles are used to bring together data and graphics items. Node Handle contains pointers to all the graphics items that belong to it, the tools that apply to this item, the data for this item, and the family that it belongs with. More... | |
class | Tinkercell::ConnectionHandle |
The handles are used to bring together data and graphics items. Connection Handle contains pointers to all the graphics items that belong to it, the tools that apply to this item, the data for this item, the family that it belongs with, and pointers to nodes connected (in and out) More... | |
Namespaces | |
namespace | Tinkercell |
Functions | |
QString | Tinkercell::RemoveDisallowedCharactersFromName (const QString &) |
This function replaces disallowed characters in a name string. | |
ItemHandle * | Tinkercell::getHandle (QGraphicsItem *) |
get the handle from a graphics item | |
QList< ItemHandle * > | Tinkercell::getHandle (const QList< QGraphicsItem * > &, bool includeNull=true) |
get the handles from graphics items | |
void | Tinkercell::setHandle (QGraphicsItem *, ItemHandle *) |
set the handle of a graphics item (use 0 to remove handle) |