#include <qcalcVirtualItems.h>
Public Member Functions | |
VCalcItem () | |
virtual | ~VCalcItem () |
QList< VCalcItem * > | connectedItems (bool parents=false, bool children=true) const |
bool | isParentOf (VCalcItem *i) const |
bool | setConnection (int outNumber, VCalcItem *target, int inNumber) |
virtual void | reevaluateOutSlots () |
void | flagOutSlotsForReevaluation () |
QString | getName () |
void | setName (const QString &name) |
virtual QDomElement | getDomElement (QDomDocument &) |
virtual void | setupFromDomElement (QDomElement &el, QGraphicsScene *scene) |
Public Attributes | |
QVector< VInSlot * > | inputs |
QVector< VOutSlot * > | outputs |
VOperatorItem * | container |
bool | isBlackBox |
Static Public Attributes | |
static QList< VCalcItem * > | currentItems = QList<VCalcItem*>() |
Protected Attributes | |
QString | name |
VCalcItem::VCalcItem | ( | ) |
VCalcItem::~VCalcItem | ( | ) | [virtual] |
QList< VCalcItem * > VCalcItem::connectedItems | ( | bool | parents = false , |
|
bool | children = true | |||
) | const |
void VCalcItem::flagOutSlotsForReevaluation | ( | ) |
virtual QDomElement VCalcItem::getDomElement | ( | QDomDocument & | ) | [inline, virtual] |
Reimplemented in VOperatorItem, VInputItem, and VOutputItem.
QString VCalcItem::getName | ( | ) | [inline] |
bool VCalcItem::isParentOf | ( | VCalcItem * | i | ) | const |
virtual void VCalcItem::reevaluateOutSlots | ( | ) | [inline, virtual] |
Reimplemented in VOperatorItem, VInputItem, VOutputItem, and VExtractionItem.
bool VCalcItem::setConnection | ( | int | outNumber, | |
VCalcItem * | target, | |||
int | inNumber | |||
) |
void VCalcItem::setName | ( | const QString & | name | ) | [inline] |
void VCalcItem::setupFromDomElement | ( | QDomElement & | el, | |
QGraphicsScene * | scene | |||
) | [virtual] |
Reimplemented in VInputItem, and VOutputItem.
QList< VCalcItem * > VCalcItem::currentItems = QList<VCalcItem*>() [static] |
QVector<VInSlot*> VCalcItem::inputs |
QString VCalcItem::name [protected] |
QVector<VOutSlot*> VCalcItem::outputs |