7 #ifndef GUI_NODE_WIDGET_H_
8 #define GUI_NODE_WIDGET_H_
10 #include <QGraphicsEllipseItem>
14 #include <QGraphicsItem>
16 #include <QGraphicsScene>
18 #include <QStyleOptionGraphicsItem>
20 #include "edge_widget.h"
85 QPainterPath
shape()
const;
96 void paint ( QPainter * painter,
const QStyleOptionGraphicsItem * option, QWidget * widget = 0 );
132 QModelIndex get_index_in_model();
134 void set_index_in_model(QModelIndex);
138 QVariant
itemChange(GraphicsItemChange change,
const QVariant &value);
172 typedef std::set<EdgeWidget*, CompareEdgeByNodes> edge_list_;
Comparator used when adding edges to set.
Definition: node_widget.h:25