#include <qcalcGUIItems.h>
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 () |
Connector * | getConnector () |
Public Attributes | |
VInSlot * | slot |
Protected Member Functions | |
void | hoverEnterEvent (QGraphicsSceneHoverEvent *) |
void | hoverLeaveEvent (QGraphicsSceneHoverEvent *) |
Protected Attributes | |
Connector * | connector |
bool | hasMouseFocus |
InSlot::~InSlot | ( | ) | [virtual] |
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 | ( | ) |
Connector* InSlot::connector [protected] |
bool InSlot::hasMouseFocus [protected] |