ScreenPickerTool Class Reference

#include <ScreenPickerTool.h>

Inheritance diagram for ScreenPickerTool:
PlotToolInterface DrawPointTool

List of all members.

Public Types

enum  MoveRestriction { NoRestriction, Vertical, Horizontal }

Signals

void statusText (const QString &)

Public Member Functions

void append (const QwtDoublePoint &pos)
 ScreenPickerTool (Graph *graph, const QObject *status_target=NULL, const char *status_slot="")
void setMoveRestriction (ScreenPickerTool::MoveRestriction r)
virtual ~ScreenPickerTool ()

Protected Member Functions

virtual void append (const QPoint &point)
virtual bool eventFilter (QObject *obj, QEvent *event)

Protected Attributes

MoveRestriction d_move_restriction
QwtPlotMarker d_selection_marker

Detailed Description

Plot tool for selecting arbitrary points.

This is a rather thin wrapper around QwtPlotPicker, providing selection of points on a Graph/Plot and displaying coordinates.


Member Enumeration Documentation

Enumerator:
NoRestriction 
Vertical 
Horizontal 

Constructor & Destructor Documentation

ScreenPickerTool::ScreenPickerTool ( Graph graph,
const QObject *  status_target = NULL,
const char *  status_slot = "" 
)
ScreenPickerTool::~ScreenPickerTool (  )  [virtual]

Member Function Documentation

void ScreenPickerTool::append ( const QPoint &  point  )  [protected, virtual]

References append().

void ScreenPickerTool::append ( const QwtDoublePoint &  pos  ) 
bool ScreenPickerTool::eventFilter ( QObject *  obj,
QEvent *  event 
) [protected, virtual]

Reimplemented in DrawPointTool.

References append(), and d_selection_marker.

void ScreenPickerTool::setMoveRestriction ( ScreenPickerTool::MoveRestriction  r  )  [inline]

References d_move_restriction.

void ScreenPickerTool::statusText ( const QString &   )  [signal]

Emitted whenever a new message should be presented to the user.

You don't have to connect to this signal if you alreay specified a reciever during initialization.

Referenced by append(), DrawPointTool::appendPoint(), and ScreenPickerTool().


Member Data Documentation

Referenced by append(), and setMoveRestriction().

QwtPlotMarker ScreenPickerTool::d_selection_marker [protected]

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

Generated on Tue Nov 3 10:48:56 2009 for QtiPlot by  doxygen 1.6.1