60 QList<Wire*> Wires()
const;
62 enum { Type = UserType + 1 };
63 int type()
const {
return Type; }
65 QRectF boundingRect()
const;
66 QPainterPath shape()
const;
67 void paint(QPainter* painter,
const QStyleOptionGraphicsItem* option,
69 QPoint getPortLocation(
int);
76 QVariant itemChange(GraphicsItemChange change,
const QVariant& value);
78 void mousePressEvent(QGraphicsSceneMouseEvent* event);
79 void mouseReleaseEvent(QGraphicsSceneMouseEvent* event);
82 QList<Wire*> WireList;