MCPcopy Create free account
hub / github.com/KDE/labplot / FitParametersWidget

Method FitParametersWidget

src/frontend/widgets/FitParametersWidget.cpp:28–39  ·  view source on GitHub ↗

! \class FitParametersWidget \brief Widget for editing fit parameters. For predefined models the number of parameters, their names and default values are given - the user can change the start values. For custom models the user has to define here the parameter names and their start values. \ingroup frontend */

Source from the content-addressed store, hash-verified

26 \ingroup frontend
27 */
28FitParametersWidget::FitParametersWidget(QWidget* parent)
29 : QWidget(parent) {
30 ui.setupUi(this);
31
32 ui.tableWidget->setColumnCount(5);
33
34 retranslateUi();
35
36 ui.tableWidget->installEventFilter(this);
37 connect(ui.tableWidget, &QTableWidget::cellChanged, this, &FitParametersWidget::changed);
38 updateTableSize();
39}
40
41void FitParametersWidget::setFitData(XYFitCurve::FitData* data) {
42 DEBUG(Q_FUNC_INFO);

Callers

nothing calls this directly

Calls 1

setColumnCountMethod · 0.45

Tested by

no test coverage detected