#include <FitDialog.h>
Public Member Functions | |
FitDialog (Graph *g, QWidget *parent=0, Qt::WFlags fl=0) | |
void | setSrcTables (QWidgetList *tables) |
Protected Member Functions | |
void | closeEvent (QCloseEvent *e) |
void | initAdvancedPage () |
void | initEditPage () |
void | initFitPage () |
Private Slots | |
void | accept () |
void | activateCurve (const QString &curveName) |
void | addFunction () |
void | addFunctionName () |
void | applyChanges () |
Applies the user changes to the numerical format of the output results. | |
void | changeDataRange () |
void | chooseFolder () |
void | deleteFitCurves () |
Deletes the result fit curves from the plot. | |
void | enableApplyChanges (int=0) |
Enable the "Apply" button. | |
void | enableWeightingParameters (int index) |
void | removeUserFunction () |
void | resetFunction () |
Clears the function editor, the parameter names and the function name. | |
void | returnToFitPage () |
void | saveInitialGuesses () |
void | saveUserFunction () |
void | selectSrcTable (int tabnr) |
void | setFunction (bool ok) |
void | setGraph (Graph *g) |
void | setNumPeaks (int peaks) |
void | showAdvancedPage () |
void | showCovarianceMatrix () |
void | showEditPage () |
void | showExpression (int function) |
void | showFitPage () |
void | showFunctionsList (int category) |
void | showParameterRange (bool) |
void | showParametersTable () |
void | showParseFunctions () |
void | showPointsBox (bool) |
void | updatePreview () |
Private Member Functions | |
QStringList | builtInFunctionNames () |
void | initBuiltInFunctions () |
void | loadPlugins () |
void | loadUserFunctions () |
void | modifyGuesses (double *initVal) |
QString | parseFormula (const QString &s) |
QStringList | plugInNames () |
QStringList | userFunctionNames () |
Private Attributes | |
QWidget * | advancedPage |
QComboBox * | boxAlgorithm |
ColorBox * | boxColor |
QComboBox * | boxCurve |
DoubleSpinBox * | boxFrom |
QTextEdit * | boxFunction |
QLineEdit * | boxName |
QLineEdit * | boxParam |
QTableWidget * | boxParams |
QSpinBox * | boxPoints |
QSpinBox * | boxPrecision |
DoubleSpinBox * | boxTo |
DoubleSpinBox * | boxTolerance |
QCheckBox * | boxUseBuiltIn |
QComboBox * | boxWeighting |
QPushButton * | btnAddFunc |
QPushButton * | btnAddName |
QPushButton * | btnAddTxt |
QPushButton * | btnApply |
QPushButton * | btnBack |
QPushButton * | btnContinue |
QPushButton * | btnCovMatrix |
QPushButton * | btnDeleteFitCurves |
QPushButton * | btnDelFunc |
QPushButton * | btnParamRange |
QPushButton * | btnParamTable |
QPushButton * | btnSaveGuesses |
QPushButton * | buttonAdvanced |
QPushButton * | buttonCancel1 |
QPushButton * | buttonCancel2 |
QPushButton * | buttonCancel3 |
QPushButton * | buttonClear |
QPushButton * | buttonEdit |
QPushButton * | buttonOk |
QPushButton * | buttonPlugins |
QListWidget * | categoryBox |
QComboBox * | colNamesBox |
QLineEdit * | covMatrixName |
QList< Fit * > | d_built_in_functions |
Fit * | d_current_fit |
Graph * | d_graph |
Table * | d_param_table |
QList< Fit * > | d_plugins |
QwtPlotCurve * | d_preview_curve |
QList< Fit * > | d_user_functions |
QTextEdit * | editBox |
QWidget * | editPage |
QTextEdit * | explainBox |
QWidget * | fitPage |
QListWidget * | funcBox |
QSpinBox * | generatePointsBox |
QRadioButton * | generatePointsBtn |
QCheckBox * | globalParamTableBox |
QLabel * | lblFunction |
QLabel * | lblPoints |
QCheckBox * | logBox |
QLineEdit * | paramTableName |
QCheckBox * | plotLabelBox |
QSpinBox * | polynomOrderBox |
QLabel * | polynomOrderLabel |
QCheckBox * | previewBox |
QRadioButton * | samePointsBtn |
QCheckBox * | scaleErrorsBox |
QWidgetList * | srcTables |
QComboBox * | tableNamesBox |
QStackedWidget * | tw |
FitDialog::FitDialog | ( | Graph * | g, | |
QWidget * | parent = 0 , |
|||
Qt::WFlags | fl = 0 | |||
) |
void FitDialog::accept | ( | ) | [private, slot] |
void FitDialog::activateCurve | ( | const QString & | curveName | ) | [private, slot] |
void FitDialog::addFunction | ( | ) | [private, slot] |
void FitDialog::addFunctionName | ( | ) | [private, slot] |
void FitDialog::applyChanges | ( | ) | [private, slot] |
Applies the user changes to the numerical format of the output results.
QStringList FitDialog::builtInFunctionNames | ( | ) | [private] |
void FitDialog::changeDataRange | ( | ) | [private, slot] |
void FitDialog::chooseFolder | ( | ) | [private, slot] |
void FitDialog::closeEvent | ( | QCloseEvent * | e | ) | [protected] |
void FitDialog::deleteFitCurves | ( | ) | [private, slot] |
Deletes the result fit curves from the plot.
void FitDialog::enableApplyChanges | ( | int | = 0 |
) | [private, slot] |
Enable the "Apply" button.
void FitDialog::enableWeightingParameters | ( | int | index | ) | [private, slot] |
void FitDialog::initAdvancedPage | ( | ) | [protected] |
void FitDialog::initBuiltInFunctions | ( | ) | [private] |
void FitDialog::initEditPage | ( | ) | [protected] |
void FitDialog::initFitPage | ( | ) | [protected] |
void FitDialog::loadPlugins | ( | ) | [private] |
void FitDialog::loadUserFunctions | ( | ) | [private] |
void FitDialog::modifyGuesses | ( | double * | initVal | ) | [private] |
QString FitDialog::parseFormula | ( | const QString & | s | ) | [private] |
QStringList FitDialog::plugInNames | ( | ) | [private] |
void FitDialog::removeUserFunction | ( | ) | [private, slot] |
void FitDialog::resetFunction | ( | ) | [private, slot] |
Clears the function editor, the parameter names and the function name.
void FitDialog::returnToFitPage | ( | ) | [private, slot] |
void FitDialog::saveInitialGuesses | ( | ) | [private, slot] |
void FitDialog::saveUserFunction | ( | ) | [private, slot] |
void FitDialog::selectSrcTable | ( | int | tabnr | ) | [private, slot] |
void FitDialog::setFunction | ( | bool | ok | ) | [private, slot] |
void FitDialog::setGraph | ( | Graph * | g | ) | [private, slot] |
void FitDialog::setNumPeaks | ( | int | peaks | ) | [private, slot] |
void FitDialog::setSrcTables | ( | QWidgetList * | tables | ) |
void FitDialog::showAdvancedPage | ( | ) | [private, slot] |
void FitDialog::showCovarianceMatrix | ( | ) | [private, slot] |
void FitDialog::showEditPage | ( | ) | [private, slot] |
void FitDialog::showExpression | ( | int | function | ) | [private, slot] |
void FitDialog::showFitPage | ( | ) | [private, slot] |
void FitDialog::showFunctionsList | ( | int | category | ) | [private, slot] |
void FitDialog::showParameterRange | ( | bool | on | ) | [private, slot] |
void FitDialog::showParametersTable | ( | ) | [private, slot] |
void FitDialog::showParseFunctions | ( | ) | [private, slot] |
void FitDialog::showPointsBox | ( | bool | ) | [private, slot] |
void FitDialog::updatePreview | ( | ) | [private, slot] |
QStringList FitDialog::userFunctionNames | ( | ) | [private] |
QWidget * FitDialog::advancedPage [private] |
QComboBox* FitDialog::boxAlgorithm [private] |
ColorBox* FitDialog::boxColor [private] |
QComboBox* FitDialog::boxCurve [private] |
DoubleSpinBox* FitDialog::boxFrom [private] |
QTextEdit * FitDialog::boxFunction [private] |
QLineEdit* FitDialog::boxName [private] |
QLineEdit * FitDialog::boxParam [private] |
QTableWidget* FitDialog::boxParams [private] |
QSpinBox* FitDialog::boxPoints [private] |
QSpinBox * FitDialog::boxPrecision [private] |
DoubleSpinBox* FitDialog::boxTo [private] |
DoubleSpinBox* FitDialog::boxTolerance [private] |
QCheckBox* FitDialog::boxUseBuiltIn [private] |
QComboBox* FitDialog::boxWeighting [private] |
QPushButton* FitDialog::btnAddFunc [private] |
QPushButton * FitDialog::btnAddName [private] |
QPushButton * FitDialog::btnAddTxt [private] |
QPushButton * FitDialog::btnApply [private] |
QPushButton* FitDialog::btnBack [private] |
QPushButton * FitDialog::btnContinue [private] |
QPushButton * FitDialog::btnCovMatrix [private] |
QPushButton * FitDialog::btnDeleteFitCurves [private] |
QPushButton * FitDialog::btnDelFunc [private] |
QPushButton * FitDialog::btnParamRange [private] |
QPushButton* FitDialog::btnParamTable [private] |
QPushButton* FitDialog::btnSaveGuesses [private] |
QPushButton* FitDialog::buttonAdvanced [private] |
QPushButton* FitDialog::buttonCancel1 [private] |
QPushButton* FitDialog::buttonCancel2 [private] |
QPushButton* FitDialog::buttonCancel3 [private] |
QPushButton* FitDialog::buttonClear [private] |
QPushButton* FitDialog::buttonEdit [private] |
QPushButton* FitDialog::buttonOk [private] |
QPushButton* FitDialog::buttonPlugins [private] |
QListWidget* FitDialog::categoryBox [private] |
QComboBox * FitDialog::colNamesBox [private] |
QLineEdit* FitDialog::covMatrixName [private] |
QList<Fit*> FitDialog::d_built_in_functions [private] |
Fit* FitDialog::d_current_fit [private] |
Graph* FitDialog::d_graph [private] |
Table* FitDialog::d_param_table [private] |
QList<Fit*> FitDialog::d_plugins [private] |
QwtPlotCurve* FitDialog::d_preview_curve [private] |
QList<Fit*> FitDialog::d_user_functions [private] |
QTextEdit* FitDialog::editBox [private] |
QWidget * FitDialog::editPage [private] |
QTextEdit * FitDialog::explainBox [private] |
QWidget* FitDialog::fitPage [private] |
QListWidget * FitDialog::funcBox [private] |
QSpinBox * FitDialog::generatePointsBox [private] |
QRadioButton* FitDialog::generatePointsBtn [private] |
QCheckBox * FitDialog::globalParamTableBox [private] |
QLabel* FitDialog::lblFunction [private] |
QLabel * FitDialog::lblPoints [private] |
QCheckBox * FitDialog::logBox [private] |
QLineEdit * FitDialog::paramTableName [private] |
QCheckBox* FitDialog::plotLabelBox [private] |
QSpinBox * FitDialog::polynomOrderBox [private] |
QLabel * FitDialog::polynomOrderLabel [private] |
QCheckBox* FitDialog::previewBox [private] |
QRadioButton * FitDialog::samePointsBtn [private] |
QCheckBox * FitDialog::scaleErrorsBox [private] |
QWidgetList* FitDialog::srcTables [private] |
QComboBox * FitDialog::tableNamesBox [private] |
QStackedWidget* FitDialog::tw [private] |