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

#include <QtMouseTools.qo.h>

Inheritance diagram for casa::QtPolylineToolRegion:
casa::QtMouseTool casa::MultiPolylineToolImpl casa::MultiPolylineTool casa::RegionTool casa::DTVisible casa::viewer::RegionCreator casa::MultiWCTool casa::DisplayTool casa::WCPositionEH casa::WCMotionEH casa::WCRefreshEH casa::DisplayEH casa::QtPolylineTool

List of all members.

Signals

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

Public Member Functions

 QtPolylineToolRegion (viewer::RegionSourceFactory *rf, PanelDisplay *pd)
 ~QtPolylineToolRegion ()
Bool getMouseRegion (Record &mouseRegion, WorldCanvasHolder *&wch)
 Retrieve the current polyline mouse region record and WCH, if any.

Protected Member Functions

virtual void regionReady ()
 This callback is invoked by the base when the user double-clicks inside a polygon defined previously (but see also polygonReady(), below).
virtual void clicked (Int x, Int y)
virtual void doubleClicked (Int x, Int y)
This callback is invoked by
the base when the polygon is
first 
defined (by a double-click at last point) or when the mouse is released after a move/resize.It was unused in glish.For Qt
This callback is invoked by
the base when the polygon is
first this will also signal
that the polygon region has
been fully selected made 
ready (which will preclude the need for the user to double-click[again] inside the polygon to select it).virtual void polygonReady()
is this fix to *virtual void polylineReady ()
 Function called when a polyline is ready and not being edited.

Protected Attributes

PanelDisplaypd_

Detailed Description

Synopsis

QtPolylineToolRegion is the Polyline Region mouse tool that sends a signal when a new polyline is ready.

Definition at line 269 of file QtMouseTools.qo.h.


Constructor & Destructor Documentation

Definition at line 275 of file QtMouseTools.qo.h.

Definition at line 278 of file QtMouseTools.qo.h.


Member Function Documentation

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

Reimplemented from casa::MultiWCTool.

This callback is invoked by the base when the polygon is first casa::QtPolylineToolRegion::defined ( by a double-click at last  point) [protected]
virtual void casa::QtPolylineToolRegion::doubleClicked ( Int  x,
Int  y 
) [protected, virtual]

Reimplemented from casa::MultiWCTool.

Retrieve the current polyline 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).

See regionReady() implementation for format of the record.

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

is this fix to* virtual void casa::QtPolylineToolRegion::polylineReady ( ) [inline, protected, virtual]

Function called when a polyline is ready and not being edited.

(Unused so far on the glish level (12/01)).

Reimplemented from casa::MultiPolylineTool.

Definition at line 316 of file QtMouseTools.qo.h.

This callback is invoked by the base when the polygon is first this will also signal that the polygon region has been fully selected made casa::QtPolylineToolRegion::ready ( which will preclude the need for the user to double-clickinside the polygon to select  it[again]) [inline, protected]

Definition at line 311 of file QtMouseTools.qo.h.

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

This callback is invoked by the base when the user double-clicks inside a polygon defined previously (but see also polygonReady(), below).

This implementation emits the Qt signal mouseRegionReady() with an appropriate Record defining the user's polygon mouse selection. See implementation for format of the record.

Reimplemented from casa::MultiPolylineToolImpl.


Member Data Documentation

Reimplemented from casa::MultiPolylineTool.

Definition at line 318 of file QtMouseTools.qo.h.


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