Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

FitListDialog Class Reference

#include <FitListDialog.h>

Inheritance diagram for FitListDialog:

ListDialog Dialog List of all members.

Public Slots

void setFunction (QString fun)
 set fit function

void setNrParameter (int par)
 set number of fit parameter

void setInitialValue (int par, double v)
 set initial value of fit parameter

double initialValue (int par)
 get final fit value

void showResult (bool b=true)
 show fit result in plot

void setSteps (int s)
 set number of fit steps

void setTolerance (double t)
 set fit tolerance

void setWeight (int w)
 set weight

void setWeightFunction (QString w)
 set weight function

void setRegion (double a, double b)
 set and use only region

void setBaseline (double b)
 set and use baseline

void setNrPoints (int p)
 set number of points for fit function

void setRange (double a, double b)
 set range for fit function

void showResiduals (bool b=true)
 show residuals fo fit result

int Apply ()
 do the fit


Public Member Functions

 FitListDialog (MainWin *mw=0, const char *name=0)

Private Slots

void updateModel (int model)
 called when a model is selected

void updateParameter ()
 called when the number of parameter is changed in user fit model

void weightChanged ()
int apply_clicked ()

Private Attributes

QTextEdit * infote
KComboBox * modelcb
KComboBox * weightcb
QCheckBox * regioncb
QCheckBox * baselinecb
QCheckBox * resultcb
QCheckBox * rescb
KLineEdit * funle
KLineEdit * parle
KLineEdit * stepsle
KLineEdit * tolle
KLineEdit * weightle
KLineEdit * parNle [NR_PARS]
KLineEdit * regionminle
KLineEdit * regionmaxle
KLineEdit * baselinele
KLineEdit * minle
KLineEdit * maxle

Constructor & Destructor Documentation

FitListDialog::FitListDialog MainWin mw = 0,
const char *  name = 0
 


Member Function Documentation

int FitListDialog::Apply  )  [inline, slot]
 

do the fit

Reimplemented from ListDialog.

int FitListDialog::apply_clicked  )  [private, virtual, slot]
 

Implements ListDialog.

double FitListDialog::initialValue int  par  )  [slot]
 

get final fit value

void FitListDialog::setBaseline double  b  )  [slot]
 

set and use baseline

void FitListDialog::setFunction QString  fun  )  [slot]
 

set fit function

void FitListDialog::setInitialValue int  par,
double  v
[slot]
 

set initial value of fit parameter

void FitListDialog::setNrParameter int  par  )  [slot]
 

set number of fit parameter

void FitListDialog::setNrPoints int  p  )  [inline, slot]
 

set number of points for fit function

void FitListDialog::setRange double  a,
double  b
[slot]
 

set range for fit function

void FitListDialog::setRegion double  a,
double  b
[slot]
 

set and use only region

void FitListDialog::setSteps int  s  )  [inline, slot]
 

set number of fit steps

void FitListDialog::setTolerance double  t  )  [inline, slot]
 

set fit tolerance

void FitListDialog::setWeight int  w  )  [inline, slot]
 

set weight

void FitListDialog::setWeightFunction QString  w  )  [slot]
 

set weight function

void FitListDialog::showResiduals bool  b = true  )  [inline, slot]
 

show residuals fo fit result

void FitListDialog::showResult bool  b = true  )  [inline, slot]
 

show fit result in plot

void FitListDialog::updateModel int  model  )  [private, slot]
 

called when a model is selected

void FitListDialog::updateParameter  )  [private, slot]
 

called when the number of parameter is changed in user fit model

void FitListDialog::weightChanged  )  [private, slot]
 


Member Data Documentation

QCheckBox * FitListDialog::baselinecb [private]
 

KLineEdit * FitListDialog::baselinele [private]
 

KLineEdit* FitListDialog::funle [private]
 

QTextEdit* FitListDialog::infote [private]
 

KLineEdit * FitListDialog::maxle [private]
 

KLineEdit* FitListDialog::minle [private]
 

KComboBox* FitListDialog::modelcb [private]
 

KLineEdit * FitListDialog::parle [private]
 

KLineEdit* FitListDialog::parNle[NR_PARS] [private]
 

QCheckBox* FitListDialog::regioncb [private]
 

KLineEdit * FitListDialog::regionmaxle [private]
 

KLineEdit* FitListDialog::regionminle [private]
 

QCheckBox * FitListDialog::rescb [private]
 

QCheckBox * FitListDialog::resultcb [private]
 

KLineEdit * FitListDialog::stepsle [private]
 

KLineEdit * FitListDialog::tolle [private]
 

KComboBox * FitListDialog::weightcb [private]
 

KLineEdit * FitListDialog::weightle [private]
 


The documentation for this class was generated from the following files:
Generated on Fri Aug 19 21:34:45 2005 for LabPlot by doxygen 1.3.6