Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | 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 in plot
void showLabel (bool b=true)
 show result in plot
void setSteps (int v)
 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 setNegateRegion (bool b=true)
 set and use negated region
void setBaseline (double b)
 set and use baseline
void setNrPoints (int v)
 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 ()
void saveSettings ()
int apply_clicked ()

Private Member Functions

void saveFunction ()
 save user defined function

Private Attributes

QTextEdit * infote
KComboBox * modelcb
KComboBox * weightcb
QCheckBox * regioncb
QCheckBox * negate_regioncb
QCheckBox * baselinecb
QCheckBox * resultcb
QCheckBox * labelcb
QCheckBox * rescb
KIntNumInput * parni
KIntNumInput * stepsni
KIntNumInput * numberni
KLineEdit * funle
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::saveFunction (   )  [private]
 

save user defined function

void FitListDialog::saveSettings (   )  [private, slot]
 

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::setNegateRegion (  bool  b = true  )  [inline, slot]
 

set and use negated region

void FitListDialog::setNrParameter (  int  par  )  [slot]
 

set number of fit parameter

void FitListDialog::setNrPoints (  int  v  )  [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  v  )  [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::showLabel (  bool  b = true  )  [inline, slot]
 

show result in plot

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

show residuals fo fit result

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

show fit 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]
 

QCheckBox * FitListDialog::labelcb [private]
 

KLineEdit * FitListDialog::maxle [private]
 

KLineEdit* FitListDialog::minle [private]
 

KComboBox* FitListDialog::modelcb [private]
 

QCheckBox * FitListDialog::negate_regioncb [private]
 

KIntNumInput * FitListDialog::numberni [private]
 

KIntNumInput* FitListDialog::parni [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]
 

KIntNumInput * FitListDialog::stepsni [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 Sat Oct 13 21:55:02 2007 for LabPlot by  doxygen 1.4.4