34 void setFunctionString(std::string
const &funStr);
35 std::string getFunctionString()
const;
39 std::string getFitFunctionString()
const;
40 bool hasFunction()
const;
41 void setParameter(std::string
const ¶meterName,
double value);
42 void setParameterError(std::string
const ¶meterName,
double value);
43 double getParameter(std::string
const ¶meterName);
44 bool isParameterFixed(std::string
const ¶meterName)
const;
45 std::string getParameterTie(std::string
const ¶meterName)
const;
46 void updateParameters(
const IFunction &fun);
47 void updateMultiDatasetParameters(
const IFunction &fun);
48 void updateMultiDatasetAttributes(
const IFunction &fun);
50 std::optional<std::string> currentFunctionIndex()
const;
51 void setNumberOfDatasets(
int);
52 void setDatasets(
const std::vector<std::string> &datasetNames);
54 void addDatasets(
const std::vector<std::string> &datasetNames);
55 std::vector<std::string> getDatasetNames()
const;
56 std::vector<std::string> getDatasetDomainNames()
const;
57 int getNumberOfDatasets()
const;
58 int getCurrentDataset()
const;
59 void setCurrentDataset(
int);
61 double getLocalParameterValue(std::string
const ¶meterName,
int i)
const;
62 bool isLocalParameterFixed(std::string
const ¶meterName,
int i)
const;
63 std::string getLocalParameterTie(std::string
const ¶meterName,
int i)
const;
64 std::string getLocalParameterConstraint(std::string
const ¶meterName,
int i)
const;
65 void setLocalParameterValue(std::string
const ¶meterName,
int i,
double value);
66 void setLocalParameterValue(std::string
const ¶meterName,
int i,
double value,
double error);
67 void setLocalParameterFixed(std::string
const ¶meterName,
int i,
bool fixed);
68 void setLocalParameterTie(std::string
const ¶meterName,
int i, std::string
const &tie);
69 void setLocalParameterConstraint(std::string
const ¶meterName,
int i, std::string
const &constraint);
70 std::vector<std::string> getGlobalParameters()
const;
71 void setGlobalParameters(std::vector<std::string>
const &globals);
72 std::vector<std::string> getLocalParameters()
const;
73 void setBackgroundA0(
double value);
75 void setColumnSizes(
int s0,
int s1,
int s2);
76 void setStretchLastColumn(
bool stretch);
77 void setErrorsEnabled(
bool enabled);
85 void viewChangedParameter(std::string
const ¶meterName);
86 void viewChangedAttribute(std::string
const &attrName);
87 void viewPastedFunction(std::string
const &funStr);
88 void viewAddedFunction(std::string
const &funStr);
89 void viewRemovedFunction(std::string
const &functionIndex);
90 void viewChangedTie(std::string
const ¶meterName, std::string
const &tie);
91 void viewAddedConstraint(std::string
const &functionIndex, std::string
const &constraint);
92 void viewRemovedConstraint(std::string
const ¶meterName);
93 void viewRequestedCopyToClipboard();
94 void viewChangedGlobals(
const std::vector<std::string> &globalParameters);
95 void editLocalParameter(std::string
const ¶meterName);
96 void editLocalParameterFinish(
int result);
97 void viewRequestedFunctionHelp();
100 void updateViewFromModel();
101 void updateViewAttributesFromModel();