TinkerCell Core 1.0
TinkerCell's Core library providing all basic functionalities
Classes | Namespaces | Functions
ConnectionGraphicsItem.h File Reference
#include <math.h>
#include <QtDebug>
#include <QString>
#include <QColor>
#include <QPointF>
#include <QPainter>
#include <QGraphicsEllipseItem>
#include <QGraphicsItem>
#include <QStyleOptionGraphicsItem>
#include <QGraphicsScene>
#include "NodeGraphicsItem.h"
Include dependency graph for ConnectionGraphicsItem.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Tinkercell::ArrowHeadItem
 A node graphics item that is used to draw arrow heads on connection items. More...
class  Tinkercell::ConnectionGraphicsItem
 A graphics nodes item that draws connection between two or more nodes and the arrow heads at the ends. More...
class  Tinkercell::ConnectionGraphicsItem::ControlPoint
 A control point with a pointer to a ConnectionGraphicsItem. More...
class  Tinkercell::ConnectionGraphicsItem::CurveSegment
 A set of control points and two arrow heads. More...

Namespaces

namespace  Tinkercell

Functions

QPointF Tinkercell::pointOnEdge (const QRectF &rect0, const QPointF &p1, qreal dist, bool straight)
 gets the point on the edge of the rect such that it is in the same line as the center of the rect and the point (arg)
QPointF Tinkercell::pointOnEdge (const NodeGraphicsItem &node, const QPointF &pt, qreal dist, bool straight)
 gets the point on the edge of the shape such that it is in the same line as the center of the rect and the point (arg)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines