SciDAVis  1.D4
Signals | Public Member Functions | Protected Member Functions | Protected Attributes
ScreenPickerTool Class Reference

#include <ScreenPickerTool.h>

Inheritance diagram for ScreenPickerTool:
PlotToolInterface

List of all members.

Signals

void statusText (const QString &)

Public Member Functions

virtual bool eventFilter (QObject *obj, QEvent *event)
virtual RTTI rtti () const
 ScreenPickerTool (Graph *graph, const QObject *status_target=NULL, const char *status_slot="")
virtual ~ScreenPickerTool ()
- Public Member Functions inherited from PlotToolInterface
 PlotToolInterface (Graph *graph)
virtual ~PlotToolInterface ()

Protected Member Functions

virtual void append (const QPoint &point)
virtual QwtText trackerText (const QwtDoublePoint &point) const

Protected Attributes

QwtPlotMarker d_selection_marker
- Protected Attributes inherited from PlotToolInterface
Graphd_graph

Additional Inherited Members

- Public Types inherited from PlotToolInterface
enum  RTTI {
  DataPicker, ScreenPicker, LineProfile, MultiPeak,
  RangeSelector, TranslateCurve
}

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.


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)
protectedvirtual
bool ScreenPickerTool::eventFilter ( QObject *  obj,
QEvent *  event 
)
virtual

References d_selection_marker.

virtual RTTI ScreenPickerTool::rtti ( ) const
inlinevirtual
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(), and ScreenPickerTool().

QwtText ScreenPickerTool::trackerText ( const QwtDoublePoint &  point) const
protectedvirtual

Referenced by append().


Member Data Documentation

QwtPlotMarker ScreenPickerTool::d_selection_marker
protected

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