QoccCommand Class Reference

This class provides a base object for commands. More...

#include <qocccommand.h>

Inheritance diagram for QoccCommand:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 QoccCommand (QAction *startingAction=NULL, QWidget *parent=NULL)
 ~QoccCommand ()
virtual bool isDrawing ()
virtual void clickEvent (Qocc3dWidget *, QMouseEvent *)
virtual void moveEvent (Qocc3dWidget *, QMouseEvent *)

Protected Attributes

QAction * myAction
bool myIsDrawing

Detailed Description

This class provides a base object for commands.

Author:
Peter C. Dolbey

Definition at line 36 of file qocccommand.h.


Constructor & Destructor Documentation

QoccCommand::QoccCommand ( QAction *  startingAction = NULL,
QWidget *  parent = NULL 
)

Definition at line 35 of file qocccommand.cpp.

References myAction, and myIsDrawing.

QoccCommand::~QoccCommand (  ) 

Definition at line 42 of file qocccommand.cpp.


Member Function Documentation

virtual void QoccCommand::clickEvent ( Qocc3dWidget ,
QMouseEvent *   
) [inline, virtual]

Reimplemented in QoccCmdCircle2Pt, QoccCmdLine2Pt, and QoccCmdPoint.

Definition at line 47 of file qocccommand.h.

Referenced by QoccController::clickEvent().

virtual bool QoccCommand::isDrawing ( void   )  [inline, virtual]

Definition at line 45 of file qocccommand.h.

Referenced by QoccController::clickEvent(), QoccController::isDrawing(), and QoccController::moveEvent().

Here is the caller graph for this function:

virtual void QoccCommand::moveEvent ( Qocc3dWidget ,
QMouseEvent *   
) [inline, virtual]

Reimplemented in QoccCmdCircle2Pt, QoccCmdLine2Pt, and QoccCmdPoint.

Definition at line 48 of file qocccommand.h.

Referenced by QoccController::moveEvent().


Member Data Documentation

QAction* QoccCommand::myAction [protected]

Definition at line 48 of file qocccommand.h.

Referenced by QoccCmdCircle2Pt::QoccCmdCircle2Pt(), QoccCmdLine2Pt::QoccCmdLine2Pt(), QoccCmdPoint::QoccCmdPoint(), QoccCommand(), QoccCmdCircle2Pt::~QoccCmdCircle2Pt(), QoccCmdLine2Pt::~QoccCmdLine2Pt(), and QoccCmdPoint::~QoccCmdPoint().

bool QoccCommand::myIsDrawing [protected]

Definition at line 53 of file qocccommand.h.

Referenced by QoccCmdLine2Pt::clickEvent(), QoccCmdCircle2Pt::clickEvent(), and QoccCommand().


The documentation for this class was generated from the following files:
Generated on Sat Feb 23 21:22:28 2008 for QtGEOM by  doxygen 1.4.7