QtiPlot
0.9.8.2
|
#include <SubtractLineTool.h>
Signals | |
void | statusText (const QString &) |
Public Member Functions | |
virtual int | rtti () const |
SubtractLineTool (Graph *graph, ApplicationWindow *app, const QObject *status_target, const char *status_slot) | |
virtual | ~SubtractLineTool () |
![]() | |
PlotToolInterface (Graph *graph, const QObject *status_target=NULL, const char *status_slot="") | |
virtual | ~PlotToolInterface () |
Protected Slots | |
void | selectPoint (const QwtDoublePoint &pos) |
Private Member Functions | |
void | finalize () |
Private Attributes | |
QwtPlotMarker * | d_first_point_marker |
QLineF | d_line |
ScreenPickerTool * | d_picker_tool |
int | d_selected_points |
Additional Inherited Members | |
![]() | |
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 } |
![]() | |
Graph * | d_graph |
const char * | d_status_slot |
const QObject * | d_status_target |
Plot tool for substracting a straight line.
SubtractLineTool::SubtractLineTool | ( | Graph * | graph, |
ApplicationWindow * | app, | ||
const QObject * | status_target, | ||
const char * | status_slot | ||
) |
References PlotToolInterface::d_graph, d_picker_tool, d_selected_points, selectPoint(), and statusText().
|
virtual |
References PlotToolInterface::d_graph, and d_picker_tool.
|
private |
References Graph::activeTool(), Table::colIndex(), Graph::curveCount(), d_first_point_marker, PlotToolInterface::d_graph, d_line, d_picker_tool, Graph::dataCurve(), DataCurve::endRow(), Graph::ErrorBars, Table::notifyChanges(), PlotToolInterface::rtti(), PlotToolInterface::Rtti_RangeSelector, Graph::setActiveTool(), Table::setCell(), DataCurve::startRow(), DataCurve::table(), Table::text(), and PlotCurve::type().
Referenced by selectPoint().
|
inlinevirtual |
Reimplemented from PlotToolInterface.
References PlotToolInterface::Rtti_SubtractLineTool.
|
protectedslot |
References d_first_point_marker, PlotToolInterface::d_graph, d_line, d_selected_points, finalize(), and statusText().
Referenced by SubtractLineTool().
|
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 selectPoint(), and SubtractLineTool().
|
private |
Referenced by finalize(), and selectPoint().
|
private |
Referenced by finalize(), and selectPoint().
|
private |
Referenced by finalize(), SubtractLineTool(), and ~SubtractLineTool().
|
private |
Referenced by selectPoint(), and SubtractLineTool().