#include <ScreenPickerTool.h>
Public Member Functions | |
DrawPointTool (ApplicationWindow *app, Graph *graph, const QObject *status_target=NULL, const char *status_slot="") | |
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 |
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, 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.
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().