|
Mantid
|
#include <FitScriptGeneratorPresenter.h>
Public Member Functions | |
| FitScriptGeneratorPresenter (IFitScriptGeneratorView *view, IFitScriptGeneratorModel *model, QStringList const &workspaceNames=QStringList(), double startX=0.0, double endX=0.0) | |
| void | handleAddDomainAccepted (std::vector< Mantid::API::MatrixWorkspace_const_sptr > const &workspaces, FunctionModelSpectra const &workspaceIndices) override |
| void | notifyPresenter (ViewEvent const &event, FittingMode fittingMode) override |
| void | notifyPresenter (ViewEvent const &event, std::string const &arg1="", std::string const &arg2="") override |
| void | notifyPresenter (ViewEvent const &event, std::vector< std::string > const &vec) override |
| void | openFitScriptGenerator () override |
| void | setGlobalParameters (std::vector< GlobalParameter > const &globalParameters) override |
| void | setGlobalTies (std::vector< GlobalTie > const &globalTies) override |
| ~FitScriptGeneratorPresenter () override | |
Public Member Functions inherited from MantidQt::MantidWidgets::IFitScriptGeneratorPresenter | |
| virtual | ~IFitScriptGeneratorPresenter ()=default |
Private Member Functions | |
| void | addFunction (std::string const &workspaceName, WorkspaceIndex workspaceIndex, std::string const &function) |
| void | addWorkspace (Mantid::API::MatrixWorkspace_const_sptr const &workspace, double startX, double endX) |
| void | addWorkspace (Mantid::API::MatrixWorkspace_const_sptr const &workspace, WorkspaceIndex workspaceIndex, double startX, double endX) |
| void | addWorkspace (std::string const &workspaceName, double startX, double endX) |
| void | addWorkspace (std::string const &workspaceName, WorkspaceIndex workspaceIndex, double startX, double endX) |
| void | addWorkspaces (std::vector< Mantid::API::MatrixWorkspace_const_sptr > const &workspaces, FunctionModelSpectra const &workspaceIndices) |
| void | checkForWarningMessages () |
| std::tuple< std::string, std::string > | convertFunctionIndexOfParameterTie (std::string const &workspaceName, WorkspaceIndex workspaceIndex, std::string const ¶meter, std::string const &tie) const |
| template<typename Generator > | |
| void | generateFitScript (Generator &&func) const |
| void | generateScriptToClipboard () const |
| void | generateScriptToFile () const |
| std::vector< FitDomainIndex > | getDomainsWithLocalParameter (std::string const ¶meter) const |
| std::vector< FitDomainIndex > | getRowIndices () const |
| void | handleAddDomainClicked () |
| void | handleADSClearEvent () |
| void | handleADSDeleteEvent (std::string const &workspaceName) |
| void | handleADSRenameEvent (std::string const &workspaceName, std::string const &newName) |
| void | handleAttributeChanged (std::string const &attribute) |
| void | handleEditLocalParameterClicked (std::string const ¶meter) |
| void | handleEditLocalParameterFinished () |
| void | handleEndXChanged () |
| void | handleFittingModeChanged (FittingMode fittingMode) |
| void | handleFunctionAdded (std::string const &function) |
| void | handleFunctionRemoved (std::string const &function) |
| void | handleFunctionReplaced (std::string const &function) |
| void | handleGenerateScriptToClipboardClicked () |
| void | handleGenerateScriptToFileClicked () |
| void | handleGlobalParametersChanged (std::vector< std::string > const &globalParameters) |
| void | handleOutputBaseNameChanged (std::string const &outputBaseName) |
| void | handleParameterChanged (std::string const ¶meter) |
| void | handleParameterConstraintChanged (std::string const &functionIndex, std::string const &constraint) |
| void | handleParameterConstraintRemoved (std::string const ¶meter) |
| void | handleParameterTieChanged (std::string const ¶meter, std::string const &tie) |
| void | handleRemoveDomainClicked () |
| void | handleSelectionChanged () |
| void | handleStartXChanged () |
| void | insertLocalParameterData (std::string const ¶meter, std::vector< std::string > &workspaceNames, std::vector< std::string > &domainNames, std::vector< double > &values, std::vector< bool > &fixes, std::vector< std::string > &ties, std::vector< std::string > &constraints) const |
| void | insertLocalParameterDataForDomain (FitDomainIndex domainIndex, std::string const ¶meter, std::vector< std::string > &workspaceNames, std::vector< std::string > &domainNames, std::vector< double > &values, std::vector< bool > &fixes, std::vector< std::string > &ties, std::vector< std::string > &constraints) const |
| template<typename Function , typename... Args> | |
| void | invokeFunctionForDomain (FitDomainIndex domainIndex, Function &&func, Args... arguments) |
| void | removeDomains (std::vector< FitDomainIndex > const &domainIndices) |
| void | removeFunction (std::string const &workspaceName, WorkspaceIndex workspaceIndex, std::string const &function) |
| void | removeParameterConstraint (std::string const &workspaceName, WorkspaceIndex workspaceIndex, std::string const ¶meter) |
| void | setFunction (std::string const &workspaceName, WorkspaceIndex workspaceIndex, std::string const &function) |
| void | setLocalParameterDataForDomain (FitDomainIndex domainIndex, std::string const ¶meter, double value, bool fix, std::string const &tie, std::string const &constraint) |
| void | setWorkspaces (QStringList const &workspaceNames, double startX, double endX) |
| void | updateAttributeValue (std::string const &workspaceName, WorkspaceIndex workspaceIndex, std::string const &fullAttribute, Mantid::API::IFunction::Attribute const &newValue) |
| void | updateEndX (std::string const &workspaceName, WorkspaceIndex workspaceIndex, double endX) |
| void | updateFunctionInViewFromModel (FitDomainIndex domainIndex) |
| template<typename UpdateFunction , typename... Args> | |
| void | updateFunctionsInModel (UpdateFunction &&updateFunction, Args... arguments) |
| template<typename UpdateFunction > | |
| void | updateFunctionStructure (UpdateFunction &&updateFunction, std::string const &function) |
| void | updateParameterConstraint (std::string const &workspaceName, WorkspaceIndex workspaceIndex, std::string const &functionIndex, std::string const &constraint) |
| void | updateParameterTie (std::string const &workspaceName, WorkspaceIndex workspaceIndex, std::string const ¶meter, std::string const &tie) |
| void | updateParameterValue (std::string const &workspaceName, WorkspaceIndex workspaceIndex, std::string const ¶meter, double newValue) |
| void | updateStartX (std::string const &workspaceName, WorkspaceIndex workspaceIndex, double startX) |
| template<typename GetX , typename UpdateX > | |
| void | updateXLimitForDomain (GetX &&getX, UpdateX &&updateX) |
Private Attributes | |
| IFitScriptGeneratorModel * | m_model |
| IFitScriptGeneratorView * | m_view |
| std::vector< std::string > | m_warnings |
Definition at line 30 of file FitScriptGeneratorPresenter.h.
| MantidQt::MantidWidgets::FitScriptGeneratorPresenter::FitScriptGeneratorPresenter | ( | IFitScriptGeneratorView * | view, |
| IFitScriptGeneratorModel * | model, | ||
| QStringList const & | workspaceNames = QStringList(), |
||
| double | startX = 0.0, |
||
| double | endX = 0.0 |
||
| ) |
Definition at line 25 of file FitScriptGeneratorPresenter.cpp.
References m_model, m_view, setWorkspaces(), MantidQt::MantidWidgets::IFitScriptGeneratorModel::subscribePresenter(), and MantidQt::MantidWidgets::IFitScriptGeneratorView::subscribePresenter().
|
overridedefault |
|
private |
Definition at line 387 of file FitScriptGeneratorPresenter.cpp.
References MantidQt::MantidWidgets::IFitScriptGeneratorModel::addFunction(), and m_model.
Referenced by handleFunctionAdded().
|
private |
Definition at line 295 of file FitScriptGeneratorPresenter.cpp.
References addWorkspace(), index, and workspace.
|
private |
Definition at line 301 of file FitScriptGeneratorPresenter.cpp.
References addWorkspace(), and workspace.
|
private |
Definition at line 289 of file FitScriptGeneratorPresenter.cpp.
References addWorkspace().
Referenced by addWorkspace(), addWorkspace(), addWorkspace(), addWorkspaces(), and setWorkspaces().
|
private |
Definition at line 306 of file FitScriptGeneratorPresenter.cpp.
References MantidQt::MantidWidgets::IFitScriptGeneratorModel::addWorkspaceDomain(), MantidQt::MantidWidgets::IFitScriptGeneratorView::addWorkspaceDomain(), m_model, m_view, and m_warnings.
|
private |
Definition at line 275 of file FitScriptGeneratorPresenter.cpp.
References addWorkspace(), checkForWarningMessages(), and workspace.
Referenced by handleAddDomainAccepted().
|
private |
Definition at line 510 of file FitScriptGeneratorPresenter.cpp.
References MantidQt::MantidWidgets::IFitScriptGeneratorView::displayWarning(), m_view, and m_warnings.
Referenced by addWorkspaces(), handleParameterTieChanged(), and setWorkspaces().
|
private |
Definition at line 501 of file FitScriptGeneratorPresenter.cpp.
References MantidQt::MantidWidgets::IFitScriptGeneratorModel::getEquivalentFunctionIndexForDomain(), MantidQt::MantidWidgets::IFitScriptGeneratorModel::getEquivalentParameterTieForDomain(), and m_model.
Referenced by updateParameterTie().
|
private |
Definition at line 519 of file FitScriptGeneratorPresenter.cpp.
References MantidQt::MantidWidgets::IFitScriptGeneratorView::displayWarning(), MantidQt::MantidWidgets::IFitScriptGeneratorModel::isValid(), m_model, and m_view.
Referenced by handleGenerateScriptToClipboardClicked(), and handleGenerateScriptToFileClicked().
|
private |
Definition at line 537 of file FitScriptGeneratorPresenter.cpp.
References MantidQt::MantidWidgets::IFitScriptGeneratorView::fitOptions(), MantidQt::MantidWidgets::IFitScriptGeneratorModel::generatePythonFitScript(), m_model, m_view, MantidQt::MantidWidgets::IFitScriptGeneratorView::saveTextToClipboard(), and MantidQt::MantidWidgets::IFitScriptGeneratorView::setSuccessText().
Referenced by handleGenerateScriptToClipboardClicked().
|
private |
Definition at line 529 of file FitScriptGeneratorPresenter.cpp.
References MantidQt::MantidWidgets::IFitScriptGeneratorView::filepath(), MantidQt::MantidWidgets::IFitScriptGeneratorView::fitOptions(), MantidQt::MantidWidgets::IFitScriptGeneratorModel::generatePythonFitScript(), m_model, m_view, and MantidQt::MantidWidgets::IFitScriptGeneratorView::setSuccessText().
Referenced by handleGenerateScriptToFileClicked().
|
private |
Definition at line 489 of file FitScriptGeneratorPresenter.cpp.
References MantidQt::MantidWidgets::IFitScriptGeneratorView::allRows(), MantidQt::MantidWidgets::IFitScriptGeneratorModel::getFullParameter(), MantidQt::MantidWidgets::IFitScriptGeneratorModel::hasParameter(), m_model, and m_view.
Referenced by handleEditLocalParameterFinished().
|
private |
Definition at line 440 of file FitScriptGeneratorPresenter.cpp.
References MantidQt::MantidWidgets::IFitScriptGeneratorView::allRows(), MantidQt::MantidWidgets::IFitScriptGeneratorView::applyFunctionChangesToAll(), m_view, and MantidQt::MantidWidgets::IFitScriptGeneratorView::selectedRows().
Referenced by updateFunctionsInModel().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorPresenter.
Definition at line 148 of file FitScriptGeneratorPresenter.cpp.
References addWorkspaces(), and MantidQt::MantidWidgets::FunctionModelSpectra::empty().
|
private |
Definition at line 146 of file FitScriptGeneratorPresenter.cpp.
References m_view, and MantidQt::MantidWidgets::IFitScriptGeneratorView::openAddWorkspaceDialog().
Referenced by notifyPresenter().
|
private |
Definition at line 137 of file FitScriptGeneratorPresenter.cpp.
References MantidQt::MantidWidgets::IFitScriptGeneratorView::allRows(), m_view, and removeDomains().
Referenced by notifyPresenter().
|
private |
Definition at line 128 of file FitScriptGeneratorPresenter.cpp.
References MantidQt::MantidWidgets::IFitScriptGeneratorView::allRows(), index, m_view, removeDomains(), and MantidQt::MantidWidgets::IFitScriptGeneratorView::workspaceName().
Referenced by notifyPresenter().
|
private |
Definition at line 139 of file FitScriptGeneratorPresenter.cpp.
References m_model, m_view, MantidQt::MantidWidgets::IFitScriptGeneratorModel::renameWorkspace(), and MantidQt::MantidWidgets::IFitScriptGeneratorView::renameWorkspace().
Referenced by notifyPresenter().
|
private |
Definition at line 190 of file FitScriptGeneratorPresenter.cpp.
References MantidQt::MantidWidgets::IFitScriptGeneratorView::attributeValue(), m_view, updateAttributeValue(), and updateFunctionsInModel().
Referenced by notifyPresenter().
|
private |
Definition at line 223 of file FitScriptGeneratorPresenter.cpp.
References MantidQt::MantidWidgets::IFitScriptGeneratorModel::getAdjustedFunctionIndex(), insertLocalParameterData(), m_model, m_view, and MantidQt::MantidWidgets::IFitScriptGeneratorView::openEditLocalParameterDialog().
Referenced by notifyPresenter().
|
private |
Definition at line 233 of file FitScriptGeneratorPresenter.cpp.
References getDomainsWithLocalParameter(), MantidQt::MantidWidgets::IFitScriptGeneratorView::getEditLocalParameterResults(), handleSelectionChanged(), m_view, and setLocalParameterDataForDomain().
Referenced by notifyPresenter().
|
private |
Definition at line 168 of file FitScriptGeneratorPresenter.cpp.
References MantidQt::MantidWidgets::IFitScriptGeneratorView::endX(), updateEndX(), and updateXLimitForDomain().
Referenced by notifyPresenter().
|
private |
Definition at line 248 of file FitScriptGeneratorPresenter.cpp.
References handleSelectionChanged(), m_model, and MantidQt::MantidWidgets::IFitScriptGeneratorModel::setFittingMode().
Referenced by notifyPresenter().
|
private |
Definition at line 176 of file FitScriptGeneratorPresenter.cpp.
References addFunction(), and updateFunctionStructure().
Referenced by notifyPresenter().
|
private |
Definition at line 172 of file FitScriptGeneratorPresenter.cpp.
References removeFunction(), and updateFunctionStructure().
Referenced by notifyPresenter().
|
private |
Definition at line 180 of file FitScriptGeneratorPresenter.cpp.
References setFunction(), and updateFunctionStructure().
Referenced by notifyPresenter().
|
private |
Definition at line 257 of file FitScriptGeneratorPresenter.cpp.
References generateFitScript(), and generateScriptToClipboard().
Referenced by notifyPresenter().
|
private |
Definition at line 253 of file FitScriptGeneratorPresenter.cpp.
References generateFitScript(), and generateScriptToFile().
Referenced by notifyPresenter().
|
private |
Definition at line 214 of file FitScriptGeneratorPresenter.cpp.
References MantidQt::MantidWidgets::IFitScriptGeneratorView::displayWarning(), handleSelectionChanged(), m_model, m_view, and MantidQt::MantidWidgets::IFitScriptGeneratorModel::setGlobalParameters().
Referenced by notifyPresenter().
|
private |
Definition at line 244 of file FitScriptGeneratorPresenter.cpp.
References m_model, and MantidQt::MantidWidgets::IFitScriptGeneratorModel::setOutputBaseName().
Referenced by notifyPresenter().
|
private |
Definition at line 184 of file FitScriptGeneratorPresenter.cpp.
References handleSelectionChanged(), m_view, MantidQt::MantidWidgets::IFitScriptGeneratorView::parameterValue(), updateFunctionsInModel(), and updateParameterValue().
Referenced by notifyPresenter().
|
private |
Definition at line 208 of file FitScriptGeneratorPresenter.cpp.
References handleSelectionChanged(), updateFunctionsInModel(), and updateParameterConstraint().
Referenced by notifyPresenter().
|
private |
Definition at line 203 of file FitScriptGeneratorPresenter.cpp.
References handleSelectionChanged(), removeParameterConstraint(), and updateFunctionsInModel().
Referenced by notifyPresenter().
|
private |
Definition at line 195 of file FitScriptGeneratorPresenter.cpp.
References checkForWarningMessages(), MantidQt::MantidWidgets::IFitScriptGeneratorModel::getGlobalTies(), handleSelectionChanged(), m_model, setGlobalTies(), updateFunctionsInModel(), and updateParameterTie().
Referenced by notifyPresenter().
|
private |
Definition at line 144 of file FitScriptGeneratorPresenter.cpp.
References m_view, removeDomains(), and MantidQt::MantidWidgets::IFitScriptGeneratorView::selectedRows().
Referenced by notifyPresenter().
|
private |
Definition at line 154 of file FitScriptGeneratorPresenter.cpp.
References MantidQt::MantidWidgets::IFitScriptGeneratorView::clearFunction(), MantidQt::MantidWidgets::IFitScriptGeneratorView::currentRow(), MantidQt::MantidWidgets::IFitScriptGeneratorView::hasLoadedData(), MantidQt::MantidWidgets::IFitScriptGeneratorModel::isSimultaneousMode(), m_model, m_view, MantidQt::MantidWidgets::IFitScriptGeneratorView::setSimultaneousMode(), and updateFunctionInViewFromModel().
Referenced by handleEditLocalParameterFinished(), handleFittingModeChanged(), handleGlobalParametersChanged(), handleParameterChanged(), handleParameterConstraintChanged(), handleParameterConstraintRemoved(), handleParameterTieChanged(), notifyPresenter(), and removeDomains().
|
private |
Definition at line 164 of file FitScriptGeneratorPresenter.cpp.
References MantidQt::MantidWidgets::IFitScriptGeneratorView::startX(), updateStartX(), and updateXLimitForDomain().
Referenced by notifyPresenter().
|
private |
Definition at line 444 of file FitScriptGeneratorPresenter.cpp.
References MantidQt::MantidWidgets::IFitScriptGeneratorView::allRows(), insertLocalParameterDataForDomain(), and m_view.
Referenced by handleEditLocalParameterClicked().
|
private |
Definition at line 458 of file FitScriptGeneratorPresenter.cpp.
References MantidQt::MantidWidgets::IFitScriptGeneratorModel::getDomainName(), MantidQt::MantidWidgets::IFitScriptGeneratorModel::getParameterConstraint(), MantidQt::MantidWidgets::IFitScriptGeneratorModel::getParameterTie(), MantidQt::MantidWidgets::IFitScriptGeneratorModel::getParameterValue(), MantidQt::MantidWidgets::IFitScriptGeneratorModel::hasParameter(), MantidQt::MantidWidgets::IFitScriptGeneratorModel::isParameterFixed(), m_model, m_view, and MantidQt::MantidWidgets::IFitScriptGeneratorView::workspaceName().
Referenced by insertLocalParameterData().
|
private |
Definition at line 432 of file FitScriptGeneratorPresenter.cpp.
References m_view, MantidQt::MantidWidgets::IFitScriptGeneratorView::workspaceIndex(), and MantidQt::MantidWidgets::IFitScriptGeneratorView::workspaceName().
Referenced by updateFunctionsInModel(), and updateXLimitForDomain().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorPresenter.
Definition at line 116 of file FitScriptGeneratorPresenter.cpp.
References handleFittingModeChanged().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorPresenter.
Definition at line 35 of file FitScriptGeneratorPresenter.cpp.
References handleAddDomainClicked(), handleADSClearEvent(), handleADSDeleteEvent(), handleADSRenameEvent(), handleAttributeChanged(), handleEditLocalParameterClicked(), handleEditLocalParameterFinished(), handleEndXChanged(), handleFunctionAdded(), handleFunctionRemoved(), handleFunctionReplaced(), handleGenerateScriptToClipboardClicked(), handleGenerateScriptToFileClicked(), handleOutputBaseNameChanged(), handleParameterChanged(), handleParameterConstraintChanged(), handleParameterConstraintRemoved(), handleParameterTieChanged(), handleRemoveDomainClicked(), handleSelectionChanged(), and handleStartXChanged().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorPresenter.
Definition at line 106 of file FitScriptGeneratorPresenter.cpp.
References handleGlobalParametersChanged(), and vec.
|
overridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorPresenter.
Definition at line 126 of file FitScriptGeneratorPresenter.cpp.
References m_view.
|
private |
Definition at line 316 of file FitScriptGeneratorPresenter.cpp.
References handleSelectionChanged(), index, m_model, m_view, MantidQt::MantidWidgets::IFitScriptGeneratorModel::removeDomain(), and MantidQt::MantidWidgets::IFitScriptGeneratorView::removeDomain().
Referenced by handleADSClearEvent(), handleADSDeleteEvent(), and handleRemoveDomainClicked().
|
private |
Definition at line 382 of file FitScriptGeneratorPresenter.cpp.
References m_model, and MantidQt::MantidWidgets::IFitScriptGeneratorModel::removeFunction().
Referenced by handleFunctionRemoved().
|
private |
Definition at line 367 of file FitScriptGeneratorPresenter.cpp.
References m_model, and MantidQt::MantidWidgets::IFitScriptGeneratorModel::removeParameterConstraint().
Referenced by handleParameterConstraintRemoved().
|
private |
Definition at line 392 of file FitScriptGeneratorPresenter.cpp.
References m_model, and MantidQt::MantidWidgets::IFitScriptGeneratorModel::setFunction().
Referenced by handleFunctionReplaced().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorPresenter.
Definition at line 265 of file FitScriptGeneratorPresenter.cpp.
References m_view, and MantidQt::MantidWidgets::IFitScriptGeneratorView::setGlobalParameters().
Referenced by updateFunctionInViewFromModel().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorPresenter.
Definition at line 261 of file FitScriptGeneratorPresenter.cpp.
References m_view, and MantidQt::MantidWidgets::IFitScriptGeneratorView::setGlobalTies().
Referenced by handleParameterTieChanged().
|
private |
Definition at line 472 of file FitScriptGeneratorPresenter.cpp.
References MantidQt::MantidWidgets::IFitScriptGeneratorModel::getFullParameter(), MantidQt::MantidWidgets::IFitScriptGeneratorModel::hasParameter(), m_model, MantidQt::MantidWidgets::IFitScriptGeneratorModel::setParameterConstraint(), MantidQt::MantidWidgets::IFitScriptGeneratorModel::setParameterFixed(), MantidQt::MantidWidgets::IFitScriptGeneratorModel::setParameterTie(), MantidQt::MantidWidgets::IFitScriptGeneratorModel::setParameterValue(), and value.
Referenced by handleEditLocalParameterFinished().
|
private |
Definition at line 269 of file FitScriptGeneratorPresenter.cpp.
References addWorkspace(), and checkForWarningMessages().
Referenced by FitScriptGeneratorPresenter().
|
private |
Definition at line 350 of file FitScriptGeneratorPresenter.cpp.
References m_model, and MantidQt::MantidWidgets::IFitScriptGeneratorModel::updateAttributeValue().
Referenced by handleAttributeChanged().
|
private |
Definition at line 334 of file FitScriptGeneratorPresenter.cpp.
References MantidQt::MantidWidgets::IFitScriptGeneratorView::displayWarning(), m_model, m_view, MantidQt::MantidWidgets::IFitScriptGeneratorView::resetSelection(), and MantidQt::MantidWidgets::IFitScriptGeneratorModel::updateEndX().
Referenced by handleEndXChanged().
|
private |
Definition at line 397 of file FitScriptGeneratorPresenter.cpp.
References MantidQt::MantidWidgets::IFitScriptGeneratorModel::getFunction(), MantidQt::MantidWidgets::IFitScriptGeneratorModel::getGlobalParameters(), m_model, m_view, MantidQt::MantidWidgets::IFitScriptGeneratorView::setFunction(), setGlobalParameters(), MantidQt::MantidWidgets::IFitScriptGeneratorView::workspaceIndex(), and MantidQt::MantidWidgets::IFitScriptGeneratorView::workspaceName().
Referenced by handleSelectionChanged().
|
private |
Definition at line 425 of file FitScriptGeneratorPresenter.cpp.
References getRowIndices(), and invokeFunctionForDomain().
Referenced by handleAttributeChanged(), handleParameterChanged(), handleParameterConstraintChanged(), handleParameterConstraintRemoved(), handleParameterTieChanged(), and updateFunctionStructure().
|
private |
Definition at line 414 of file FitScriptGeneratorPresenter.cpp.
References MantidQt::MantidWidgets::IFitScriptGeneratorView::clearFunction(), MantidQt::MantidWidgets::IFitScriptGeneratorView::displayWarning(), MantidQt::MantidWidgets::IFitScriptGeneratorView::hasLoadedData(), m_view, and updateFunctionsInModel().
Referenced by handleFunctionAdded(), handleFunctionRemoved(), and handleFunctionReplaced().
|
private |
Definition at line 373 of file FitScriptGeneratorPresenter.cpp.
References MantidQt::MantidWidgets::IFitScriptGeneratorModel::getEquivalentFunctionIndexForDomain(), m_model, and MantidQt::MantidWidgets::IFitScriptGeneratorModel::updateParameterConstraint().
Referenced by handleParameterConstraintChanged().
|
private |
Definition at line 356 of file FitScriptGeneratorPresenter.cpp.
References convertFunctionIndexOfParameterTie(), m_model, m_warnings, and MantidQt::MantidWidgets::IFitScriptGeneratorModel::updateParameterTie().
Referenced by handleParameterTieChanged().
|
private |
Definition at line 343 of file FitScriptGeneratorPresenter.cpp.
References MantidQt::MantidWidgets::IFitScriptGeneratorModel::getEquivalentFunctionIndexForDomain(), m_model, and MantidQt::MantidWidgets::IFitScriptGeneratorModel::updateParameterValue().
Referenced by handleParameterChanged().
|
private |
Definition at line 325 of file FitScriptGeneratorPresenter.cpp.
References MantidQt::MantidWidgets::IFitScriptGeneratorView::displayWarning(), m_model, m_view, MantidQt::MantidWidgets::IFitScriptGeneratorView::resetSelection(), and MantidQt::MantidWidgets::IFitScriptGeneratorModel::updateStartX().
Referenced by handleStartXChanged().
|
private |
Definition at line 405 of file FitScriptGeneratorPresenter.cpp.
References MantidQt::MantidWidgets::IFitScriptGeneratorView::currentRow(), MantidQt::MantidWidgets::IFitScriptGeneratorView::hasLoadedData(), invokeFunctionForDomain(), and m_view.
Referenced by handleEndXChanged(), and handleStartXChanged().
|
private |
Definition at line 149 of file FitScriptGeneratorPresenter.h.
Referenced by addFunction(), addWorkspace(), convertFunctionIndexOfParameterTie(), FitScriptGeneratorPresenter(), generateFitScript(), generateScriptToClipboard(), generateScriptToFile(), getDomainsWithLocalParameter(), handleADSRenameEvent(), handleEditLocalParameterClicked(), handleFittingModeChanged(), handleGlobalParametersChanged(), handleOutputBaseNameChanged(), handleParameterTieChanged(), handleSelectionChanged(), insertLocalParameterDataForDomain(), removeDomains(), removeFunction(), removeParameterConstraint(), setFunction(), setLocalParameterDataForDomain(), updateAttributeValue(), updateEndX(), updateFunctionInViewFromModel(), updateParameterConstraint(), updateParameterTie(), updateParameterValue(), and updateStartX().
|
private |
Definition at line 148 of file FitScriptGeneratorPresenter.h.
Referenced by addWorkspace(), checkForWarningMessages(), FitScriptGeneratorPresenter(), generateFitScript(), generateScriptToClipboard(), generateScriptToFile(), getDomainsWithLocalParameter(), getRowIndices(), handleAddDomainClicked(), handleADSClearEvent(), handleADSDeleteEvent(), handleADSRenameEvent(), handleAttributeChanged(), handleEditLocalParameterClicked(), handleEditLocalParameterFinished(), handleGlobalParametersChanged(), handleParameterChanged(), handleRemoveDomainClicked(), handleSelectionChanged(), insertLocalParameterData(), insertLocalParameterDataForDomain(), invokeFunctionForDomain(), openFitScriptGenerator(), removeDomains(), setGlobalParameters(), setGlobalTies(), updateEndX(), updateFunctionInViewFromModel(), updateFunctionStructure(), updateStartX(), and updateXLimitForDomain().
|
private |
Definition at line 146 of file FitScriptGeneratorPresenter.h.
Referenced by addWorkspace(), checkForWarningMessages(), and updateParameterTie().