QtiPlot 0.9.7.3
|
#include <ScreenPickerTool.h>
Public Member Functions | |
DrawPointTool (ApplicationWindow *app, Graph *graph, const QObject *status_target=NULL, const char *status_slot="") | |
virtual int | rtti () const |
Protected Member Functions | |
void | appendPoint (const QwtDoublePoint &point) |
virtual bool | eventFilter (QObject *obj, QEvent *event) |
Protected Attributes | |
ApplicationWindow * | d_app |
DataCurve * | d_curve |
Table * | d_table |
Plot tool for drawing arbitrary points.
DrawPointTool::DrawPointTool | ( | ApplicationWindow * | app, |
Graph * | graph, | ||
const QObject * | status_target = NULL , |
||
const char * | status_slot = "" |
||
) |
void DrawPointTool::appendPoint | ( | const QwtDoublePoint & | point | ) | [protected] |
References Table::colName(), d_app, d_curve, ApplicationWindow::d_decimal_digits, PlotToolInterface::d_graph, d_table, ApplicationWindow::defaultCurveLineWidth, ApplicationWindow::defaultSymbolSize, ApplicationWindow::generateUniqueName(), Graph::insertPlotItem(), Graph::LineSymbols, ApplicationWindow::modifiedProject(), ApplicationWindow::newHiddenTable(), Table::numRows(), Table::setCell(), DataCurve::setFullRange(), Table::setNumRows(), ScreenPickerTool::statusText(), and Graph::updatePlot().
Referenced by eventFilter().
bool DrawPointTool::eventFilter | ( | QObject * | obj, |
QEvent * | event | ||
) | [protected, virtual] |
Reimplemented from ScreenPickerTool.
References appendPoint(), PlotToolInterface::d_graph, and ScreenPickerTool::d_selection_marker.
virtual int DrawPointTool::rtti | ( | ) | const [inline, virtual] |
Reimplemented from PlotToolInterface.
References PlotToolInterface::Rtti_DrawDataPoints.
ApplicationWindow* DrawPointTool::d_app [protected] |
Referenced by appendPoint().
DataCurve* DrawPointTool::d_curve [protected] |
Referenced by appendPoint(), and DrawPointTool().
Table* DrawPointTool::d_table [protected] |
Referenced by appendPoint(), and DrawPointTool().