Public Types | Public Member Functions | Protected Member Functions | List of all members
GraphicsPortItem Class Reference
Inheritance diagram for GraphicsPortItem:
Inheritance graph
Collaboration diagram for GraphicsPortItem:
Collaboration graph

Public Types

enum  PortType { Slot, Signal }
enum  { Type = UserType + 2 }

Public Member Functions

 GraphicsPortItem (QGraphicsItem *parent)
int type () const
void setType (PortType pt)
PortType getType ()
void setName (QString s)
QString getName ()
bool isMarkedForDeletion ()
void markForDeletion ()
void addLink (GraphicsLinkItem *lnk)
void showName ()
void hideName ()
void removeLinkItem (GraphicsLinkItem *item)
void fireUpdate ()

Protected Member Functions

virtual void hoverEnterEvent (QGraphicsSceneHoverEvent *)
virtual void hoverLeaveEvent (QGraphicsSceneHoverEvent *)
virtual void mousePressEvent (QGraphicsSceneMouseEvent *event)
virtual void mouseMoveEvent (QGraphicsSceneMouseEvent *event)
virtual void mouseReleaseEvent (QGraphicsSceneMouseEvent *event)
virtual void contextMenuEvent (QGraphicsSceneContextMenuEvent *event)
virtual QVariant itemChange (GraphicsItemChange change, const QVariant &value)
virtual void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)

Detailed Description

Definition at line 42 of file graphicsportitem.h.

The documentation for this class was generated from the following files: