7 #include <QGraphicsSceneMouseEvent>
38 void paint(QPainter* p,
const QStyleOptionGraphicsItem*, QWidget*);
int portIndex()
Definition: Port.h:35
int portClass()
Definition: Port.h:32
void mouseReleaseEvent(QGraphicsSceneMouseEvent *ev)
Definition: Port.cpp:68
void setPortType(UIPortType pt)
Definition: Port.h:30
UIItem QGraphicsObject class.
Definition: UIItem.h:15
void setPortIndex(int pi)
Definition: Port.h:36
virtual void hoverEnterEvent(QGraphicsSceneHoverEvent *ev)
Definition: Port.cpp:39
void paint(QPainter *p, const QStyleOptionGraphicsItem *, QWidget *)
Definition: Port.cpp:17
UIPortType portType()
Definition: Port.h:29
UIPortType
port type - in or out
Definition: CommonTypes.h:21
Port(UIItem *parent=0)
Definition: Port.cpp:7
Port QGraphicsItem class.
Definition: Port.h:18
virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent *ev)
Definition: Port.cpp:48
void setPortClass(int pc)
Definition: Port.h:33
void mousePressEvent(QGraphicsSceneMouseEvent *ev)
Definition: Port.cpp:57