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 | |
QtRTRegion (viewer::RegionSourceFactory *rf, PanelDisplay *pd) | |
~QtRTRegion () | |
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 | |
PanelDisplay * | pd_ |
virtual void rectangleReady(); virtual void handleEvent(DisplayEvent& ev); virtual void keyPressed(const WCPositionEvent &ev); |
QtRTRegion is the Rectangle Region mouse tool that sends a signal when a new rectangle is ready.
Definition at line 75 of file QtMouseTools.qo.h.
casa::QtRTRegion::QtRTRegion | ( | viewer::RegionSourceFactory * | rf, |
PanelDisplay * | pd | ||
) | [inline] |
Definition at line 83 of file QtMouseTools.qo.h.
casa::QtRTRegion::~QtRTRegion | ( | ) | [inline] |
Definition at line 85 of file QtMouseTools.qo.h.
virtual void casa::QtRTRegion::clicked | ( | Int | x, |
Int | y | ||
) | [protected, virtual] |
Reimplemented from casa::MultiWCTool.
virtual void casa::QtRTRegion::doubleClicked | ( | Int | x, |
Int | y | ||
) | [protected, virtual] |
Reimplemented from casa::MultiWCTool.
void casa::QtRTRegion::echoClicked | ( | Record | ) | [signal] |
Bool casa::QtRTRegion::getMouseRegion | ( | Record & | mouseRegion, |
WorldCanvasHolder *& | wch | ||
) |
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::QtRTRegion::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::QtRTRegion::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::MultiRectToolImpl.
PanelDisplay* casa::QtRTRegion::pd_ [protected] |
virtual void rectangleReady(); virtual void handleEvent(DisplayEvent& ev); virtual void keyPressed(const WCPositionEvent &ev);
Reimplemented from casa::MultiRectTool.
Definition at line 112 of file QtMouseTools.qo.h.