QtiPlot  0.9.8.2
Signals | Public Member Functions | Protected Slots | Private Member Functions | Private Attributes | List of all members
SubtractLineTool Class Reference

#include <SubtractLineTool.h>

Inheritance diagram for SubtractLineTool:
PlotToolInterface

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 ()
 
- Public Member Functions inherited from PlotToolInterface
 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
 
ScreenPickerToold_picker_tool
 
int d_selected_points
 

Additional Inherited Members

- Public Types inherited from PlotToolInterface
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
}
 
- Protected Attributes inherited from PlotToolInterface
Graphd_graph
 
const char * d_status_slot
 
const QObject * d_status_target
 

Detailed Description

Plot tool for substracting a straight line.

Constructor & Destructor Documentation

SubtractLineTool::SubtractLineTool ( Graph graph,
ApplicationWindow app,
const QObject *  status_target,
const char *  status_slot 
)
SubtractLineTool::~SubtractLineTool ( )
virtual

Member Function Documentation

void SubtractLineTool::finalize ( )
private
virtual int SubtractLineTool::rtti ( ) const
inlinevirtual
void SubtractLineTool::selectPoint ( const QwtDoublePoint &  pos)
protectedslot
void SubtractLineTool::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.

Referenced by rtti(), selectPoint(), and SubtractLineTool().

Member Data Documentation

QwtPlotMarker* SubtractLineTool::d_first_point_marker
private

Referenced by finalize(), and selectPoint().

QLineF SubtractLineTool::d_line
private

Referenced by finalize(), and selectPoint().

ScreenPickerTool* SubtractLineTool::d_picker_tool
private
int SubtractLineTool::d_selected_points
private

Referenced by selectPoint(), and SubtractLineTool().


The documentation for this class was generated from the following files: