QCAD
Open Source 2D CAD
RMouseCoordinateListener Class Referenceabstract

Abstract base class for classes that are interested in the current coordinate of the mouse cursor. More...

#include <RMouseCoordinateListener.h>

Public Member Functions

virtual void setCoordinate (const RVector &wcsPosition, const RVector &ucsPosition)=0
 Notifies this listener if the current mouse position has changed. More...
 
virtual ~RMouseCoordinateListener ()
 

Detailed Description

Abstract base class for classes that are interested in the current coordinate of the mouse cursor.

This can for example be a widget that displays the cursor coordinate.

Constructor & Destructor Documentation

virtual RMouseCoordinateListener::~RMouseCoordinateListener ( )
inlinevirtual

Member Function Documentation

virtual void RMouseCoordinateListener::setCoordinate ( const RVector wcsPosition,
const RVector ucsPosition 
)
pure virtual

Notifies this listener if the current mouse position has changed.

Parameters
wcsPositionworld coordinate position
ucsPositionuser coordinate position

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