casa
5.7.0-16
|
#include <QtOldMWCTools.qo.h>
Public Slots | |
void | setCoordType (const casacore::String &t) |
Signals | |
void | wcNotify (const casacore::String c, const casacore::Vector< double > px, const casacore::Vector< double > py, const casacore::Vector< double > wx, const casacore::Vector< double > wy, const ProfileType ptype) |
Public Member Functions | |
QtOldCrossTool () | |
virtual | ~QtOldCrossTool () |
virtual void | crosshairReady (const casacore::String &evtype) |
Called when the crosshair position has been chosen. More... | |
Public Member Functions inherited from casa::QtOldMWCTool | |
QtOldMWCTool () | |
virtual | ~QtOldMWCTool () |
virtual void | setCoordType (const casacore::String &t) |
Public Member Functions inherited from casa::MWCCrosshairTool | |
MWCCrosshairTool (Display::KeySym keysym=Display::K_Pointer_Button1, const casacore::Bool persistent=true) | |
Constructor specifies the button to respond to, and whether the crosshair should remain on screen after the button is released. More... | |
virtual | ~MWCCrosshairTool () |
Destructor. More... | |
virtual void | get (casacore::Int &x, casacore::Int &y) const |
Retrieve the crosshair position in pixels. More... | |
virtual void | getLin (casacore::Double &x, casacore::Double &y) const |
Rectrive the crosshair position in Lin. More... | |
virtual void | getWorld (casacore::Double &x, casacore::Double &y) const |
Rectrive the crosshair position in World. More... | |
virtual void | disable () |
Switch the tool off: this calls the base class disable to turn off event handling, and then erases the crosshair if necessary. More... | |
virtual void | setCross (casacore::Bool cross=false) |
set crosshair cursor type More... | |
virtual void | reset (casacore::Bool skipRefresh=false) |
Reset to non-showing, non-active crosshair. More... | |
virtual void | handleEvent (DisplayEvent &ev) |
handle events, via new-style interface. More... | |
Public Member Functions inherited from casa::MultiWCTool | |
MultiWCTool (const Display::KeySym &keysym=Display::K_Pointer_Button1, bool enable_events=true) | |
Constructor taking the primary key to which this tool will respond. More... | |
virtual | ~MultiWCTool () |
Destructor. More... | |
virtual void | addWorldCanvas (WorldCanvas &worldcanvas) |
Add/remove a WorldCanvas from the control of this tool. More... | |
virtual void | removeWorldCanvas (WorldCanvas &worldcanvas) |
virtual void | addWorldCanvases (PanelDisplay *pdisp) |
Add/Remove a list of WorldCanvases from PanelDisplay. More... | |
virtual void | removeWorldCanvases (PanelDisplay *pdisp) |
virtual void | enable () |
Switch the tool on/off - this simply registers or unregisters the event handlers on the WorldCanvases. More... | |
virtual void | operator() (const WCPositionEvent &ev) |
Required operators for event handling - these are called when events occur, and distribute the events to the "user-level" methods. More... | |
virtual void | operator() (const WCMotionEvent &ev) |
default sends event to cout More... | |
virtual void | operator() (const WCRefreshEvent &ev) |
original handler interface (still used for WCRefreshEvents) More... | |
Public Member Functions inherited from casa::DisplayTool | |
virtual | ~DisplayTool () |
Destructor. More... | |
virtual void | setKey (const Display::KeySym &keysym) |
Set/get which key to catch. More... | |
virtual Display::KeySym | getKey () const |
Public Member Functions inherited from casa::WCPositionEH | |
WCPositionEH () | |
Default Constructor Required. More... | |
virtual | ~WCPositionEH () |
Destructor. More... | |
Public Member Functions inherited from casa::WCMotionEH | |
WCMotionEH () | |
Default Constructor Required. More... | |
virtual | ~WCMotionEH () |
Destructor. More... | |
Public Member Functions inherited from casa::WCRefreshEH | |
WCRefreshEH () | |
Default Constructor Required. More... | |
virtual | ~WCRefreshEH () |
Destructor. More... | |
Public Member Functions inherited from casa::DisplayEH | |
virtual | ~DisplayEH () |
Public Member Functions inherited from casa::DTVisible | |
DTVisible () | |
Default constructor. More... | |
virtual | ~DTVisible () |
Destructor. More... | |
virtual casacore::String | drawColor () const |
Return the color to use. More... | |
virtual casacore::Int | lineWidth () const |
Return the line width to use. More... | |
virtual casacore::Double | doubleClickInterval () const |
Return the double click interval (in seconds). More... | |
Additional Inherited Members | |
Protected Member Functions inherited from casa::MWCCrosshairTool | |
virtual void | keyPressed (const WCPositionEvent &) |
Functions called by the base class mouse/kbd event handling operators– and normally only those. More... | |
virtual void | keyReleased (const WCPositionEvent &) |
virtual void | otherKeyPressed (const WCPositionEvent &) |
virtual void | moved (const WCMotionEvent &, const viewer::region::region_list_type &) |
virtual void | draw (const WCRefreshEvent &, const viewer::region::region_list_type &) |
draw the crosshair on the object's currently active WC. More... | |
Protected Member Functions inherited from casa::MultiWCTool | |
virtual void | otherKeyReleased (const WCPositionEvent &) |
virtual void | updateRegion () |
virtual void | clicked (casacore::Int, casacore::Int) |
virtual void | doubleClicked (casacore::Int, casacore::Int) |
virtual void | refresh () |
Copy back-to-front buffer (erasing all MWCTool drawings), then cause this (and all MWCTools on current WC's PC) to draw (or not draw) themselves, according to their current state. More... | |
virtual void | setClipToDrawArea () |
Cause subsequent drawing commands to be clipped to the current WC (or its drawing area). More... | |
virtual void | setClipToWC () |
virtual void | resetClip () |
Protected Member Functions inherited from casa::DisplayTool | |
DisplayTool (const Display::KeySym &keysym=Display::K_Pointer_Button1) | |
Constructor taking a key to which this tool will initially be attached, typically one of the pointer buttons. More... | |
DisplayTool (const DisplayTool &other) | |
Copy constructor - construct a new DisplayTool from other , using copy semantics. More... | |
DisplayTool & | operator= (const DisplayTool &other) |
Copy assignment using copy semantics. More... | |
Display::KeyModifier | keyModifiers () |
Return the modifier mask. More... | |
Protected Member Functions inherited from casa::DTVisible | |
DTVisible (const DTVisible &other) | |
(Required) copy constructor. More... | |
DTVisible & | operator= (const DTVisible &other) |
(Required) copy assignment. More... | |
Protected Attributes inherited from casa::QtOldMWCTool | |
casacore::String | coordType |
Protected Attributes inherited from casa::MultiWCTool | |
WorldCanvas * | itsCurrentWC |
WC being (or to be) drawn on (may be 0 initially). More... | |
Definition at line 129 of file QtOldMWCTools.qo.h.
casa::QtOldCrossTool::QtOldCrossTool | ( | ) |
|
inlinevirtual |
Definition at line 134 of file QtOldMWCTools.qo.h.
|
virtual |
Called when the crosshair position has been chosen.
Override to handle the crosshair-position-ready 'event'. evtype is "down" "move" or "up" depending on the state of the mouse leading to this event.
Reimplemented from casa::MWCCrosshairTool.
|
slot |
|
signal |