InSlot Class Reference

#include <qcalcGUIItems.h>

List of all members.

Public Types

enum  { Type = TYPE_INSLOT }

Public Member Functions

 InSlot (CalcItem *parent, VInSlot *slot)
virtual ~InSlot ()
virtual int type () const
virtual void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=NULL)
void removeConnector (Connector *c)
void setConnector (Connector *c)
void updateConnectorPosition ()
ConnectorgetConnector ()

Public Attributes

VInSlotslot

Protected Member Functions

void hoverEnterEvent (QGraphicsSceneHoverEvent *)
void hoverLeaveEvent (QGraphicsSceneHoverEvent *)

Protected Attributes

Connectorconnector
bool hasMouseFocus


Member Enumeration Documentation

anonymous enum

Enumerator:
Type 


Constructor & Destructor Documentation

InSlot::InSlot ( CalcItem parent,
VInSlot slot 
)

InSlot::~InSlot (  )  [virtual]


Member Function Documentation

Connector* InSlot::getConnector (  )  [inline]

void InSlot::hoverEnterEvent ( QGraphicsSceneHoverEvent *   )  [protected]

void InSlot::hoverLeaveEvent ( QGraphicsSceneHoverEvent *   )  [protected]

void InSlot::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget = NULL 
) [virtual]

void InSlot::removeConnector ( Connector c  ) 

void InSlot::setConnector ( Connector c  ) 

virtual int InSlot::type (  )  const [inline, virtual]

void InSlot::updateConnectorPosition (  ) 


Member Data Documentation

bool InSlot::hasMouseFocus [protected]


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

Generated on Fri Jan 8 12:51:27 2010 for QSAS by  doxygen 1.5.7