Mantid
Loading...
Searching...
No Matches
Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
MantidQt::MantidWidgets::FitScriptGeneratorView Class Reference

#include <FitScriptGeneratorView.h>

Inheritance diagram for MantidQt::MantidWidgets::FitScriptGeneratorView:
MantidQt::MantidWidgets::IFitScriptGeneratorView Mantid::API::AnalysisDataServiceObserver MantidQt::API::MantidWidget

Public Member Functions

QPushButton * addWorkspaceButton () const override
 
void addWorkspaceDomain (std::string const &workspaceName, WorkspaceIndex workspaceIndex, double startX, double endX) override
 
std::vector< FitDomainIndexallRows () 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.
 
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.
 
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< Mantid::API::MatrixWorkspace_const_sptrgetDialogWorkspaces (MantidWidgets::IAddWorkspaceDialog *dialog) 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 &parameter, 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 &parameter) 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.
 
void renameWorkspace (std::string const &workspaceName, std::string const &newName) override
 
void resetSelection () override
 
void saveTextToClipboard (std::string const &text) const override
 
std::vector< FitDomainIndexselectedRows () 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
 
FitScriptGeneratorDataTabletableWidget () const override
 Testing accessors.
 
WorkspaceIndex workspaceIndex (FitDomainIndex index) const override
 
std::string workspaceName (FitDomainIndex index) const override
 
 ~FitScriptGeneratorView () override
 
- Public Member Functions inherited from MantidQt::MantidWidgets::IFitScriptGeneratorView
 IFitScriptGeneratorView (QWidget *parent=nullptr)
 
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.
 
virtual void setUserInput (const QVariant &value)
 Sets a value on a mantid widget through a common interface.
 
- 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.
 
 AnalysisDataServiceObserver ()
 
virtual void anyChangeHandle ()
 If anyChange to the ADS occurs then this function will trigger, works by overloading this class and overriding this function.
 
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.
 
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.
 
void observeAdd (bool turnOn=true)
 Function will add/remove the observer to the ADS for when a workspace is added to it.
 
void observeAll (bool turnOn=true)
 Function will turn on/off all observers for the ADS.
 
void observeClear (bool turnOn=true)
 Function will add/remove the observer to the ADS for when the ADS is cleared.
 
void observeDelete (bool turnOn=true)
 Function will add/remove the observer to the ADS for when a workspace is deleted.
 
void observeGroup (bool turnOn=true)
 Function will add/remove the observer to the ADS for when a group is added/created in the ADS.
 
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.
 
void observeRename (bool turnOn=true)
 Function will add/remove the observer to the ADS for when a workspace is renamed.
 
void observeReplace (bool turnOn=true)
 Function will add/remove the observer to the ADS for when a workspace is replaced.
 
void observeUnGroup (bool turnOn=true)
 Function will add/remove the observer to the ADS for when a group is removed/delete from the ADS.
 
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.
 
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.
 
virtual ~AnalysisDataServiceObserver ()
 

Private Slots

void addWorkspaceDialogAccepted (MantidWidgets::IAddWorkspaceDialog *dialog)
 
void notifyADSClearEvent ()
 
void notifyADSDeleteEvent (std::string const &workspaceName)
 
void notifyADSRenameEvent (std::string const &workspaceName, std::string const &newName)
 
void onAddDomainClicked ()
 
void onAttributeChanged (std::string const &attribute)
 
void onCellChanged (int row, int column)
 
void onCopyFunctionToClipboard ()
 
void onEditLocalParameterClicked (std::string const &parameter)
 
void onEditLocalParameterFinished (int result)
 
void onFittingModeChanged (FittingMode fittingMode)
 
void onFunctionAdded (std::string const &function)
 
void onFunctionHelpRequested ()
 
void onFunctionRemoved (std::string const &function)
 
void onFunctionReplaced (std::string const &function)
 
void onGenerateScriptToClipboardClicked ()
 
void onGenerateScriptToFileClicked ()
 
void onGlobalParametersChanged (std::vector< std::string > const &globalParameters)
 
void onHelpClicked ()
 
void onItemSelected ()
 
void onOutputBaseNameChanged (std::string const &outputBaseName)
 
void onParameterChanged (std::string const &parameter)
 
void onParameterConstraintChanged (std::string const &functionIndex, std::string const &constraint)
 
void onParameterConstraintRemoved (std::string const &parameter)
 
void onParameterTieChanged (std::string const &parameter, std::string 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< FitScriptGeneratorDataTablem_dataTable
 
EditLocalParameterDialogm_editLocalParameterDialog
 
std::unique_ptr< FitScriptOptionsBrowserm_fitOptionsBrowser
 
std::unique_ptr< FunctionTreeViewm_functionTreeView
 
IFitScriptGeneratorPresenterm_presenter
 
Ui::FitScriptGenerator m_ui
 

Additional Inherited Members

- Public Types inherited from MantidQt::MantidWidgets::IFitScriptGeneratorView
enum class  Event {
  ADSDeleteEvent , ADSClearEvent , ADSRenameEvent , RemoveDomainClicked ,
  AddDomainClicked , StartXChanged , EndXChanged , SelectionChanged ,
  FunctionRemoved , FunctionAdded , FunctionReplaced , ParameterChanged ,
  AttributeChanged , ParameterTieChanged , ParameterConstraintRemoved , ParameterConstraintChanged ,
  GlobalParametersChanged , EditLocalParameterClicked , EditLocalParameterFinished , OutputBaseNameChanged ,
  FittingModeChanged , GenerateScriptToFileClicked , GenerateScriptToClipboardClicked
}
 
- Signals inherited from MantidQt::API::MantidWidget
void runAsPythonScript (const QString &code, bool)
 
- Protected Member Functions inherited from MantidQt::API::MantidWidget
 MantidWidget (QWidget *parent=nullptr)
 Default constructor.
 
QString runPythonCode (const QString &code, bool no_output=false)
 Run python code that is passed to it and, optionally, return anything it wrote to standard output as a string.
 

Detailed Description

Definition at line 43 of file FitScriptGeneratorView.h.

Constructor & Destructor Documentation

◆ FitScriptGeneratorView()

MantidQt::MantidWidgets::FitScriptGeneratorView::FitScriptGeneratorView ( QWidget *  parent = nullptr,
FittingMode  fittingMode = FittingMode::SEQUENTIAL,
QMap< QString, QString > const &  fitOptions = QMap<QString, QString>() 
)

◆ ~FitScriptGeneratorView()

MantidQt::MantidWidgets::FitScriptGeneratorView::~FitScriptGeneratorView ( )
override

Member Function Documentation

◆ addWorkspaceButton()

QPushButton * MantidQt::MantidWidgets::FitScriptGeneratorView::addWorkspaceButton ( ) const
inlineoverridevirtual

◆ addWorkspaceDialogAccepted

void MantidQt::MantidWidgets::FitScriptGeneratorView::addWorkspaceDialogAccepted ( MantidWidgets::IAddWorkspaceDialog dialog)
privateslot

◆ addWorkspaceDomain()

void MantidQt::MantidWidgets::FitScriptGeneratorView::addWorkspaceDomain ( std::string const &  workspaceName,
WorkspaceIndex  workspaceIndex,
double  startX,
double  endX 
)
overridevirtual

◆ allRows()

std::vector< FitDomainIndex > MantidQt::MantidWidgets::FitScriptGeneratorView::allRows ( ) const
overridevirtual

◆ applyFunctionChangesToAll()

bool MantidQt::MantidWidgets::FitScriptGeneratorView::applyFunctionChangesToAll ( ) const
overridevirtual

Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.

Definition at line 398 of file FitScriptGeneratorView.cpp.

References m_ui.

◆ attributeValue()

IFunction::Attribute MantidQt::MantidWidgets::FitScriptGeneratorView::attributeValue ( std::string const &  attribute) const
overridevirtual

◆ clearFunction()

void MantidQt::MantidWidgets::FitScriptGeneratorView::clearFunction ( )
overridevirtual

◆ clearHandle()

void MantidQt::MantidWidgets::FitScriptGeneratorView::clearHandle ( )
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 165 of file FitScriptGeneratorView.cpp.

References notifyADSClearEvent().

◆ connectUiSignals()

void MantidQt::MantidWidgets::FitScriptGeneratorView::connectUiSignals ( )
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 96 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().

◆ currentRow()

FitDomainIndex MantidQt::MantidWidgets::FitScriptGeneratorView::currentRow ( ) const
overridevirtual

◆ deleteHandle()

void MantidQt::MantidWidgets::FitScriptGeneratorView::deleteHandle ( std::string const &  wsName,
Workspace_sptr const &  ws 
)
overridevirtual

If a workspace is deleted from the ADS, then this function will trigger, works by overloading this class and overriding this function.

Parameters
wsNamestd::string; the name of the workspace
wsWorkspace_sptr; the Workspace that is deleted

Reimplemented from Mantid::API::AnalysisDataServiceObserver.

Definition at line 157 of file FitScriptGeneratorView.cpp.

References notifyADSDeleteEvent().

◆ displayWarning()

void MantidQt::MantidWidgets::FitScriptGeneratorView::displayWarning ( std::string const &  message)
overridevirtual

◆ endX()

double MantidQt::MantidWidgets::FitScriptGeneratorView::endX ( FitDomainIndex  index) const
overridevirtual

Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.

Definition at line 298 of file FitScriptGeneratorView.cpp.

References index, and m_dataTable.

Referenced by addWorkspaceDomain().

◆ filepath()

std::string MantidQt::MantidWidgets::FitScriptGeneratorView::filepath ( ) const
overridevirtual

◆ fitOptions()

std::tuple< std::string, std::string, std::string, std::string, std::string, bool > MantidQt::MantidWidgets::FitScriptGeneratorView::fitOptions ( ) const
overridevirtual

◆ generateScriptToClipboardButton()

QPushButton * MantidQt::MantidWidgets::FitScriptGeneratorView::generateScriptToClipboardButton ( ) const
inlineoverridevirtual

◆ generateScriptToFileButton()

QPushButton * MantidQt::MantidWidgets::FitScriptGeneratorView::generateScriptToFileButton ( ) const
inlineoverridevirtual

◆ getDialogWorkspaces()

std::vector< MatrixWorkspace_const_sptr > MantidQt::MantidWidgets::FitScriptGeneratorView::getDialogWorkspaces ( MantidWidgets::IAddWorkspaceDialog dialog)
overridevirtual

◆ getEditLocalParameterResults()

std::tuple< std::string, std::vector< double >, std::vector< bool >, std::vector< std::string >, std::vector< std::string > > MantidQt::MantidWidgets::FitScriptGeneratorView::getEditLocalParameterResults ( ) const
overridevirtual

◆ hasLoadedData()

bool MantidQt::MantidWidgets::FitScriptGeneratorView::hasLoadedData ( ) const
overridevirtual

◆ notifyADSClearEvent

void MantidQt::MantidWidgets::FitScriptGeneratorView::notifyADSClearEvent ( )
privateslot

◆ notifyADSDeleteEvent

void MantidQt::MantidWidgets::FitScriptGeneratorView::notifyADSDeleteEvent ( std::string const &  workspaceName)
privateslot

◆ notifyADSRenameEvent

void MantidQt::MantidWidgets::FitScriptGeneratorView::notifyADSRenameEvent ( std::string const &  workspaceName,
std::string const &  newName 
)
privateslot

◆ onAddDomainClicked

void MantidQt::MantidWidgets::FitScriptGeneratorView::onAddDomainClicked ( )
privateslot

◆ onAttributeChanged

void MantidQt::MantidWidgets::FitScriptGeneratorView::onAttributeChanged ( std::string const &  attribute)
privateslot

◆ onCellChanged

void MantidQt::MantidWidgets::FitScriptGeneratorView::onCellChanged ( int  row,
int  column 
)
privateslot

◆ onCopyFunctionToClipboard

void MantidQt::MantidWidgets::FitScriptGeneratorView::onCopyFunctionToClipboard ( )
privateslot

Definition at line 247 of file FitScriptGeneratorView.cpp.

References m_functionTreeView, and saveTextToClipboard().

Referenced by connectUiSignals().

◆ onEditLocalParameterClicked

void MantidQt::MantidWidgets::FitScriptGeneratorView::onEditLocalParameterClicked ( std::string const &  parameter)
privateslot

◆ onEditLocalParameterFinished

void MantidQt::MantidWidgets::FitScriptGeneratorView::onEditLocalParameterFinished ( int  result)
privateslot

◆ onFittingModeChanged

void MantidQt::MantidWidgets::FitScriptGeneratorView::onFittingModeChanged ( FittingMode  fittingMode)
privateslot

◆ onFunctionAdded

void MantidQt::MantidWidgets::FitScriptGeneratorView::onFunctionAdded ( std::string const &  function)
privateslot

◆ onFunctionHelpRequested

void MantidQt::MantidWidgets::FitScriptGeneratorView::onFunctionHelpRequested ( )
privateslot

Definition at line 252 of file FitScriptGeneratorView.cpp.

References m_functionTreeView.

Referenced by connectUiSignals().

◆ onFunctionRemoved

void MantidQt::MantidWidgets::FitScriptGeneratorView::onFunctionRemoved ( std::string const &  function)
privateslot

◆ onFunctionReplaced

void MantidQt::MantidWidgets::FitScriptGeneratorView::onFunctionReplaced ( std::string const &  function)
privateslot

◆ onGenerateScriptToClipboardClicked

void MantidQt::MantidWidgets::FitScriptGeneratorView::onGenerateScriptToClipboardClicked ( )
privateslot

◆ onGenerateScriptToFileClicked

void MantidQt::MantidWidgets::FitScriptGeneratorView::onGenerateScriptToFileClicked ( )
privateslot

◆ onGlobalParametersChanged

void MantidQt::MantidWidgets::FitScriptGeneratorView::onGlobalParametersChanged ( std::vector< std::string > const &  globalParameters)
privateslot

◆ onHelpClicked

void MantidQt::MantidWidgets::FitScriptGeneratorView::onHelpClicked ( )
privateslot

◆ onItemSelected

void MantidQt::MantidWidgets::FitScriptGeneratorView::onItemSelected ( )
privateslot

◆ onOutputBaseNameChanged

void MantidQt::MantidWidgets::FitScriptGeneratorView::onOutputBaseNameChanged ( std::string const &  outputBaseName)
privateslot

◆ onParameterChanged

void MantidQt::MantidWidgets::FitScriptGeneratorView::onParameterChanged ( std::string const &  parameter)
privateslot

◆ onParameterConstraintChanged

void MantidQt::MantidWidgets::FitScriptGeneratorView::onParameterConstraintChanged ( std::string const &  functionIndex,
std::string const &  constraint 
)
privateslot

◆ onParameterConstraintRemoved

void MantidQt::MantidWidgets::FitScriptGeneratorView::onParameterConstraintRemoved ( std::string const &  parameter)
privateslot

◆ onParameterTieChanged

void MantidQt::MantidWidgets::FitScriptGeneratorView::onParameterTieChanged ( std::string const &  parameter,
std::string const &  tie 
)
privateslot

◆ onRemoveDomainClicked

void MantidQt::MantidWidgets::FitScriptGeneratorView::onRemoveDomainClicked ( )
privateslot

◆ openAddWorkspaceDialog()

void MantidQt::MantidWidgets::FitScriptGeneratorView::openAddWorkspaceDialog ( )
overridevirtual

◆ openEditLocalParameterDialog()

void MantidQt::MantidWidgets::FitScriptGeneratorView::openEditLocalParameterDialog ( std::string const &  parameter,
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 
)
overridevirtual

◆ parameterValue()

double MantidQt::MantidWidgets::FitScriptGeneratorView::parameterValue ( std::string const &  parameter) const
overridevirtual

◆ removeButton()

QPushButton * MantidQt::MantidWidgets::FitScriptGeneratorView::removeButton ( ) const
inlineoverridevirtual

◆ removeDomain()

void MantidQt::MantidWidgets::FitScriptGeneratorView::removeDomain ( FitDomainIndex  domainIndex)
overridevirtual

◆ renameHandle()

void MantidQt::MantidWidgets::FitScriptGeneratorView::renameHandle ( std::string const &  wsName,
std::string const &  newName 
)
overridevirtual

If a workspace is renamed in the ADS, then this function will trigger, works by overloading this class and overriding this function.

Parameters
wsNamestd::string; the name of the workspace
newNamestd::string; the new name of the workspace

Reimplemented from Mantid::API::AnalysisDataServiceObserver.

Definition at line 173 of file FitScriptGeneratorView.cpp.

References notifyADSRenameEvent().

◆ renameWorkspace()

void MantidQt::MantidWidgets::FitScriptGeneratorView::renameWorkspace ( std::string const &  workspaceName,
std::string const &  newName 
)
overridevirtual

◆ resetSelection()

void MantidQt::MantidWidgets::FitScriptGeneratorView::resetSelection ( )
overridevirtual

◆ saveTextToClipboard()

void MantidQt::MantidWidgets::FitScriptGeneratorView::saveTextToClipboard ( std::string const &  text) const
overridevirtual

◆ selectedRows()

std::vector< FitDomainIndex > MantidQt::MantidWidgets::FitScriptGeneratorView::selectedRows ( ) const
overridevirtual

◆ setFitBrowserOptions()

void MantidQt::MantidWidgets::FitScriptGeneratorView::setFitBrowserOptions ( QMap< QString, QString > const &  fitOptions)
private

Definition at line 143 of file FitScriptGeneratorView.cpp.

References fitOptions(), and m_fitOptionsBrowser.

Referenced by FitScriptGeneratorView().

◆ setFittingMode()

void MantidQt::MantidWidgets::FitScriptGeneratorView::setFittingMode ( FittingMode  fittingMode)
private

Definition at line 148 of file FitScriptGeneratorView.cpp.

References m_fitOptionsBrowser.

Referenced by FitScriptGeneratorView().

◆ setFunction()

void MantidQt::MantidWidgets::FitScriptGeneratorView::setFunction ( Mantid::API::IFunction_sptr const &  function) const
overridevirtual

◆ setGlobalParameters()

void MantidQt::MantidWidgets::FitScriptGeneratorView::setGlobalParameters ( std::vector< GlobalParameter > const &  globalParameter)
overridevirtual

◆ setGlobalTies()

void MantidQt::MantidWidgets::FitScriptGeneratorView::setGlobalTies ( std::vector< GlobalTie > const &  globalTies)
overridevirtual

◆ setSimultaneousMode()

void MantidQt::MantidWidgets::FitScriptGeneratorView::setSimultaneousMode ( bool  simultaneousMode)
overridevirtual

◆ setSuccessText()

void MantidQt::MantidWidgets::FitScriptGeneratorView::setSuccessText ( std::string const &  text)
overridevirtual

Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.

Definition at line 434 of file FitScriptGeneratorView.cpp.

References m_ui.

◆ startX()

double MantidQt::MantidWidgets::FitScriptGeneratorView::startX ( FitDomainIndex  index) const
overridevirtual

Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.

Definition at line 296 of file FitScriptGeneratorView.cpp.

References index, and m_dataTable.

Referenced by addWorkspaceDomain().

◆ subscribePresenter()

void MantidQt::MantidWidgets::FitScriptGeneratorView::subscribePresenter ( IFitScriptGeneratorPresenter presenter)
overridevirtual

◆ tableWidget()

FitScriptGeneratorDataTable * MantidQt::MantidWidgets::FitScriptGeneratorView::tableWidget ( ) const
inlineoverridevirtual

Testing accessors.

Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.

Definition at line 112 of file FitScriptGeneratorView.h.

◆ workspaceIndex()

WorkspaceIndex MantidQt::MantidWidgets::FitScriptGeneratorView::workspaceIndex ( FitDomainIndex  index) const
overridevirtual

Implements MantidQt::MantidWidgets::IFitScriptGeneratorView.

Definition at line 292 of file FitScriptGeneratorView.cpp.

References index, and m_dataTable.

Referenced by addWorkspaceDomain().

◆ workspaceName()

std::string MantidQt::MantidWidgets::FitScriptGeneratorView::workspaceName ( FitDomainIndex  index) const
overridevirtual

Member Data Documentation

◆ m_dataTable

std::unique_ptr<FitScriptGeneratorDataTable> MantidQt::MantidWidgets::FitScriptGeneratorView::m_dataTable
private

◆ m_editLocalParameterDialog

EditLocalParameterDialog* MantidQt::MantidWidgets::FitScriptGeneratorView::m_editLocalParameterDialog
private

◆ m_fitOptionsBrowser

std::unique_ptr<FitScriptOptionsBrowser> MantidQt::MantidWidgets::FitScriptGeneratorView::m_fitOptionsBrowser
private

◆ m_functionTreeView

std::unique_ptr<FunctionTreeView> MantidQt::MantidWidgets::FitScriptGeneratorView::m_functionTreeView
private

◆ m_presenter

IFitScriptGeneratorPresenter* MantidQt::MantidWidgets::FitScriptGeneratorView::m_presenter
private

◆ m_ui

Ui::FitScriptGenerator MantidQt::MantidWidgets::FitScriptGeneratorView::m_ui
private

The documentation for this class was generated from the following files: