#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 = "" | |||
) |
ScreenPickerTool::~ScreenPickerTool | ( | ) | [virtual] |
void ScreenPickerTool::append | ( | const QPoint & | point | ) | [protected, virtual] |
bool ScreenPickerTool::eventFilter | ( | QObject * | obj, | |
QEvent * | event | |||
) | [protected, virtual] |
Reimplemented in DrawPointTool.
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.
QwtPlotMarker ScreenPickerTool::d_selection_marker [protected] |