#include <qcalcGUIItems.h>
Public Types | |
enum | { Type = TYPE_OUTSLOT } |
Public Member Functions | |
OutSlot (CalcItem *parent, VOutSlot *slot) | |
virtual | ~OutSlot () |
virtual int | type () const |
virtual void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=NULL) |
void | removeConnector (Connector *c) |
void | addConnector (Connector *c) |
void | updateConnectorsPositions () |
Public Attributes | |
VOutSlot * | slot |
double | width |
double | height |
Protected Member Functions | |
void | hoverEnterEvent (QGraphicsSceneHoverEvent *) |
void | hoverLeaveEvent (QGraphicsSceneHoverEvent *) |
Protected Attributes | |
bool | hasMouseFocus |
QList< Connector * > | connectors |
OutSlot::~OutSlot | ( | ) | [virtual] |
void OutSlot::addConnector | ( | Connector * | c | ) |
void OutSlot::hoverEnterEvent | ( | QGraphicsSceneHoverEvent * | ) | [protected] |
void OutSlot::hoverLeaveEvent | ( | QGraphicsSceneHoverEvent * | ) | [protected] |
void OutSlot::paint | ( | QPainter * | painter, | |
const QStyleOptionGraphicsItem * | option, | |||
QWidget * | widget = NULL | |||
) | [virtual] |
void OutSlot::removeConnector | ( | Connector * | c | ) |
virtual int OutSlot::type | ( | ) | const [inline, virtual] |
void OutSlot::updateConnectorsPositions | ( | ) |
QList<Connector*> OutSlot::connectors [protected] |
bool OutSlot::hasMouseFocus [protected] |
double OutSlot::height |
double OutSlot::width |