#include <qcalcGUIItems.h>
Public Member Functions | |
CalcItem (QGraphicsItem *parent) | |
virtual | ~CalcItem () |
virtual void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=NULL) |
virtual void | setDisplayedString (const QString &) |
void | setTitle (const QString &title) |
void | resetTooltips () |
virtual void | updateConnectorsPositions () |
void | setErrMessage (bool err=false, const QString &message="") |
virtual void | updateDomElement (QDomDocument &doc, QDomElement &el) |
virtual void | setupFromDomElement (QDomElement &el) |
Public Attributes | |
QColor | outlineColor |
QColor | color1 |
QColor | color2 |
Protected Member Functions | |
QVariant | itemChange (GraphicsItemChange change, const QVariant &value) |
Protected Attributes | |
double | width |
double | height |
QString | title |
RotoZoomButton * | rzButton |
CloseButton * | closeButton |
ErrorButton * | errButton |
QList< InSlot * > | inSlots |
QList< OutSlot * > | outSlots |
CalcItem::CalcItem | ( | QGraphicsItem * | parent | ) |
virtual CalcItem::~CalcItem | ( | ) | [inline, virtual] |
QVariant CalcItem::itemChange | ( | GraphicsItemChange | change, | |
const QVariant & | value | |||
) | [protected] |
void CalcItem::paint | ( | QPainter * | painter, | |
const QStyleOptionGraphicsItem * | option, | |||
QWidget * | widget = NULL | |||
) | [virtual] |
Reimplemented in TimeLineItem, OperatorItem, InputItem, OutputItem, and ExtractionItem.
void CalcItem::resetTooltips | ( | ) |
virtual void CalcItem::setDisplayedString | ( | const QString & | ) | [inline, virtual] |
Reimplemented in OperatorItem.
void CalcItem::setErrMessage | ( | bool | err = false , |
|
const QString & | message = "" | |||
) |
void CalcItem::setTitle | ( | const QString & | title | ) | [inline] |
virtual void CalcItem::setupFromDomElement | ( | QDomElement & | el | ) | [inline, virtual] |
Reimplemented in InputItem, and OutputItem.
void CalcItem::updateConnectorsPositions | ( | ) | [virtual] |
Reimplemented in TimeLineItem, and OutputItem.
void CalcItem::updateDomElement | ( | QDomDocument & | doc, | |
QDomElement & | el | |||
) | [virtual] |
CloseButton* CalcItem::closeButton [protected] |
QColor CalcItem::color1 |
QColor CalcItem::color2 |
ErrorButton* CalcItem::errButton [protected] |
double CalcItem::height [protected] |
QList<InSlot*> CalcItem::inSlots [protected] |
QColor CalcItem::outlineColor |
QList<OutSlot*> CalcItem::outSlots [protected] |
RotoZoomButton* CalcItem::rzButton [protected] |
QString CalcItem::title [protected] |
double CalcItem::width [protected] |