InputItem Class Reference

#include <qcalcGUIItems.h>

Inheritance diagram for InputItem:

CalcItem

List of all members.

Public Types

enum  { Type = TYPE_INPUTITEM }

Public Slots

void setValue (const QString &text)
void setValue ()

Public Member Functions

 InputItem (VInputItem *parentItem, VOutSlot *output, QGraphicsItem *parent=NULL)
virtual ~InputItem ()
virtual void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=NULL)
virtual int type () const
virtual void setupFromDomElement (QDomElement &el)

Public Attributes

VInputItemparentItem

Protected Member Functions

void dragEnterEvent (QGraphicsSceneDragDropEvent *)
void dragLeaveEvent (QGraphicsSceneDragDropEvent *)
void dropEvent (QGraphicsSceneDragDropEvent *event)

Protected Attributes

QguWLinputedit


Member Enumeration Documentation

anonymous enum

Enumerator:
Type 


Constructor & Destructor Documentation

InputItem::InputItem ( VInputItem parentItem,
VOutSlot output,
QGraphicsItem *  parent = NULL 
)

InputItem::~InputItem (  )  [virtual]


Member Function Documentation

void InputItem::dragEnterEvent ( QGraphicsSceneDragDropEvent *  e  )  [protected]

void InputItem::dragLeaveEvent ( QGraphicsSceneDragDropEvent *  e  )  [protected]

void InputItem::dropEvent ( QGraphicsSceneDragDropEvent *  event  )  [protected]

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

Reimplemented from CalcItem.

void InputItem::setupFromDomElement ( QDomElement &  el  )  [virtual]

Reimplemented from CalcItem.

void InputItem::setValue (  )  [slot]

void InputItem::setValue ( const QString &  text  )  [slot]

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


Member Data Documentation


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