#include <ScreenPickerTool.h>

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 |
| ScreenPickerTool::ScreenPickerTool | ( | Graph * | graph, | |
| const QObject * | status_target = NULL, |
|||
| const char * | status_slot = "" | |||
| ) |
References cursor_xpm, PlotToolInterface::d_graph, d_selection_marker, and statusText().
| ScreenPickerTool::~ScreenPickerTool | ( | ) | [virtual] |
References PlotToolInterface::d_graph, and d_selection_marker.
| void ScreenPickerTool::append | ( | const QPoint & | point | ) | [protected, virtual] |
References PlotToolInterface::d_graph, d_selection_marker, and statusText().
| bool ScreenPickerTool::eventFilter | ( | QObject * | obj, | |
| QEvent * | event | |||
| ) | [protected, virtual] |
Reimplemented in DrawPointTool.
References PlotToolInterface::d_graph, d_selection_marker, and statusText().
| 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().
QwtPlotMarker ScreenPickerTool::d_selection_marker [protected] |
Referenced by append(), DrawPointTool::eventFilter(), eventFilter(), ScreenPickerTool(), and ~ScreenPickerTool().
1.5.6