22 #include <QGraphicsItem>
38 QString label()
const;
39 void setLabel(
const QString &label);
41 QRectF boundingRect()
const;
42 void paint(QPainter *painter,
const QStyleOptionGraphicsItem *option,
44 void setAttribute(
const QString &label,
const QString &value);
45 QString getAttribute(
const QString &name)
const;
47 void setIcon(
const QImage &icon);
49 enum { Type = UserType + 2 };
Node item.
Definition: QGVNode.h:33
Edge item.
Definition: QGVEdge.h:34
SubGraph item.
Definition: QGVSubGraph.h:35
int type() const
Definition: QGVNode.h:50
GraphViz interactive scene.
Definition: QGVScene.h:40
#define QGVCORE_EXPORT
Definition: qgv.h:33
Definition: QGVNodePrivate.h:24