ScreenPickerTool Class Reference

#include <ScreenPickerTool.h>

Inheritance diagram for ScreenPickerTool:

PlotToolInterface DrawPointTool

List of all members.


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.

Signals

void statusText (const QString &)

Public Member Functions

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

Protected Member Functions

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

Protected Attributes

QwtPlotMarker d_selection_marker


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]

bool ScreenPickerTool::eventFilter ( QObject *  obj,
QEvent *  event 
) [protected, virtual]

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(), eventFilter(), and ScreenPickerTool().


Member Data Documentation

QwtPlotMarker ScreenPickerTool::d_selection_marker [protected]


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

Generated on Sun Jun 15 21:32:25 2008 for QtiPlot by  doxygen 1.5.6