Mantid
|
#include <FitScriptGeneratorView.h>
Public Slots | |
void | closeEvent (QCloseEvent *event) override |
Public Member Functions | |
QPushButton * | addWorkspaceButton () const override |
AddWorkspaceDialog * | addWorkspaceDialog () const override |
void | addWorkspaceDomain (std::string const &workspaceName, WorkspaceIndex workspaceIndex, double startX, double endX) override |
std::vector< FitDomainIndex > | allRows () const override |
bool | applyFunctionChangesToAll () const override |
Mantid::API::IFunction::Attribute | attributeValue (std::string const &attribute) const override |
void | clearFunction () override |
void | clearHandle () override |
If the ADS is cleared, then this function will trigger, works by overloading this class and overriding this function. More... | |
FitDomainIndex | currentRow () const override |
void | deleteHandle (std::string const &wsName, Workspace_sptr const &ws) override |
If a workspace is deleted from the ADS, then this function will trigger, works by overloading this class and overriding this function. More... | |
void | displayWarning (std::string const &message) override |
double | endX (FitDomainIndex index) const override |
std::string | filepath () const override |
std::tuple< std::string, std::string, std::string, std::string, std::string, bool > | fitOptions () const override |
FitScriptGeneratorView (QWidget *parent=nullptr, FittingMode fittingMode=FittingMode::SEQUENTIAL, QMap< QString, QString > const &fitOptions=QMap< QString, QString >()) | |
QPushButton * | generateScriptToClipboardButton () const override |
QPushButton * | generateScriptToFileButton () const override |
std::vector< WorkspaceIndex > | getDialogWorkspaceIndices () const override |
std::vector< Mantid::API::MatrixWorkspace_const_sptr > | getDialogWorkspaces () override |
std::tuple< std::string, std::vector< double >, std::vector< bool >, std::vector< std::string >, std::vector< std::string > > | getEditLocalParameterResults () const override |
bool | hasLoadedData () const override |
void | openAddWorkspaceDialog () override |
void | openEditLocalParameterDialog (std::string const ¶meter, std::vector< std::string > const &workspaceNames, std::vector< std::string > const &domainNames, std::vector< double > const &values, std::vector< bool > const &fixes, std::vector< std::string > const &ties, std::vector< std::string > const &constraints) override |
double | parameterValue (std::string const ¶meter) const override |
QPushButton * | removeButton () const override |
void | removeDomain (FitDomainIndex domainIndex) override |
void | renameHandle (std::string const &wsName, std::string const &newName) override |
If a workspace is renamed in the ADS, then this function will trigger, works by overloading this class and overriding this function. More... | |
void | renameWorkspace (std::string const &workspaceName, std::string const &newName) override |
void | resetSelection () override |
void | saveTextToClipboard (std::string const &text) const override |
std::vector< FitDomainIndex > | selectedRows () const override |
void | setFunction (Mantid::API::IFunction_sptr const &function) const override |
void | setGlobalParameters (std::vector< GlobalParameter > const &globalParameter) override |
void | setGlobalTies (std::vector< GlobalTie > const &globalTies) override |
void | setSimultaneousMode (bool simultaneousMode) override |
void | setSuccessText (std::string const &text) override |
double | startX (FitDomainIndex index) const override |
void | subscribePresenter (IFitScriptGeneratorPresenter *presenter) override |
FitScriptGeneratorDataTable * | tableWidget () const override |
Testing accessors. More... | |
WorkspaceIndex | workspaceIndex (FitDomainIndex index) const override |
std::string | workspaceName (FitDomainIndex index) const override |
~FitScriptGeneratorView () override | |
Public Member Functions inherited from MantidQt::MantidWidgets::IFitScriptGeneratorView | |
virtual QPushButton * | addWorkspaceButton () const =0 |
virtual AddWorkspaceDialog * | addWorkspaceDialog () const =0 |
virtual void | addWorkspaceDomain (std::string const &workspaceName, WorkspaceIndex workspaceIndex, double startX, double endX)=0 |
virtual std::vector< FitDomainIndex > | allRows () const =0 |
virtual bool | applyFunctionChangesToAll () const =0 |
virtual Mantid::API::IFunction::Attribute | attributeValue (std::string const &attribute) const =0 |
virtual void | clearFunction ()=0 |
virtual FitDomainIndex | currentRow () const =0 |
virtual void | displayWarning (std::string const &message)=0 |
virtual double | endX (FitDomainIndex index) const =0 |
virtual std::string | filepath () const =0 |
virtual std::tuple< std::string, std::string, std::string, std::string, std::string, bool > | fitOptions () const =0 |
virtual QPushButton * | generateScriptToClipboardButton () const =0 |
virtual QPushButton * | generateScriptToFileButton () const =0 |
virtual std::vector< WorkspaceIndex > | getDialogWorkspaceIndices () const =0 |
virtual std::vector< Mantid::API::MatrixWorkspace_const_sptr > | getDialogWorkspaces ()=0 |
virtual std::tuple< std::string, std::vector< double >, std::vector< bool >, std::vector< std::string >, std::vector< std::string > > | getEditLocalParameterResults () const =0 |
virtual bool | hasLoadedData () const =0 |
IFitScriptGeneratorView (QWidget *parent=nullptr) | |
virtual void | openAddWorkspaceDialog ()=0 |
virtual void | openEditLocalParameterDialog (std::string const ¶meter, std::vector< std::string > const &workspaceNames, std::vector< std::string > const &domainNames, std::vector< double > const &values, std::vector< bool > const &fixes, std::vector< std::string > const &ties, std::vector< std::string > const &constraints)=0 |
virtual double | parameterValue (std::string const ¶meter) const =0 |
virtual QPushButton * | removeButton () const =0 |
virtual void | removeDomain (FitDomainIndex domainIndex)=0 |
virtual void | renameWorkspace (std::string const &workspaceName, std::string const &newName)=0 |
virtual void | resetSelection ()=0 |
virtual void | saveTextToClipboard (std::string const &text) const =0 |
virtual std::vector< FitDomainIndex > | selectedRows () const =0 |
virtual void | setFunction (Mantid::API::IFunction_sptr const &function) const =0 |
virtual void | setGlobalParameters (std::vector< GlobalParameter > const &globalParameter)=0 |
virtual void | setGlobalTies (std::vector< GlobalTie > const &globalTies)=0 |
virtual void | setSimultaneousMode (bool simultaneousMode)=0 |
virtual void | setSuccessText (std::string const &text)=0 |
virtual double | startX (FitDomainIndex index) const =0 |
virtual void | subscribePresenter (IFitScriptGeneratorPresenter *presenter)=0 |
virtual FitScriptGeneratorDataTable * | tableWidget () const =0 |
Testing accessors. More... | |
virtual WorkspaceIndex | workspaceIndex (FitDomainIndex index) const =0 |
virtual std::string | workspaceName (FitDomainIndex index) const =0 |
virtual | ~IFitScriptGeneratorView ()=default |
Public Member Functions inherited from MantidQt::API::MantidWidget | |
virtual QVariant | getUserInput () const |
Returns a QVariant containing what the widget classes as user input so that input can be returned through a common interface. More... | |
virtual void | setUserInput (const QVariant &value) |
Sets a value on a mantid widget through a common interface. More... | |
Public Member Functions inherited from Mantid::API::AnalysisDataServiceObserver | |
virtual void | addHandle (const std::string &wsName, const Workspace_sptr &ws) |
If a workspace is added to the ADS, then this function will trigger, works by overloading this class and overriding this function. More... | |
AnalysisDataServiceObserver () | |
virtual void | anyChangeHandle () |
If anyChange to the ADS occurs then this function will trigger, works by overloading this class and overriding this function. More... | |
virtual void | clearHandle () |
If the ADS is cleared, then this function will trigger, works by overloading this class and overriding this function. More... | |
virtual void | deleteHandle (const std::string &wsName, const Workspace_sptr &ws) |
If a workspace is deleted from the ADS, then this function will trigger, works by overloading this class and overriding this function. More... | |
virtual void | groupHandle (const std::string &wsName, const Workspace_sptr &ws) |
If a group is created/added to the ADS, then this function will trigger, works by overloading this class and overriding this function. More... | |
virtual void | groupUpdateHandle (const std::string &wsName, const Workspace_sptr &ws) |
If a group has a workspace added/removed in the ADS, then this function will trigger, works by overloading this class and overriding this function. More... | |
void | observeAdd (bool turnOn=true) |
Function will add/remove the observer to the ADS for when a workspace is added to it. More... | |
void | observeAll (bool turnOn=true) |
Function will turn on/off all observers for the ADS. More... | |
void | observeClear (bool turnOn=true) |
Function will add/remove the observer to the ADS for when the ADS is cleared. More... | |
void | observeDelete (bool turnOn=true) |
Function will add/remove the observer to the ADS for when a workspace is deleted. More... | |
void | observeGroup (bool turnOn=true) |
Function will add/remove the observer to the ADS for when a group is added/created in the ADS. More... | |
void | observeGroupUpdate (bool turnOn=true) |
Function will add/remove the observer to the ADS for if a workspace is added to a group or removed. More... | |
void | observeRename (bool turnOn=true) |
Function will add/remove the observer to the ADS for when a workspace is renamed. More... | |
void | observeReplace (bool turnOn=true) |
Function will add/remove the observer to the ADS for when a workspace is replaced. More... | |
void | observeUnGroup (bool turnOn=true) |
Function will add/remove the observer to the ADS for when a group is removed/delete from the ADS. More... | |
virtual void | renameHandle (const std::string &wsName, const std::string &newName) |
If a workspace is renamed in the ADS, then this function will trigger, works by overloading this class and overriding this function. More... | |
virtual void | replaceHandle (const std::string &wsName, const Workspace_sptr &ws) |
If a workspace is replaced in the ADS, then this function will trigger, works by overloading this class and overriding this function. More... | |
virtual void | unGroupHandle (const std::string &wsName, const Workspace_sptr &ws) |
If a group is removed from the ADS, then this function will trigger, works by overloading this class and overriding this function. More... | |
virtual | ~AnalysisDataServiceObserver () |
Private Slots | |
void | addWorkspaceDialogAccepted (bool close) |
void | closeAddWorkspaceDialog () |
void | notifyADSClearEvent () |
void | notifyADSDeleteEvent (std::string const &workspaceName) |
void | notifyADSRenameEvent (std::string const &workspaceName, std::string const &newName) |
void | onAddDomainClicked () |
void | onAttributeChanged (QString const &attribute) |
void | onCellChanged (int row, int column) |
void | onCopyFunctionToClipboard () |
void | onEditLocalParameterClicked (QString const ¶meter) |
void | onEditLocalParameterFinished (int result) |
void | onFittingModeChanged (FittingMode fittingMode) |
void | onFunctionAdded (QString const &function) |
void | onFunctionHelpRequested () |
void | onFunctionRemoved (QString const &function) |
void | onFunctionReplaced (QString const &function) |
void | onGenerateScriptToClipboardClicked () |
void | onGenerateScriptToFileClicked () |
void | onGlobalParametersChanged (QStringList const &globalParameters) |
void | onHelpClicked () |
void | onItemSelected () |
void | onOutputBaseNameChanged (std::string const &outputBaseName) |
void | onParameterChanged (QString const ¶meter) |
void | onParameterConstraintChanged (QString const &functionIndex, QString const &constraint) |
void | onParameterConstraintRemoved (QString const ¶meter) |
void | onParameterTieChanged (QString const ¶meter, QString const &tie) |
void | onRemoveDomainClicked () |
Private Member Functions | |
void | connectUiSignals () |
void | setFitBrowserOptions (QMap< QString, QString > const &fitOptions) |
void | setFittingMode (FittingMode fittingMode) |
Private Attributes | |
std::unique_ptr< AddWorkspaceDialog > | m_addWorkspaceDialog |
std::unique_ptr< FitScriptGeneratorDataTable > | m_dataTable |
EditLocalParameterDialog * | m_editLocalParameterDialog |
std::unique_ptr< FitScriptOptionsBrowser > | m_fitOptionsBrowser |
std::unique_ptr< FunctionTreeView > | m_functionTreeView |
IFitScriptGeneratorPresenter * | m_presenter |
Ui::FitScriptGenerator | m_ui |
Definition at line 42 of file FitScriptGeneratorView.h.
MantidQt::MantidWidgets::FitScriptGeneratorView::FitScriptGeneratorView | ( | QWidget * | parent = nullptr , |
FittingMode | fittingMode = FittingMode::SEQUENTIAL , |
||
QMap< QString, QString > const & | fitOptions = QMap<QString, QString>() |
||
) |
Definition at line 94 of file FitScriptGeneratorView.cpp.
References connectUiSignals(), fitOptions(), m_dataTable, m_fitOptionsBrowser, m_functionTreeView, m_ui, Mantid::API::AnalysisDataServiceObserver::observeClear(), Mantid::API::AnalysisDataServiceObserver::observeDelete(), Mantid::API::AnalysisDataServiceObserver::observeRename(), setFitBrowserOptions(), and setFittingMode().
|
override |
Definition at line 115 of file FitScriptGeneratorView.cpp.
References closeAddWorkspaceDialog(), m_addWorkspaceDialog, m_dataTable, m_fitOptionsBrowser, m_functionTreeView, Mantid::API::AnalysisDataServiceObserver::observeClear(), Mantid::API::AnalysisDataServiceObserver::observeDelete(), and Mantid::API::AnalysisDataServiceObserver::observeRename().
|
inlineoverridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.
Definition at line 113 of file FitScriptGeneratorView.h.
|
inlineoverridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.
Definition at line 114 of file FitScriptGeneratorView.h.
|
privateslot |
Definition at line 373 of file FitScriptGeneratorView.cpp.
References closeAddWorkspaceDialog(), m_presenter, and MantidQt::MantidWidgets::IFitScriptGeneratorPresenter::notifyPresenter().
Referenced by closeAddWorkspaceDialog(), and openAddWorkspaceDialog().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.
Definition at line 354 of file FitScriptGeneratorView.cpp.
References endX(), m_dataTable, startX(), workspaceIndex(), and workspaceName().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.
Definition at line 332 of file FitScriptGeneratorView.cpp.
References m_dataTable.
|
overridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.
Definition at line 440 of file FitScriptGeneratorView.cpp.
References m_ui.
|
overridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.
Definition at line 344 of file FitScriptGeneratorView.cpp.
References m_functionTreeView.
|
overridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.
Definition at line 444 of file FitScriptGeneratorView.cpp.
References m_functionTreeView.
|
overridevirtual |
If the ADS is cleared, then this function will trigger, works by overloading this class and overriding this function.
Reimplemented from Mantid::API::AnalysisDataServiceObserver.
Definition at line 197 of file FitScriptGeneratorView.cpp.
References notifyADSClearEvent().
|
privateslot |
Definition at line 366 of file FitScriptGeneratorView.cpp.
References addWorkspaceDialogAccepted(), closeAddWorkspaceDialog(), and m_addWorkspaceDialog.
Referenced by addWorkspaceDialogAccepted(), closeAddWorkspaceDialog(), closeEvent(), openAddWorkspaceDialog(), and ~FitScriptGeneratorView().
|
overrideslot |
Definition at line 484 of file FitScriptGeneratorView.cpp.
References closeAddWorkspaceDialog(), and m_addWorkspaceDialog.
|
private |
Disconnected because it causes a crash when selecting a table row while editing a parameters value. This is because selecting a different row will change the current function in the FunctionTreeView. The closeEditor slot is then called after this, but the memory location of the old function is now a nullptr so there is a read access violation.
Definition at line 128 of file FitScriptGeneratorView.cpp.
References m_dataTable, m_fitOptionsBrowser, m_functionTreeView, m_ui, onAddDomainClicked(), onAttributeChanged(), onCellChanged(), onCopyFunctionToClipboard(), onEditLocalParameterClicked(), onFittingModeChanged(), onFunctionAdded(), onFunctionHelpRequested(), onFunctionRemoved(), onFunctionReplaced(), onGenerateScriptToClipboardClicked(), onGenerateScriptToFileClicked(), onGlobalParametersChanged(), onHelpClicked(), onItemSelected(), onOutputBaseNameChanged(), onParameterChanged(), onParameterConstraintChanged(), onParameterConstraintRemoved(), onParameterTieChanged(), and onRemoveDomainClicked().
Referenced by FitScriptGeneratorView().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.
Definition at line 336 of file FitScriptGeneratorView.cpp.
References m_dataTable.
|
overridevirtual |
If a workspace is deleted from the ADS, then this function will trigger, works by overloading this class and overriding this function.
wsName | std::string; the name of the workspace |
ws | Workspace_sptr; the Workspace that is deleted |
Reimplemented from Mantid::API::AnalysisDataServiceObserver.
Definition at line 189 of file FitScriptGeneratorView.cpp.
References notifyADSDeleteEvent().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.
Definition at line 480 of file FitScriptGeneratorView.cpp.
Referenced by getDialogWorkspaces().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.
Definition at line 330 of file FitScriptGeneratorView.cpp.
References index, and m_dataTable.
Referenced by addWorkspaceDomain().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.
Definition at line 427 of file FitScriptGeneratorView.cpp.
References Mantid::Kernel::SingletonHolder< T >::Instance().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.
Definition at line 421 of file FitScriptGeneratorView.cpp.
References m_fitOptionsBrowser.
Referenced by FitScriptGeneratorView(), and setFitBrowserOptions().
|
inlineoverridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.
Definition at line 116 of file FitScriptGeneratorView.h.
|
inlineoverridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.
Definition at line 115 of file FitScriptGeneratorView.h.
|
overridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.
Definition at line 390 of file FitScriptGeneratorView.cpp.
References m_addWorkspaceDialog.
|
overridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.
Definition at line 379 of file FitScriptGeneratorView.cpp.
References displayWarning(), and m_addWorkspaceDialog.
|
overridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.
Definition at line 412 of file FitScriptGeneratorView.cpp.
References MantidQt::MantidWidgets::EditLocalParameterDialog::getConstraints(), MantidQt::MantidWidgets::EditLocalParameterDialog::getFixes(), MantidQt::MantidWidgets::EditLocalParameterDialog::getParameterName(), MantidQt::MantidWidgets::EditLocalParameterDialog::getTies(), MantidQt::MantidWidgets::EditLocalParameterDialog::getValues(), and m_editLocalParameterDialog.
|
overridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.
Definition at line 338 of file FitScriptGeneratorView.cpp.
References m_dataTable.
|
privateslot |
Definition at line 218 of file FitScriptGeneratorView.cpp.
References m_presenter, and MantidQt::MantidWidgets::IFitScriptGeneratorPresenter::notifyPresenter().
Referenced by clearHandle().
|
privateslot |
Definition at line 214 of file FitScriptGeneratorView.cpp.
References m_presenter, MantidQt::MantidWidgets::IFitScriptGeneratorPresenter::notifyPresenter(), and workspaceName().
Referenced by deleteHandle().
|
privateslot |
Definition at line 220 of file FitScriptGeneratorView.cpp.
References m_presenter, MantidQt::MantidWidgets::IFitScriptGeneratorPresenter::notifyPresenter(), and workspaceName().
Referenced by renameHandle().
|
privateslot |
Definition at line 226 of file FitScriptGeneratorView.cpp.
References m_presenter, and MantidQt::MantidWidgets::IFitScriptGeneratorPresenter::notifyPresenter().
Referenced by connectUiSignals().
|
privateslot |
Definition at line 258 of file FitScriptGeneratorView.cpp.
References m_presenter, and MantidQt::MantidWidgets::IFitScriptGeneratorPresenter::notifyPresenter().
Referenced by connectUiSignals().
|
privateslot |
Definition at line 228 of file FitScriptGeneratorView.cpp.
References m_dataTable, m_presenter, MantidQt::MantidWidgets::IFitScriptGeneratorPresenter::notifyPresenter(), and UNUSED_ARG.
Referenced by connectUiSignals().
|
privateslot |
Definition at line 279 of file FitScriptGeneratorView.cpp.
References m_functionTreeView, and saveTextToClipboard().
Referenced by connectUiSignals().
|
privateslot |
Definition at line 297 of file FitScriptGeneratorView.cpp.
References m_presenter, and MantidQt::MantidWidgets::IFitScriptGeneratorPresenter::notifyPresenter().
Referenced by connectUiSignals().
|
privateslot |
Definition at line 301 of file FitScriptGeneratorView.cpp.
References m_editLocalParameterDialog, m_presenter, and MantidQt::MantidWidgets::IFitScriptGeneratorPresenter::notifyPresenter().
Referenced by openEditLocalParameterDialog().
|
privateslot |
Definition at line 293 of file FitScriptGeneratorView.cpp.
References m_presenter, and MantidQt::MantidWidgets::IFitScriptGeneratorPresenter::notifyPresenter().
Referenced by connectUiSignals().
|
privateslot |
Definition at line 246 of file FitScriptGeneratorView.cpp.
References m_presenter, and MantidQt::MantidWidgets::IFitScriptGeneratorPresenter::notifyPresenter().
Referenced by connectUiSignals().
|
privateslot |
Definition at line 284 of file FitScriptGeneratorView.cpp.
References m_functionTreeView.
Referenced by connectUiSignals().
|
privateslot |
Definition at line 242 of file FitScriptGeneratorView.cpp.
References m_presenter, and MantidQt::MantidWidgets::IFitScriptGeneratorPresenter::notifyPresenter().
Referenced by connectUiSignals().
|
privateslot |
Definition at line 250 of file FitScriptGeneratorView.cpp.
References m_presenter, and MantidQt::MantidWidgets::IFitScriptGeneratorPresenter::notifyPresenter().
Referenced by connectUiSignals().
|
privateslot |
Definition at line 312 of file FitScriptGeneratorView.cpp.
References m_presenter, and MantidQt::MantidWidgets::IFitScriptGeneratorPresenter::notifyPresenter().
Referenced by connectUiSignals().
|
privateslot |
Definition at line 308 of file FitScriptGeneratorView.cpp.
References m_presenter, and MantidQt::MantidWidgets::IFitScriptGeneratorPresenter::notifyPresenter().
Referenced by connectUiSignals().
|
privateslot |
Definition at line 275 of file FitScriptGeneratorView.cpp.
References m_presenter, and MantidQt::MantidWidgets::IFitScriptGeneratorPresenter::notifyPresenter().
Referenced by connectUiSignals().
|
privateslot |
Definition at line 316 of file FitScriptGeneratorView.cpp.
References MantidQt::API::HelpWindow::showCustomInterface().
Referenced by connectUiSignals().
|
privateslot |
Definition at line 240 of file FitScriptGeneratorView.cpp.
References m_presenter, and MantidQt::MantidWidgets::IFitScriptGeneratorPresenter::notifyPresenter().
Referenced by connectUiSignals().
|
privateslot |
Definition at line 289 of file FitScriptGeneratorView.cpp.
References m_presenter, and MantidQt::MantidWidgets::IFitScriptGeneratorPresenter::notifyPresenter().
Referenced by connectUiSignals().
|
privateslot |
Definition at line 254 of file FitScriptGeneratorView.cpp.
References m_presenter, and MantidQt::MantidWidgets::IFitScriptGeneratorPresenter::notifyPresenter().
Referenced by connectUiSignals().
|
privateslot |
Definition at line 270 of file FitScriptGeneratorView.cpp.
References m_presenter, and MantidQt::MantidWidgets::IFitScriptGeneratorPresenter::notifyPresenter().
Referenced by connectUiSignals().
|
privateslot |
Definition at line 266 of file FitScriptGeneratorView.cpp.
References m_presenter, and MantidQt::MantidWidgets::IFitScriptGeneratorPresenter::notifyPresenter().
Referenced by connectUiSignals().
|
privateslot |
Definition at line 262 of file FitScriptGeneratorView.cpp.
References m_presenter, and MantidQt::MantidWidgets::IFitScriptGeneratorPresenter::notifyPresenter().
Referenced by connectUiSignals().
|
privateslot |
Definition at line 224 of file FitScriptGeneratorView.cpp.
References m_presenter, and MantidQt::MantidWidgets::IFitScriptGeneratorPresenter::notifyPresenter().
Referenced by connectUiSignals().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.
Definition at line 359 of file FitScriptGeneratorView.cpp.
References addWorkspaceDialogAccepted(), closeAddWorkspaceDialog(), and m_addWorkspaceDialog.
|
overridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.
Definition at line 397 of file FitScriptGeneratorView.cpp.
References m_editLocalParameterDialog, and onEditLocalParameterFinished().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.
Definition at line 340 of file FitScriptGeneratorView.cpp.
References m_functionTreeView.
|
inlineoverridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.
Definition at line 112 of file FitScriptGeneratorView.h.
|
overridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.
Definition at line 352 of file FitScriptGeneratorView.cpp.
References m_dataTable.
|
overridevirtual |
If a workspace is renamed in the ADS, then this function will trigger, works by overloading this class and overriding this function.
wsName | std::string; the name of the workspace |
newName | std::string; the new name of the workspace |
Reimplemented from Mantid::API::AnalysisDataServiceObserver.
Definition at line 205 of file FitScriptGeneratorView.cpp.
References notifyADSRenameEvent().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.
Definition at line 348 of file FitScriptGeneratorView.cpp.
References m_dataTable, and workspaceName().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.
Definition at line 438 of file FitScriptGeneratorView.cpp.
References m_dataTable.
|
overridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.
Definition at line 475 of file FitScriptGeneratorView.cpp.
Referenced by onCopyFunctionToClipboard().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.
Definition at line 334 of file FitScriptGeneratorView.cpp.
References m_dataTable.
|
private |
Definition at line 175 of file FitScriptGeneratorView.cpp.
References fitOptions(), and m_fitOptionsBrowser.
Referenced by FitScriptGeneratorView().
|
private |
Definition at line 180 of file FitScriptGeneratorView.cpp.
References m_fitOptionsBrowser.
Referenced by FitScriptGeneratorView().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.
Definition at line 456 of file FitScriptGeneratorView.cpp.
References m_functionTreeView.
|
overridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.
Definition at line 467 of file FitScriptGeneratorView.cpp.
References m_functionTreeView.
|
overridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.
Definition at line 463 of file FitScriptGeneratorView.cpp.
References m_functionTreeView.
|
overridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.
Definition at line 446 of file FitScriptGeneratorView.cpp.
References m_dataTable, and m_functionTreeView.
|
overridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.
Definition at line 471 of file FitScriptGeneratorView.cpp.
References m_ui.
|
overridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.
Definition at line 328 of file FitScriptGeneratorView.cpp.
References index, and m_dataTable.
Referenced by addWorkspaceDomain().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.
Definition at line 184 of file FitScriptGeneratorView.cpp.
References m_fitOptionsBrowser, m_presenter, and MantidQt::MantidWidgets::IFitScriptGeneratorPresenter::notifyPresenter().
Referenced by MockFitScriptGeneratorPresenter::MockFitScriptGeneratorPresenter().
|
inlineoverridevirtual |
Testing accessors.
Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.
Definition at line 111 of file FitScriptGeneratorView.h.
|
overridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.
Definition at line 324 of file FitScriptGeneratorView.cpp.
References index, and m_dataTable.
Referenced by addWorkspaceDomain().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.
Definition at line 320 of file FitScriptGeneratorView.cpp.
References index, and m_dataTable.
Referenced by addWorkspaceDomain(), notifyADSDeleteEvent(), notifyADSRenameEvent(), and renameWorkspace().
|
private |
Definition at line 159 of file FitScriptGeneratorView.h.
Referenced by closeAddWorkspaceDialog(), closeEvent(), getDialogWorkspaceIndices(), getDialogWorkspaces(), openAddWorkspaceDialog(), and ~FitScriptGeneratorView().
|
private |
Definition at line 160 of file FitScriptGeneratorView.h.
Referenced by addWorkspaceDomain(), allRows(), connectUiSignals(), currentRow(), endX(), FitScriptGeneratorView(), hasLoadedData(), onCellChanged(), removeDomain(), renameWorkspace(), resetSelection(), selectedRows(), setSimultaneousMode(), startX(), workspaceIndex(), workspaceName(), and ~FitScriptGeneratorView().
|
private |
Definition at line 163 of file FitScriptGeneratorView.h.
Referenced by getEditLocalParameterResults(), onEditLocalParameterFinished(), and openEditLocalParameterDialog().
|
private |
Definition at line 162 of file FitScriptGeneratorView.h.
Referenced by connectUiSignals(), fitOptions(), FitScriptGeneratorView(), setFitBrowserOptions(), setFittingMode(), subscribePresenter(), and ~FitScriptGeneratorView().
|
private |
Definition at line 161 of file FitScriptGeneratorView.h.
Referenced by attributeValue(), clearFunction(), connectUiSignals(), FitScriptGeneratorView(), onCopyFunctionToClipboard(), onFunctionHelpRequested(), parameterValue(), setFunction(), setGlobalParameters(), setGlobalTies(), setSimultaneousMode(), and ~FitScriptGeneratorView().
|
private |
Definition at line 158 of file FitScriptGeneratorView.h.
Referenced by addWorkspaceDialogAccepted(), notifyADSClearEvent(), notifyADSDeleteEvent(), notifyADSRenameEvent(), onAddDomainClicked(), onAttributeChanged(), onCellChanged(), onEditLocalParameterClicked(), onEditLocalParameterFinished(), onFittingModeChanged(), onFunctionAdded(), onFunctionRemoved(), onFunctionReplaced(), onGenerateScriptToClipboardClicked(), onGenerateScriptToFileClicked(), onGlobalParametersChanged(), onItemSelected(), onOutputBaseNameChanged(), onParameterChanged(), onParameterConstraintChanged(), onParameterConstraintRemoved(), onParameterTieChanged(), onRemoveDomainClicked(), and subscribePresenter().
|
private |
Definition at line 164 of file FitScriptGeneratorView.h.
Referenced by applyFunctionChangesToAll(), connectUiSignals(), FitScriptGeneratorView(), and setSuccessText().