#include <MultiPeakFitTool.h>

This class can be seen as a user-interface wrapper around MultiPeakFit, providing functionality for visually selecting estimated peak positions and finally executing the fit.
Maybe some other parts of the multi-peak fitting process (namely, specifying the number of peaks and optionally the peak profile) could be moved here as well.
Signals | |
| void | statusText (const QString &) |
Public Member Functions | |
| MultiPeakFitTool (Graph *graph, ApplicationWindow *app, MultiPeakFit::PeakProfile profile, int num_peaks, const QObject *status_target, const char *status_slot) | |
| virtual | ~MultiPeakFitTool () |
Protected Slots | |
| void | selectPeak (QwtPlotCurve *curve, int point_index) |
Private Member Functions | |
| void | finalize () |
Private Attributes | |
| QwtPlotCurve * | d_curve |
| MultiPeakFit * | d_fit |
| int | d_num_peaks |
| DataPickerTool * | d_picker_tool |
| MultiPeakFit::PeakProfile | d_profile |
| int | d_selected_peaks |
| MultiPeakFitTool::MultiPeakFitTool | ( | Graph * | graph, | |
| ApplicationWindow * | app, | |||
| MultiPeakFit::PeakProfile | profile, | |||
| int | num_peaks, | |||
| const QObject * | status_target, | |||
| const char * | status_slot | |||
| ) |
| MultiPeakFitTool::~MultiPeakFitTool | ( | ) | [virtual] |
| void MultiPeakFitTool::finalize | ( | ) | [private] |
| void MultiPeakFitTool::selectPeak | ( | QwtPlotCurve * | curve, | |
| int | point_index | |||
| ) | [protected, slot] |
| void MultiPeakFitTool::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.
QwtPlotCurve* MultiPeakFitTool::d_curve [private] |
MultiPeakFit* MultiPeakFitTool::d_fit [private] |
int MultiPeakFitTool::d_num_peaks [private] |
DataPickerTool* MultiPeakFitTool::d_picker_tool [private] |
int MultiPeakFitTool::d_selected_peaks [private] |
1.5.3