QtiPlot
0.9.8.2
|
#include <ScreenPickerTool.h>
Public Types | |
enum | MoveRestriction { NoRestriction, Vertical, Horizontal } |
![]() | |
enum | RttiValues { Rtti_PlotTool = 0, Rtti_RangeSelector, Rtti_DataPicker, Rtti_TranslateCurveTool, Rtti_MultiPeakFitTool, Rtti_LineProfileTool, Rtti_AddWidgetTool, Rtti_DrawDataPoints, Rtti_ImageProfilesTool, Rtti_SubtractLineTool, Rtti_PlotUserTool = 1000 } |
Signals | |
void | statusText (const QString &) |
Public Member Functions | |
virtual void | append (const QwtDoublePoint &pos) |
ScreenPickerTool (Graph *graph, const QObject *status_target=NULL, const char *status_slot="") | |
void | setMoveRestriction (ScreenPickerTool::MoveRestriction r) |
double | xValue () |
double | yValue () |
virtual | ~ScreenPickerTool () |
![]() | |
PlotToolInterface (Graph *graph, const QObject *status_target=NULL, const char *status_slot="") | |
virtual int | rtti () const |
virtual | ~PlotToolInterface () |
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 |
![]() | |
Graph * | d_graph |
const char * | d_status_slot |
const QObject * | d_status_target |
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.
ScreenPickerTool::ScreenPickerTool | ( | Graph * | graph, |
const QObject * | status_target = NULL , |
||
const char * | status_slot = "" |
||
) |
References PlotToolInterface::d_graph, d_selection_marker, and statusText().
|
virtual |
References PlotToolInterface::d_graph, and d_selection_marker.
|
virtual |
Reimplemented in ImageProfilesTool.
References PlotToolInterface::d_graph, d_move_restriction, d_selection_marker, Horizontal, Graph::multiLayer(), NoRestriction, statusText(), and Vertical.
Referenced by append(), and eventFilter().
|
protectedvirtual |
References append().
|
protectedvirtual |
Reimplemented in DrawPointTool.
References append(), and d_selection_marker.
|
inline |
References d_move_restriction.
|
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(), ImageProfilesTool::append(), DrawPointTool::appendPoint(), and ScreenPickerTool().
|
inline |
References d_selection_marker.
Referenced by ImageProfilesTool::clone().
|
inline |
References d_selection_marker.
Referenced by ImageProfilesTool::clone().
|
protected |
Referenced by append(), and setMoveRestriction().
|
protected |