Gui::RectangleSelection Class Reference

The selection mouse model class Draws a rectangle for selection. More...

#include <MouseSelection.h>

Inheritance diagram for Gui::RectangleSelection:
Gui::BaseMouseSelection Gui::AbstractMouseSelection Gui::BoxZoomSelection

List of all members.

Public Member Functions

virtual void initialize ()
 do nothing
 RectangleSelection ()
virtual void terminate ()
 do nothing
virtual ~RectangleSelection ()

Protected Member Functions

virtual void draw ()
 draw the rectangle
virtual int keyboardEvent (const SoKeyboardEvent *const e)
virtual int locationEvent (const SoLocation2Event *const e, const QPoint &pos)
virtual int mouseButtonEvent (const SoMouseButtonEvent *const e, const QPoint &pos)

Detailed Description

The selection mouse model class Draws a rectangle for selection.

Author:
Werner Mayer

Definition at line 166 of file MouseSelection.h.


Constructor & Destructor Documentation

RectangleSelection::RectangleSelection (  ) 

Definition at line 448 of file MouseSelection.cpp.

RectangleSelection::~RectangleSelection (  )  [virtual]

Definition at line 453 of file MouseSelection.cpp.


Member Function Documentation

void RectangleSelection::draw (  )  [protected, virtual]
void RectangleSelection::initialize (  )  [virtual]

do nothing

Implements Gui::AbstractMouseSelection.

Definition at line 457 of file MouseSelection.cpp.

int RectangleSelection::keyboardEvent ( const SoKeyboardEvent *const   e  )  [protected, virtual]

Reimplemented from Gui::AbstractMouseSelection.

Definition at line 518 of file MouseSelection.cpp.

References Gui::AbstractMouseSelection::Continue.

int RectangleSelection::locationEvent ( const SoLocation2Event *const   e,
const QPoint &  pos 
) [protected, virtual]
int RectangleSelection::mouseButtonEvent ( const SoMouseButtonEvent *const   e,
const QPoint &  pos 
) [protected, virtual]
void RectangleSelection::terminate (  )  [virtual]

do nothing

Implements Gui::AbstractMouseSelection.

Reimplemented in Gui::BoxZoomSelection.

Definition at line 461 of file MouseSelection.cpp.


The documentation for this class was generated from the following files:

Generated on Wed Nov 23 19:02:02 2011 for FreeCAD by  doxygen 1.6.1