casa
$Rev:20696$
|
#include <QtMouseTools.qo.h>
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 | |
PanelDisplay * | pd_ |
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.
casa::QtPolylineToolRegion::QtPolylineToolRegion | ( | viewer::RegionSourceFactory * | rf, |
PanelDisplay * | pd | ||
) | [inline] |
Definition at line 275 of file QtMouseTools.qo.h.
casa::QtPolylineToolRegion::~QtPolylineToolRegion | ( | ) | [inline] |
Definition at line 278 of file QtMouseTools.qo.h.
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.
void casa::QtPolylineToolRegion::echoClicked | ( | Record | ) | [signal] |
Bool casa::QtPolylineToolRegion::getMouseRegion | ( | Record & | mouseRegion, |
WorldCanvasHolder *& | wch | ||
) |
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).
void casa::QtPolylineToolRegion::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).
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.
PanelDisplay* casa::QtPolylineToolRegion::pd_ [protected] |
Reimplemented from casa::MultiPolylineTool.
Definition at line 318 of file QtMouseTools.qo.h.