casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Signals | Public Member Functions | Protected Member Functions | Protected Attributes
casa::QtOldRTRegion Class Reference

#include <QtOldMouseTools.qo.h>

Inheritance diagram for casa::QtOldRTRegion:
casa::QtOldMouseTool casa::MWCRTRegion casa::MWCRectTool casa::MultiWCTool casa::DTVisible casa::DisplayTool casa::WCPositionEH casa::WCMotionEH casa::WCRefreshEH casa::DisplayEH casa::QtOldRectTool

List of all members.

Signals

void mouseRegionReady (Record mouseRegion, WorldCanvasHolder *)
 See regionReady() implementation for format of the record.
void echoClicked (Record)

Public Member Functions

 QtOldRTRegion (PanelDisplay *pd)
 ~QtOldRTRegion ()
Bool getMouseRegion (Record &mouseRegion, WorldCanvasHolder *&wch)
 Retrieve the current rectangular mouse region record and WCH, if any.

Protected Member Functions

virtual void regionReady ()
 Signals mouseRegionReady with an appropriate Record, when called by base class in response to user selection with the mouse.
virtual void clicked (Int x, Int y)
virtual void doubleClicked (Int x, Int y)

Protected Attributes

PanelDisplaypd_
 virtual void rectangleReady(); virtual void handleEvent(DisplayEvent& ev); virtual void keyPressed(const WCPositionEvent &ev);

Detailed Description

Synopsis

QtOldRTRegion is the Rectangle Region mouse tool that sends a signal when a new rectangle is ready.

Definition at line 71 of file QtOldMouseTools.qo.h.


Constructor & Destructor Documentation

Definition at line 79 of file QtOldMouseTools.qo.h.

Definition at line 81 of file QtOldMouseTools.qo.h.


Member Function Documentation

virtual void casa::QtOldRTRegion::clicked ( Int  x,
Int  y 
) [protected, virtual]

Reimplemented from casa::MultiWCTool.

virtual void casa::QtOldRTRegion::doubleClicked ( Int  x,
Int  y 
) [protected, virtual]

Reimplemented from casa::MultiWCTool.

Retrieve the current rectangular mouse region record and WCH, if any.

(If nothing is ready, returns False -- be sure to check before using return parameters. See implementation for mouseRegion Record format).

void casa::QtOldRTRegion::mouseRegionReady ( Record  mouseRegion,
WorldCanvasHolder  
) [signal]

See regionReady() implementation for format of the record.

(For some uses, a connecting slot may be able to do without the WCH* parameter).

virtual void casa::QtOldRTRegion::regionReady ( ) [protected, virtual]

Signals mouseRegionReady with an appropriate Record, when called by base class in response to user selection with the mouse.

See implementation for format of the record.

Reimplemented from casa::MWCRTRegion.


Member Data Documentation

virtual void rectangleReady(); virtual void handleEvent(DisplayEvent& ev); virtual void keyPressed(const WCPositionEvent &ev);

Definition at line 108 of file QtOldMouseTools.qo.h.


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