Public Member Functions | Private Attributes | List of all members
FigureEditor::CanvasEvent Class Reference

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

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

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.

Detailed Description

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

Author
Paul F. Kunz Paul_.nosp@m.Kunz.nosp@m.@slac.nosp@m..sta.nosp@m.nford.nosp@m..edu

Definition at line 84 of file FigureEditor.h.

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