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