FigureEditor::CanvasEvent Class Reference

Inheritance diagram for FigureEditor::CanvasEvent:

Inheritance graph
QCustomEvent
[legend]
Collaboration diagram for FigureEditor::CanvasEvent:

Collaboration graph
QCustomEventQCanvasItem
[legend]
List of all members.

Detailed Description

An Qt event class which wraps a QCanvasItem to be processed by the event.

Author:
Paul F. Kunz <Paul_Kunz@slac.stanford.edu>

Definition at line 84 of file FigureEditor.h.

Public Member Functions

 CanvasEvent (const QCanvasItem *item)
 Constructor taking the wrapped object as argument.
 data () const
const QCanvasItemitem () const
 Returns the wrapped object to be used for the event processing.
 setData (void *data)

Private Attributes

const QCanvasItemm_item
 The wrapped object.


Constructor & Destructor Documentation

CanvasEvent ( const QCanvasItem item  )  [inline]

Constructor taking the wrapped object as argument.

Definition at line 100 of file FigureEditor.h.


Member Function Documentation

const QCanvasItem* item (  )  const [inline]

Returns the wrapped object to be used for the event processing.

Definition at line 111 of file FigureEditor.h.


Member Data Documentation

const QCanvasItem* m_item [private]

The wrapped object.

Definition at line 90 of file FigureEditor.h.


The documentation for this class was generated from the following file:
Generated for HippoDraw Class Library by doxygen