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

Public Types

enum  { Type = UserType + 1 }

Public Member Functions

 GraphicsComponentItem (ARCSAbstractComponent *aac)
int type () const
void addSignal (QString s, bool updateSheet=true)
void addSlot (QString s, bool updateSheet=true)
bool isMarkedForDeletion ()
void markForDeletion ()
void removePort (QString name)
ARCSAbstractComponentgetComponent ()
GraphicsPortItemgetSlotPort (QString name)
GraphicsPortItemgetSignalPort (QString name)

Protected Member Functions

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

Detailed Description

Definition at line 41 of file graphicscomponentitem.h.

Member Function Documentation

QVariant GraphicsComponentItem::itemChange ( GraphicsItemChange  change,
const QVariant &  value 
ports are always sorted in a dictionnary order whereas we add them not necessarily in a dictionnary order !
warning: lines below are a code replicate with subtle changes

Definition at line 225 of file graphicscomponentitem.cpp.

Here is the call graph for this function:

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