|
Mantid
|
Class FitPropertyBrowser implements QtPropertyBrowser to display and control fitting function parameters and settings. More...
#include <FitPropertyBrowser.h>
Public Slots | |
| virtual void | clear () |
| Slot. | |
| void | clearBrowser () |
| void | executeClearCustomSetups () |
| void | executeCustomSetupRemove (const QString &name) |
| void | executeDisplayMenu (const QString &) |
| virtual void | executeFitMenu (const QString &) |
| void | executePeakFindingAlgMenu (const QString &) |
| void | executeSetupManageMenu (const QString &) |
| void | executeSetupMenu (const QString &) |
| virtual void | fit () |
| Do the fit. | |
| virtual void | removePropertiesFromSettingsBrowser (const QStringList &propsToRemove) |
| Function to toggle the visibility of a settings group property exposed to python. | |
| virtual void | sequentialFit () |
| void | setPeakToolOn (bool on) |
| virtual void | toggleSettingsBrowserVisible () |
| Function to toggle the visibility of the settings browser. | |
| virtual void | toggleWsListVisible () |
| void | undoFit () |
| Slot. | |
| void | workspaceDoubleClicked (QListWidgetItem *item) |
Signals | |
| void | algorithmFailed () |
| void | algorithmFinished (const QString &) |
| void | algorithmStarted (const QString &) |
| void | changedParameterOf (const QString &prefix) |
| void | changeWindowTitle (const QString &) |
| void | currentChanged () const |
| void | endXChanged (double) |
| void | errorsEnabled (bool enabled) |
| void | executeFit (QString, QHash< QString, QString >, Mantid::API::AlgorithmObserver *) |
| void | fitResultsChanged (const QString &status) |
| void | fittingDone (const QString &) |
| signal which can optionally be caught for customization after a fit has been done | |
| void | fitUndone () |
| void | functionChanged () |
| void | functionCleared () |
| void | functionFactoryUpdateReceived () |
| void | functionLoaded (const QString &) |
| void | functionRemoved () |
| void | itemDoubleClicked (QListWidgetItem *item) |
| void | multifitFinished () |
| void | parameterChanged (const Mantid::API::IFunction *) |
| void | plotCurrentGuess () |
| void | plotGuess () |
| void | removeCurrentGuess () |
| void | removeFitCurves () |
| void | removeGuess () |
| void | removePlotSignal (MantidQt::MantidWidgets::PropertyHandler *) |
| void | sequentialFitDone () const |
| void | startXChanged (double) |
| void | updatePlotSpectrum (int index) |
| void | workspaceClicked (const QString &wsName) |
| void | workspaceIndexChanged (int index) |
| void | workspaceNameChanged (const QString &) |
| void | wsChangePPAssign (const QString &) |
| void | xRangeChanged (double, double) |
Public Member Functions | |
| void | addAllowedSpectra (const QString &wsName, const QList< int > &wsIndices) |
| void | addAllowedTableWorkspace (const QString &wsName) |
| void | addAutoBackground () |
| Creates and adds the autobackground. | |
| void | addFitResultWorkspacesToTableWidget () |
| Adds the fit result workspaces to the QListWidget in the browser. | |
| QString | addFunction (const QString &fnName) |
| A specialisation of addFunction to be used in the workbench. | |
| PropertyHandler * | addFunction (const std::string &fnName) |
| Create a new function. | |
| void | addHandle (const std::string &wsName, const std::shared_ptr< Mantid::API::Workspace > &ws) override |
| workspace was added | |
| void | allowSequentialFits (bool allow) override |
| Allow or disallow sequential fits (depending on whether other conditions are met) | |
| double | centre () const |
| Centre of the current peak. | |
| std::shared_ptr< Mantid::API::CompositeFunction > | compositeFunction () const |
| Get Composite Function. | |
| bool | convolveMembers () const |
| Get the "ConvolveMembers" option. | |
| std::string | costFunction () const |
| Get the cost function. | |
| int | count () const |
| Get count. | |
| bool | createAndAddFunction (const Mantid::API::MatrixWorkspace_sptr inputWS, const size_t peakIndex, const std::unique_ptr< FindPeakStrategyGeneric > &findPeakStrategy) |
| void | createCompositeFunction (const QString &str="") |
| Create CompositeFunction from string. | |
| PropertyHandler * | currentHandler () const |
| Get the current function. | |
| const std::string & | defaultBackgroundType () const |
| Get the default background type. | |
| const std::string & | defaultFunctionType () const |
| Get the default function type. | |
| std::string | defaultPeakType () |
| Get the default peak type. | |
| double | endX () const |
| Get the end X. | |
| void | findPeaks (const std::unique_ptr< FindPeakStrategyGeneric > findPeakStrategy) |
| void | finishHandle (const Mantid::API::IAlgorithm *alg) override |
| Called when the Fit is finished. | |
| FitPropertyBrowser (const FitPropertyBrowser &)=delete | |
| FitPropertyBrowser (QWidget *parent=nullptr, QObject *mantidui=nullptr) | |
| Constructor. | |
| double | fwhm () const |
| Width of the current peak. | |
| QString | getAutoBackgroundString () const |
| std::string | getCentreParameterNameOf (const QString &prefix) |
| QString | getConstraintsString () const |
| Creates the "Constraints" property value for the Fit algorithm. | |
| int | getDecimals () const |
| Number of decimal places in double properties. | |
| QString | getErrColumnName () const |
| Get the name of the Error column. | |
| std::string | getExcludeRange () const |
| Get the excluded range for the fit. | |
| const std::string & | getFitAlgorithmOutputStatus () const |
| ================================================================================================= Get Fit Algorithm output statuss | |
| const std::string & | getFitAlgorithmParameters () const |
| ================================================================================================= Get Fit Algorithm parameters | |
| QMenu * | getFitMenu () const |
| Return the Fit menu. | |
| Mantid::API::IFunction_sptr | getFittingFunction () const |
| Return the fitting function. | |
| Mantid::API::IFunction_sptr | getFunctionAtIndex (std::size_t const &index) const |
| Return a function at a specific index in the composite function. | |
| std::string | getFunctionString () const |
| Get the function as a string. | |
| PropertyHandler * | getHandler () const |
| Get handler to the root composite function. | |
| QString | getOldExpressionAsString (const QString ¶meterName) const |
| Get the tie expression stored in the function in case the new expression is invalid and the GUI needs to be reset. | |
| QStringList | getParameterNames () const |
| Get function parameter names. | |
| QList< double > | getParameterValues () const |
| Get function parameter values. | |
| double | getPeakCentreOf (const QString &prefix) |
| double | getPeakFwhmOf (const QString &prefix) |
| PropertyHandler * | getPeakHandler (const QString &prefix) |
| double | getPeakHeightOf (const QString &prefix) |
| QStringList | getPeakPrefixes () const |
| int | getPeakRadius () const |
| Get the peak radius for peak functions. | |
| QString | getTieString () const |
| Creates the "Ties" property value for the Fit algorithm. | |
| std::string | getWidthParameterNameOf (const QString &prefix) |
| std::shared_ptr< Mantid::API::Workspace > | getWorkspace () const |
| Get the workspace. | |
| QListWidget * | getWorkspaceList () const |
| Return the Fit menu. | |
| const QStringList & | getWorkspaceNames () |
| Returns the list of workspaces that are currently been worked on by the fit property browser. | |
| QString | getXColumnName () const |
| Get the name of the X column. | |
| QVector< double > | getXRange () |
| Get the X limits of the workspace. | |
| QString | getYColumnName () const |
| Get the name of the Y column. | |
| double | height () const |
| Height of the current peak. | |
| bool | ignoreInvalidData () const |
| Get the ignore invalid data option. | |
| virtual void | init () |
| Initialise layout. | |
| bool | isAutoBack () const |
| bool | isFitEnabled () const |
| Returns true if the function is ready for a fit. | |
| bool | isHistogramFit () const |
| Get "HistogramFit" option. | |
| bool | isParameterExplicitlySetOf (const QString &prefix, const std::string ¶m) |
| bool | isPeak () const |
| Is the current function a peak? | |
| bool | isUndoEnabled () const |
| Tells if undo can be done. | |
| void | loadFunction (const QString &funcString) |
| Load function. | |
| int | maxIterations () const |
| Get the max number of iterations. | |
| std::string | minimizer (bool withProperties=false) const |
| Get the minimizer. | |
| void | normaliseData (bool on) |
| Set if the data must be normalised before fitting. | |
| FitPropertyBrowser & | operator= (const FitPropertyBrowser &)=delete |
| virtual std::string | outputName () const |
| Get the output name. | |
| bool | plotCompositeMembers () const |
| Returns true if a composite's member functions should be plotted also. | |
| bool | plotDiff () const |
| Returns true if the difference plot should be drawn. | |
| void | postDeleteHandle (const std::string &wsName) override |
| workspace was removed | |
| bool | rawData () const override |
| Returns true if the fit should be done against binned (bunched) data. | |
| void | refitAutoBackground () |
| const QStringList & | registeredBackgrounds () const |
| Return a list of registered backgrounds. | |
| const QStringList & | registeredFunctions () const |
| Return a list of registered functions. | |
| const QStringList & | registeredOthers () const |
| Return a list of registered other functions. | |
| const QStringList & | registeredPeaks () const |
| Return a list of registered peaks. | |
| virtual void | removeFunction (PropertyHandler *handler) |
| Removes the function held by the property handler. | |
| void | removeWorkspace (const std::string &wsName) |
| void | removeWorkspaceAndSpectra (const std::string &wsName) |
| void | renameHandle (const std::string &oldName, const std::string &newName) override |
| Handler of the Rename notifications. | |
| void | saveFunction (const QString &fnName) |
| save function | |
| void | sendParameterChanged (const Mantid::API::IFunction *f) |
| void | sendParameterChanged (const QString &prefix) |
| void | sequentialFitFinished () |
| void | setADSObserveEnabled (bool enabled) |
| void | setAutoBackgroundName (const QString &aName) |
| Remember a background function name to be used for creating auto-background. | |
| void | setCentre (double value) |
| Set centre of the current peak. | |
| void | setCurrentFunction (PropertyHandler *h) const |
| Set new current function. | |
| void | setDecimals (int d) |
| void | setDefaultBackgroundType (const std::string &fnType) |
| Set the default background type. | |
| void | setDefaultFunctionType (const std::string &fnType) |
| Set the default function type. | |
| void | setDefaultPeakType (const std::string &fnType) |
| Set the default peak type. | |
| void | setEndX (double end) override |
| Set the end X. | |
| virtual void | setFitEnabled (bool enable) |
| Enable/disable the Fit buttons;. | |
| void | setFwhm (double value) |
| Set width of the current peak. | |
| void | setHeight (double value) |
| Set height of the current peak. | |
| void | setIgnoreInvalidData (bool on) |
| Set the ignore invalid data option. | |
| void | setOutputName (const std::string &) |
| Set the output name. | |
| void | setPeakCentreOf (const QString &prefix, double value) |
| void | setPeakFwhmOf (const QString &prefix, double value) |
| void | setPeakHeightOf (const QString &prefix, double value) |
| void | setStartX (double start) override |
| Set the start X. | |
| void | setTextPlotGuess (const QString &text) |
| alter text of Plot Guess | |
| void | setTip (const QString &txt) |
| Display a tip. | |
| void | setWorkspaceIndex (int i) override |
| Set workspace index. | |
| virtual void | setWorkspaceName (const QString &wsName) override |
| Set the input workspace name. | |
| void | setXRange (double start, double end) |
| Set both start and end X. | |
| int | sizeOfFunctionsGroup () const |
| double | startX () const |
| Get the start X. | |
| std::shared_ptr< const Mantid::API::IFunction > | theFunction () const |
| Get the current function. | |
| void | updateAttributes () |
| Update the function attributes. | |
| void | updateParameters () |
| Update the function parameters. | |
| int | workspaceIndex () const |
| Get workspace index. | |
| std::string | workspaceName () const |
| Get the input workspace name. | |
| ~FitPropertyBrowser () override | |
| Destructor. | |
Public Member Functions inherited from Mantid::API::AlgorithmObserver | |
| AlgorithmObserver () | |
| Default constructor. | |
| AlgorithmObserver (const AlgorithmObserver &)=delete | |
| AlgorithmObserver (const IAlgorithm_const_sptr &alg) | |
| Constructs AlgorithmObserver and connects all its handlers to algorithm alg. | |
| virtual void | errorHandle (const IAlgorithm *alg, const std::string &what) |
| void | observeAll (const IAlgorithm_const_sptr &alg) |
| Connect to algorithm alg and observe all its notifications. | |
| void | observeError (const IAlgorithm_const_sptr &alg) |
| Connect to algorithm alg and observe its error notification. | |
| void | observeFinish (const IAlgorithm_const_sptr &alg) |
| Connect to algorithm alg and observe its finish notification. | |
| void | observeProgress (const IAlgorithm_const_sptr &alg) |
| Connect to algorithm alg and observe its progress notification. | |
| void | observeStart (const IAlgorithm_const_sptr &alg) |
| Connect to algorithm alg and observe its start notification. | |
| void | observeStarting () |
| Connect to AlgorithmManager and observe its starting notifications. | |
| AlgorithmObserver & | operator= (const AlgorithmObserver &)=delete |
| virtual void | progressHandle (const IAlgorithm *alg, double p, const std::string &msg, const double estimatedTime, const int progressPrecision) |
| virtual void | startHandle (const IAlgorithm *alg) |
| virtual void | startingHandle (IAlgorithm_sptr alg) |
| void | stopObserving (const IAlgorithm_const_sptr &alg) |
| Disconnect from algorithm alg. | |
| void | stopObserving (const Mantid::API::IAlgorithm *alg) |
| void | stopObservingManager () |
| Disconnect from the algorithm manager. | |
| virtual | ~AlgorithmObserver () |
| Virtual destructor. | |
Public Member Functions inherited from MantidQt::API::WorkspaceObserver | |
| void | observeAdd (bool on=true) |
| Observe additions. | |
| void | observeADSClear (bool on=true) |
| Observe clearances. | |
| void | observeAfterReplace (bool on=true) |
| Observe replacements. | |
| void | observePostDelete (bool on=true) |
| Observe workspace deletes. | |
| void | observePreDelete (bool on=true) |
| Observe workspace deletes. | |
| void | observeRename (bool on=true) |
| Observe renaming. | |
| WorkspaceObserver & | operator= (const WorkspaceObserver &)=delete |
| WorkspaceObserver () | |
| Default constructor. | |
| WorkspaceObserver (const WorkspaceObserver &)=delete | |
| virtual | ~WorkspaceObserver () |
| Destructor. | |
Public Member Functions inherited from MantidQt::MantidWidgets::IWorkspaceFitControl | |
| virtual | ~IWorkspaceFitControl ()=default |
Protected Slots | |
| virtual void | boolChanged (QtProperty *prop) |
| Called when a bool property is changed. | |
| virtual void | doubleChanged (QtProperty *prop) |
| Called when a double property changed. | |
| void | enactAttributeChange (QtProperty *prop, PropertyHandler *h, const bool vectorAttribute=false) |
| virtual void | enumChanged (QtProperty *prop) |
| Called when the function name property changed. | |
| virtual void | intChanged (QtProperty *prop) |
| Called when an int property changed. | |
| virtual void | populateFunctionNames () |
| Get the registered function names. | |
Protected Member Functions | |
| QtProperty * | addDoubleProperty (const QString &name, QtDoublePropertyManager *manager=nullptr) const |
| Create a double property and set some settings. | |
| virtual void | addWorkspaceIndexToBrowser () |
| Adds the workspace index property to the browser. | |
| void | createCompositeFunction (const Mantid::API::IFunction_sptr &func) |
| Create CompositeFunction from pointer. | |
| void | createEditors (QWidget *w) |
| Create editors and assign them to the managers. | |
| void | doFit (int maxIterations) |
| Do the fitting. | |
| bool | getShouldBeNormalised () |
| void | hideEvent (QHideEvent *e) override |
| actions to do before the browser is hidden | |
| void | initBasicLayout (QWidget *w) |
| Initialise the layout, except for the fit button in the menu bar. | |
| void | initLayout (QWidget *w) |
| Initialise the layout. | |
| void | minimizerChanged () |
| Called when the minimizer changes. Creates minimizes's properties. | |
| void | modifyFitMenu (QAction *fitAction, bool enabled) |
| virtual void | populateFitMenuButton (QSignalMapper *fitMapper, QMenu *fitMenu) |
| Populate the fit button. | |
| void | populateWorkspaceNames () |
| Get and store available workspace names. | |
| void | setWorkspace (const Mantid::API::IFunction_sptr &function) const |
| Sets the workspace to a function. | |
| void | setWorkspaceProperties () |
| Display properties relevant to the selected workspace. | |
| void | showEvent (QShowEvent *e) override |
| actions to do before the browser made visible | |
| Mantid::API::IFunction_sptr | tryCreateFitFunction (const QString &str) |
| Catches unexpected not found exceptions. | |
| void | updateBrowserFromFitResults (const Mantid::API::IFunction_sptr &finalFunction) |
| Set the parameters to the fit outcome. | |
| void | updateDecimals () |
| impose a number of decimal places on all defined Double properties | |
Protected Member Functions inherited from MantidQt::API::WorkspaceObserver | |
| void | _addHandle (Mantid::API::WorkspaceAddNotification_ptr pNf) |
| Poco notification handler for DataService::DeleteNotification. | |
| void | _afterReplaceHandle (Mantid::API::WorkspaceAfterReplaceNotification_ptr pNf) |
| Poco notification handler for DataService::AfterReplaceNotification. | |
| void | _clearADSHandle (Mantid::API::ClearADSNotification_ptr) |
| ADS clear notification. | |
| void | _postDeleteHandle (Mantid::API::WorkspacePostDeleteNotification_ptr pNf) |
| Poco notification handler for DataService::PostDeleteNotification. | |
| void | _preDeleteHandle (Mantid::API::WorkspacePreDeleteNotification_ptr pNf) |
| Poco notification handler for DataService::PostDeleteNotification. | |
| void | _renameHandle (Mantid::API::WorkspaceRenameNotification_ptr pNf) |
| Poco notification handler for DataService::RenameNotification. | |
| virtual void | addHandle (const std::string &wsName, const Mantid::API::Workspace_sptr &ws) |
| Handler of the add notifications. | |
| virtual void | afterReplaceHandle (const std::string &wsName, const Mantid::API::Workspace_sptr &ws) |
| Handler of the AfterReplace notifications. | |
| virtual void | clearADSHandle () |
| Handle an ADS clear notification. | |
| virtual void | preDeleteHandle (const std::string &wsName, const Mantid::API::Workspace_sptr &ws) |
| Handler of the delete notifications. | |
Protected Attributes | |
| QtBoolPropertyManager * | m_boolManager |
| QtTreePropertyBrowser * | m_browser |
| bool | m_changeSlotsEnabled |
| If false the change-slots (such as enumChanged(), doubleChanged()) are disabled. | |
| QtEnumPropertyManager * | m_columnManager |
| std::shared_ptr< Mantid::API::CompositeFunction > | m_compositeFunction |
| A copy of the edited function. | |
| QtProperty * | m_convolveMembers |
| QtProperty * | m_costFunction |
| QStringList | m_costFunctions |
| A list of available cost functions. | |
| QtBrowserItem * | m_customSettingsGroup |
| Group for custom options available on muon analysis widget. | |
| QtDoublePropertyManager * | m_doubleManager |
| QtProperty * | m_endX |
| QtEnumPropertyManager * | m_enumManager |
| QtProperty * | m_errColumn |
| QtProperty * | m_evaluationType |
| QStringList | m_evaluationTypes |
| A list of possible function evaluation types. | |
| QtProperty * | m_excludeRange |
| QtStringPropertyManager * | m_filenameManager |
| QAction * | m_fitActionEvaluate |
| QAction * | m_fitActionFit |
| QAction * | m_fitActionSeqFit |
| QAction * | m_fitActionUndoFit |
| QtStringPropertyManager * | m_formulaManager |
| QtBrowserItem * | m_functionsGroup |
| Group for functions. | |
| QtGroupPropertyManager * | m_groupManager |
| Property managers: | |
| bool | m_guessOutputName |
| if true the output name will be guessed every time workspace name is changeed | |
| QtProperty * | m_ignoreInvalidData |
| std::vector< double > | m_initialParameters |
| To keep a copy of the initial parameters in case for undo fit. | |
| QtIntPropertyManager * | m_intManager |
| QtProperty * | m_maxIterations |
| QtProperty * | m_minimizer |
| QList< QtProperty * > | m_minimizerProperties |
| QStringList | m_minimizers |
| A list of available minimizers. | |
| QtProperty * | m_output |
| ParameterPropertyManager * | m_parameterManager |
| QtProperty * | m_peakRadius |
| QtProperty * | m_plotCompositeMembers |
| QtProperty * | m_plotDiff |
| QtProperty * | m_rawData |
| QStringList | m_registeredBackgrounds |
| A list of registered backgrounds. | |
| QStringList | m_registeredFunctions |
| A list of registered functions. | |
| QStringList | m_registeredOther |
| A list of registered functions that are neither peaks nor backgrounds. | |
| QStringList | m_registeredPeaks |
| A list of registered peaks. | |
| QtBrowserItem * | m_settingsGroup |
| Group for input/output settings. | |
| QtProperty * | m_showParamErrors |
| QtProperty * | m_startX |
| QtStringPropertyManager * | m_stringManager |
| QtDoublePropertyManager * | m_vectorDoubleManager |
| QtGroupPropertyManager * | m_vectorManager |
| QtIntPropertyManager * | m_vectorSizeManager |
| QtProperty * | m_workspace |
| QtProperty * | m_workspaceIndex |
| QStringList | m_workspaceNames |
| A list of available workspaces. | |
| QtProperty * | m_xColumn |
| QtProperty * | m_yColumn |
Protected Attributes inherited from MantidQt::API::WorkspaceObserver | |
| Poco::NObserver< WorkspaceObserver, Mantid::API::WorkspaceAddNotification > | m_addObserver |
| Poco::NObserver for DataServise::AddNotification. | |
| Poco::NObserver< WorkspaceObserver, Mantid::API::WorkspaceAfterReplaceNotification > | m_afterReplaceObserver |
| Poco::NObserver for DataServise::AfterReplaceNotification. | |
| Poco::NObserver< WorkspaceObserver, Mantid::API::ClearADSNotification > | m_clearADSObserver |
| Clear notification observer. | |
| Poco::NObserver< WorkspaceObserver, Mantid::API::WorkspacePostDeleteNotification > | m_postDeleteObserver |
| Poco::NObserver for DataServise::DeleteNotification. | |
| Poco::NObserver< WorkspaceObserver, Mantid::API::WorkspacePreDeleteNotification > | m_preDeleteObserver |
| Poco::NObserver for DataServise::DeleteNotification. | |
| Poco::NObserver< WorkspaceObserver, Mantid::API::WorkspaceRenameNotification > | m_renameObserver |
| Poco::NObserver for DataServise::RenameNotification. | |
Private Slots | |
| void | acceptFit () |
| void | addBothBounds () |
| Slot.Adds lower and upper bounds to the selected parameter property. | |
| void | addBothBounds10 () |
| Slot.Sets the lower and upper bounds of the selected parameter to 10% of its value. | |
| void | addBothBounds50 () |
| Slot.Sets the lower and upper bounds of the selected parameter to 50% of its value. | |
| void | addConstraint (int f, bool lo, bool up) |
| Slot. | |
| void | addFixTie () |
| Slot. | |
| void | addFunction () |
| Slot. | |
| void | addLowerBound () |
| Slot. | |
| void | addLowerBound10 () |
| Slot. | |
| void | addLowerBound50 () |
| Slot. | |
| void | addTie () |
| Slot. | |
| void | addTieToFunction () |
| Slot. | |
| void | addUpperBound () |
| Slot.Adds upper bound to the selected parameter property. | |
| void | addUpperBound10 () |
| Slot.Adds upper bound to the selected parameter property. | |
| void | addUpperBound50 () |
| Slot.Adds upper bound to the selected parameter property. | |
| void | browserHelp () |
| Open a web page with description of FitPropertyBrowser. | |
| void | clearAllPlots () |
| void | clearFitResultStatus () |
| Clear the Fit status display. | |
| void | closeFit () |
| void | columnChanged (QtProperty *prop) |
| ================================================================================================= Slot connected to the change signals of properties m_xColumn, m_yColumn, and m_errColumn. | |
| void | copy () |
| Copy the function string to the clipboard. | |
| void | currentItemChanged (const QtBrowserItem *) |
| Slot. | |
| void | deleteFunction () |
| Slot. | |
| void | deleteTie () |
| Slot. | |
| void | executeCustomSetupLoad (const QString &name) |
| void | filenameChanged (QtProperty *prop) |
| Called when a filename property changed. | |
| void | functionHelp () |
| Open a web page with description of the current function. | |
| void | loadFunction () |
| void | loadFunctionFromString () |
| void | parameterChanged (QtProperty *prop) |
| Called when one of the parameter values gets changed. | |
| void | paste () |
| Paste a function string from the clipboard. | |
| void | plotGuessAll () |
| Slot. | |
| void | plotGuessCurrent () |
| Slot. | |
| void | plotOrRemoveGuessAll () |
| void | popupMenu (const QPoint &) |
| void | processMultiBGResults () |
| Process and create some output if it is a MultiBG fit. | |
| void | removeBounds () |
| Slot.Removes lower and upper bounds from the selected parameter property. | |
| void | removeGuessAll () |
| Slot. | |
| void | removeGuessCurrent () |
| Slot. | |
| void | reset () |
| reset the function part, renew function, all handlers are new | |
| void | saveFunction () |
| void | setupMultifit () |
| Call MultifitSetupDialog to populate MultiBG function. | |
| void | showFitResultStatus (const QString &status) |
| Display the status string returned from Fit. | |
| void | stringChanged (QtProperty *prop) |
| Called when a string property changed. | |
| void | updateStructureTooltips () |
| Update structure tooltips for all functions. | |
| void | vectorDoubleChanged (QtProperty *prop) |
| Slot. | |
| void | vectorSizeChanged (QtProperty *prop) |
| Slot. | |
Private Member Functions | |
| QtProperty * | addStringListProperty (const QString &name, const std::vector< std::string > &allowed_values) const |
| Create a string list property. | |
| QtProperty * | addStringProperty (const QString &name) const |
| Create a string property and set some settings. | |
| void | checkFunction () |
| Check that the properties match the function. | |
| QPushButton * | createFitMenuButton (QWidget *w) |
| Initialise the layout for the fit button. | |
| void | disableUndo () |
| disable undo when the function changes | |
| QtBrowserItem * | findItem (QtBrowserItem *parent, QtProperty *prop) const |
| Find QtBrowserItem for a property prop among the chidren of. | |
| int | getAllowedIndex (int currentIndex) const |
| Return the nearest allowed workspace index. | |
| QString | getStringPropertyValue (QtProperty *prop) const |
| QtProperty * | getTieProperty (QtProperty *parProp) const |
| Returns the tie property for a parameter property, or NULL. | |
| void | handleFactoryUpdate (Mantid::API::FunctionFactoryUpdateNotification_ptr) |
| Callback for FunctionFactory update notifications. | |
| void | hasConstraints (QtProperty *parProp, bool &hasTie, bool &hasFix, bool &hasBounds) const |
| Does a parameter have a tie. | |
| virtual bool | isWorkspaceValid (Mantid::API::Workspace_sptr) const |
| Check if the workspace can be used in the fit. | |
| void | setCurrentFunction (const Mantid::API::IFunction_const_sptr &f) const |
| Set new current function. | |
| void | setStringPropertyValue (QtProperty *prop, const QString &value) const |
| Set a value to a string property. | |
| void | updateSetupMenus () |
| Update setup menus according to how these are set in settings. | |
| virtual void | workspaceChange (const QString &wsName) |
| Sets the new workspace to the current one. | |
Private Attributes | |
| QMap< QString, QList< int > > | m_allowedSpectra |
| If non-empty it contains references to the spectra allowed to be fitted in this browser: keys are workspace names, values are lists of workspace indices. | |
| QString | m_allowedTableWorkspace |
| If set it contains the table workspace name to be fitted in this browser: | |
| bool | m_auto_back |
| If true background function will be included automatically. | |
| PropertyHandler * | m_autoBackground |
| The autobackground handler. | |
| QString | m_autoBgAttributes |
| List of attributes of the autobackground function as name=value pairs separated by spaces. | |
| QString | m_autoBgName |
| Name of the autobackground function. | |
| PropertyHandler * | m_currentHandler |
| QStringList | m_dataTypes |
| A list of available data types. | |
| int | m_decimals |
| Number of decimal places in double properties. | |
| std::string | m_defaultBackground |
| Default background name. | |
| std::string | m_defaultFunction |
| Default function name. | |
| std::string | m_defaultPeak |
| Default peak name. | |
| QAction * | m_displayActionClearAll |
| QAction * | m_displayActionPlotGuess |
| QAction * | m_displayActionQuality |
| std::string | m_fitAlgOutputStatus |
| std::string | m_fitAlgParameters |
| QSignalMapper * | m_fitMapper |
| Make sure m_groupMember belongs to the group. | |
| QMenu * | m_fitMenu |
| SelectFunctionDialog * | m_fitSelector |
| QTreeWidget * | m_fitTree |
| bool | m_hideWsListWidget |
| bool to display ws list or not | |
| QObject * | m_mantidui |
| holds effectively a MantidUI for connecting | |
| int | m_oldWorkspaceIndex |
| Store workspace index to revert to in case validation fails. | |
| bool | m_peakToolOn |
| Shows if the PeakPickerTool is on. | |
| QAction * | m_setupActionCustomSetup |
| Setup menu. | |
| QAction * | m_setupActionRemove |
| bool | m_shouldBeNormalised |
| Should the data be normalised before fitting? | |
| QLabel * | m_status |
| To display fit status. | |
| std::string | m_storedWorkspaceName |
| store current workspace name | |
| QMap< QString, QtStringPropertyManager * > | m_stringManagers |
| String property managers for special case attributes such as Filename or Formula <attribute_name,string_manager> | |
| QLabel * | m_tip |
| To display a tip text. | |
| Poco::NObserver< FitPropertyBrowser, Mantid::API::FunctionFactoryUpdateNotification > | m_updateObserver |
| Observes algorithm factory update notifications. | |
| QString | m_windowBaseString |
| QLabel * | m_workspaceLabel |
| QListWidget * | m_wsListWidget |
Friends | |
| class | CreateAttributeProperty |
| class | PropertyHandler |
| class | SequentialFitDialog |
| class | SetAttribute |
| class | SetAttributeProperty |
Class FitPropertyBrowser implements QtPropertyBrowser to display and control fitting function parameters and settings.
Definition at line 66 of file FitPropertyBrowser.h.
| MantidQt::MantidWidgets::FitPropertyBrowser::FitPropertyBrowser | ( | QWidget * | parent = nullptr, |
| QObject * | mantidui = nullptr |
||
| ) |
Constructor.
| parent | :: The parent widget - must be an ApplicationWindow |
| mantidui | :: The UI form for MantidPlot |
Definition at line 80 of file FitPropertyBrowser.cpp.
References m_autoBgName, m_boolManager, m_columnManager, m_defaultBackground, m_defaultFunction, m_defaultPeak, m_doubleManager, m_enumManager, m_filenameManager, m_formulaManager, m_groupManager, m_intManager, m_parameterManager, m_stringManager, m_vectorDoubleManager, m_vectorManager, m_vectorSizeManager, m_workspace, and setAutoBackgroundName().
|
override |
Destructor.
Definition at line 686 of file FitPropertyBrowser.cpp.
References m_boolManager, m_browser, m_columnManager, m_compositeFunction, m_doubleManager, m_enumManager, m_filenameManager, m_formulaManager, m_intManager, m_parameterManager, m_stringManager, m_updateObserver, m_vectorDoubleManager, and m_vectorSizeManager.
|
delete |
|
privateslot |
Definition at line 744 of file FitPropertyBrowser.cpp.
References MantidQt::MantidWidgets::PropertyHandler::addFunction(), closeFit(), MantidQt::MantidWidgets::PropertyHandler::findCompositeFunction(), MantidQt::MantidWidgets::PropertyHandler::findHandler(), functionChanged(), MantidQt::MantidWidgets::SelectFunctionDialog::getFunction(), getHandler(), m_browser, and m_fitSelector.
Referenced by addFunction().
| void MantidQt::MantidWidgets::FitPropertyBrowser::addAllowedSpectra | ( | const QString & | wsName, |
| const QList< int > & | wsIndices | ||
| ) |
Definition at line 3250 of file FitPropertyBrowser.cpp.
References intChanged(), m_allowedSpectra, m_workspaceIndex, name, and populateWorkspaceNames().
| void MantidQt::MantidWidgets::FitPropertyBrowser::addAllowedTableWorkspace | ( | const QString & | wsName | ) |
Definition at line 3281 of file FitPropertyBrowser.cpp.
References m_allowedTableWorkspace, and name.
| void MantidQt::MantidWidgets::FitPropertyBrowser::addAutoBackground | ( | ) |
Creates and adds the autobackground.
Definition at line 2659 of file FitPropertyBrowser.cpp.
References MantidQt::MantidWidgets::PropertyHandler::addFunction(), MantidQt::MantidWidgets::PropertyHandler::calcBaseAll(), currentHandler(), MantidQt::MantidWidgets::PropertyHandler::fit(), Mantid::API::FunctionHandler::function(), getHandler(), MantidQt::MantidWidgets::PropertyHandler::hasPlot(), m_autoBackground, m_autoBgAttributes, m_autoBgName, name, plotCurrentGuess(), MantidQt::MantidWidgets::PropertyHandler::removeFunction(), MantidQt::MantidWidgets::PropertyHandler::setAttribute(), setCurrentFunction(), and value.
Referenced by createCompositeFunction().
|
privateslot |
Slot.Adds lower and upper bounds to the selected parameter property.
Definition at line 2403 of file FitPropertyBrowser.cpp.
References addConstraint().
Referenced by popupMenu().
|
privateslot |
Slot.Sets the lower and upper bounds of the selected parameter to 10% of its value.
Definition at line 2392 of file FitPropertyBrowser.cpp.
References addConstraint().
Referenced by popupMenu().
|
privateslot |
Slot.Sets the lower and upper bounds of the selected parameter to 50% of its value.
Definition at line 2398 of file FitPropertyBrowser.cpp.
References addConstraint().
Referenced by popupMenu().
|
privateslot |
Slot.
Adds lower bound to the selected parameter property and sets it f % below parameter's current value
Definition at line 2344 of file FitPropertyBrowser.cpp.
References MantidQt::MantidWidgets::PropertyHandler::addConstraint(), MantidQt::MantidWidgets::PropertyHandler::findHandler(), getHandler(), m_browser, and Mantid::Geometry::x.
Referenced by addBothBounds(), addBothBounds10(), addBothBounds50(), addLowerBound(), addLowerBound10(), addLowerBound50(), addUpperBound(), addUpperBound10(), and addUpperBound50().
|
protected |
Create a double property and set some settings.
| name | :: The name of the new property |
| manager | :: The current property manager |
Definition at line 2454 of file FitPropertyBrowser.cpp.
References m_decimals, m_doubleManager, and name.
Referenced by MantidQt::MantidWidgets::PropertyHandler::addConstraint(), MantidQt::MantidWidgets::CreateAttributeProperty::apply(), MantidQt::MantidWidgets::CreateAttributeProperty::apply(), init(), MantidQt::MantidWidgets::PropertyHandler::initParameters(), and minimizerChanged().
| void MantidQt::MantidWidgets::FitPropertyBrowser::addFitResultWorkspacesToTableWidget | ( | ) |
Adds the fit result workspaces to the QListWidget in the browser.
Definition at line 521 of file FitPropertyBrowser.cpp.
References m_hideWsListWidget, m_workspaceLabel, m_wsListWidget, name, and outputName().
|
privateslot |
Slot.
Adds a tie. The current item must be a function parameter
Definition at line 2225 of file FitPropertyBrowser.cpp.
References MantidQt::MantidWidgets::PropertyHandler::findHandler(), MantidQt::MantidWidgets::PropertyHandler::fix(), getHandler(), MantidQt::MantidWidgets::PropertyHandler::isParameter(), and m_browser.
Referenced by popupMenu().
|
privateslot |
Slot.
Called to add a new function
Definition at line 729 of file FitPropertyBrowser.cpp.
References acceptFit(), closeFit(), MantidQt::MantidWidgets::PropertyHandler::findCompositeFunction(), getHandler(), m_browser, and m_fitSelector.
Referenced by addFunction(), createAndAddFunction(), and popupMenu().
| QString MantidQt::MantidWidgets::FitPropertyBrowser::addFunction | ( | const QString & | fnName | ) |
A specialisation of addFunction to be used in the workbench.
It returns an id of the added function as a string of "f-dot" indices. This provides function identification that doesn't use PropertyHandlers and can be used on the python side.
| fnName | :: Name of a function to add. |
Definition at line 3299 of file FitPropertyBrowser.cpp.
References addFunction().
| PropertyHandler * MantidQt::MantidWidgets::FitPropertyBrowser::addFunction | ( | const std::string & | fnName | ) |
Create a new function.
Definition at line 711 of file FitPropertyBrowser.cpp.
References MantidQt::MantidWidgets::PropertyHandler::addFunction(), functionChanged(), and getHandler().
|
override |
workspace was added
Definition at line 1812 of file FitPropertyBrowser.cpp.
References isWorkspaceValid(), m_allowedSpectra, m_allowedTableWorkspace, m_enumManager, m_workspace, m_workspaceNames, and workspaceName().
|
privateslot |
Slot.
Adds lower bound to the selected parameter property
Definition at line 2361 of file FitPropertyBrowser.cpp.
References addConstraint().
Referenced by popupMenu().
|
privateslot |
Slot.
Adds lower bound to the selected parameter property
Definition at line 2366 of file FitPropertyBrowser.cpp.
References addConstraint().
Referenced by popupMenu().
|
privateslot |
Slot.
Adds lower bound to the selected parameter property
Definition at line 2371 of file FitPropertyBrowser.cpp.
References addConstraint().
Referenced by popupMenu().
|
private |
Create a string list property.
Create a string list property and selects a property manager for it based on the property name.
| name | :: The name of the new property |
| allowed_values | :: A list of the values allowed by the validator |
Definition at line 2489 of file FitPropertyBrowser.cpp.
References m_enumManager, and name.
Referenced by MantidQt::MantidWidgets::CreateAttributeProperty::apply().
|
private |
Create a string property and set some settings.
Create a string property and selects a property manager for it based on the property name.
| name | :: The name of the new property |
!! dont forget to change the manager !!!
Definition at line 2468 of file FitPropertyBrowser.cpp.
References m_filenameManager, m_formulaManager, m_stringManager, and name.
Referenced by MantidQt::MantidWidgets::CreateAttributeProperty::apply().
|
privateslot |
Slot.
Adds a tie. Full expression to be entered <name>=<formula>
Definition at line 2151 of file FitPropertyBrowser.cpp.
References MantidQt::MantidWidgets::PropertyHandler::addTie(), MantidQt::MantidWidgets::PropertyHandler::findHandler(), Mantid::API::FunctionHandler::function(), MantidQt::MantidWidgets::PropertyHandler::functionPrefix(), getHandler(), MantidQt::MantidWidgets::PropertyHandler::isParameter(), and m_browser.
Referenced by popupMenu().
|
privateslot |
Slot.
Ties a parameter to a parameter with the same name of a different function
Definition at line 2179 of file FitPropertyBrowser.cpp.
References MantidQt::MantidWidgets::PropertyHandler::addTie(), MantidQt::MantidWidgets::PropertyHandler::findHandler(), Mantid::API::FunctionHandler::function(), getHandler(), Mantid::API::ParameterReference::getLocalFunction(), Mantid::API::ParameterReference::getLocalIndex(), MantidQt::MantidWidgets::PropertyHandler::isParameter(), m_browser, m_compositeFunction, and Mantid::API::IFunction::parameterName().
Referenced by popupMenu().
|
privateslot |
Slot.Adds upper bound to the selected parameter property.
Definition at line 2386 of file FitPropertyBrowser.cpp.
References addConstraint().
Referenced by popupMenu().
|
privateslot |
Slot.Adds upper bound to the selected parameter property.
Definition at line 2376 of file FitPropertyBrowser.cpp.
References addConstraint().
Referenced by popupMenu().
|
privateslot |
Slot.Adds upper bound to the selected parameter property.
Definition at line 2381 of file FitPropertyBrowser.cpp.
References addConstraint().
Referenced by popupMenu().
|
protectedvirtual |
Adds the workspace index property to the browser.
Definition at line 3047 of file FitPropertyBrowser.cpp.
References m_browser, m_settingsGroup, m_workspace, and m_workspaceIndex.
Referenced by setWorkspaceProperties().
|
signal |
Referenced by doFit().
|
signal |
Referenced by finishHandle().
|
signal |
Referenced by doFit().
|
overridevirtual |
Allow or disallow sequential fits (depending on whether other conditions are met)
================================================================================================= Allow/disallow sequential fits, depending on whether other conditions are met
| allow | :: [input] Allow or disallow |
Implements MantidQt::MantidWidgets::IWorkspaceFitControl.
Definition at line 3228 of file FitPropertyBrowser.cpp.
References m_compositeFunction, and m_fitActionSeqFit.
|
protectedvirtualslot |
Called when a bool property is changed.
Called when a bool property changed.
| prop | :: A pointer to the property |
Definition at line 1289 of file FitPropertyBrowser.cpp.
References enactAttributeChange(), errorsEnabled(), MantidQt::MantidWidgets::PropertyHandler::findHandler(), getHandler(), m_boolManager, m_changeSlotsEnabled, m_ignoreInvalidData, m_parameterManager, m_plotCompositeMembers, m_plotDiff, and m_showParamErrors.
Referenced by initBasicLayout().
|
privateslot |
Open a web page with description of FitPropertyBrowser.
================================================================================================= Show online browser help
Definition at line 3219 of file FitPropertyBrowser.cpp.
References MantidQt::API::HelpWindow::showPage().
Referenced by popupMenu().
| double MantidQt::MantidWidgets::FitPropertyBrowser::centre | ( | ) | const |
Centre of the current peak.
Definition at line 1517 of file FitPropertyBrowser.cpp.
References m_currentHandler, and MantidQt::MantidWidgets::PropertyHandler::pfun().
|
signal |
|
signal |
Referenced by finishHandle(), and initBasicLayout().
|
private |
Check that the properties match the function.
Definition at line 2524 of file FitPropertyBrowser.cpp.
|
virtualslot |
Slot.
Removes all functions.
Definition at line 2088 of file FitPropertyBrowser.cpp.
References clearBrowser(), createCompositeFunction(), functionCleared(), getHandler(), and MantidQt::MantidWidgets::PropertyHandler::removeAllPlots().
Referenced by executeSetupMenu(), findPeaks(), and popupMenu().
|
privateslot |
Definition at line 2447 of file FitPropertyBrowser.cpp.
References removeFitCurves().
Referenced by executeDisplayMenu().
|
slot |
Definition at line 2095 of file FitPropertyBrowser.cpp.
References m_functionsGroup.
Referenced by clear(), loadFunction(), and reset().
|
privateslot |
Clear the Fit status display.
Definition at line 1753 of file FitPropertyBrowser.cpp.
References m_status.
Referenced by initBasicLayout(), and undoFit().
|
privateslot |
Definition at line 760 of file FitPropertyBrowser.cpp.
References m_fitSelector.
Referenced by acceptFit(), and addFunction().
|
privateslot |
================================================================================================= Slot connected to the change signals of properties m_xColumn, m_yColumn, and m_errColumn.
| prop | :: Property that changed. |
Definition at line 3092 of file FitPropertyBrowser.cpp.
References m_columnManager, m_doubleManager, m_endX, m_startX, m_xColumn, and workspaceName().
Referenced by initBasicLayout().
|
inline |
Get Composite Function.
Definition at line 132 of file FitPropertyBrowser.h.
Referenced by MantidQt::MantidWidgets::PropertyHandler::addFunction(), MantidQt::MantidWidgets::PropertyHandler::addTie(), MantidQt::MantidWidgets::MultifitSetupDialog::cellChanged(), doFit(), MantidQt::MantidWidgets::SequentialFitDialog::getFitResults(), getOldExpressionAsString(), isUndoEnabled(), MantidQt::MantidWidgets::MultifitSetupDialog::MultifitSetupDialog(), processMultiBGResults(), removeFunction(), MantidQt::MantidWidgets::PropertyHandler::removeTie(), MantidQt::MantidWidgets::PropertyHandler::renameChildren(), MantidQt::MantidWidgets::PropertyHandler::setAttribute(), MantidQt::MantidWidgets::PropertyHandler::setAttribute(), MantidQt::MantidWidgets::PropertyHandler::setAttribute(), stringChanged(), undoFit(), and updateBrowserFromFitResults().
| bool MantidQt::MantidWidgets::FitPropertyBrowser::convolveMembers | ( | ) | const |
Get the "ConvolveMembers" option.
Definition at line 1192 of file FitPropertyBrowser.cpp.
References m_boolManager, and m_convolveMembers.
Referenced by doFit().
|
privateslot |
Copy the function string to the clipboard.
Definition at line 2625 of file FitPropertyBrowser.cpp.
References theFunction().
Referenced by executeSetupManageMenu(), and popupMenu().
| std::string MantidQt::MantidWidgets::FitPropertyBrowser::costFunction | ( | ) | const |
Get the cost function.
Definition at line 1184 of file FitPropertyBrowser.cpp.
References m_costFunction, m_costFunctions, and m_enumManager.
Referenced by MantidQt::MantidWidgets::SequentialFitDialog::accept(), and doFit().
| int MantidQt::MantidWidgets::FitPropertyBrowser::count | ( | ) | const |
Get count.
Get number of functions in CompositeFunction.
Definition at line 1574 of file FitPropertyBrowser.cpp.
References m_compositeFunction.
Referenced by MantidQt::MantidWidgets::SequentialFitDialog::getFitResults(), isPeak(), and popupMenu().
| bool MantidQt::MantidWidgets::FitPropertyBrowser::createAndAddFunction | ( | const Mantid::API::MatrixWorkspace_sptr | inputWS, |
| const size_t | peakIndex, | ||
| const std::unique_ptr< FindPeakStrategyGeneric > & | findPeakStrategy | ||
| ) |
Definition at line 3303 of file FitPropertyBrowser.cpp.
References addFunction(), defaultPeakType(), endX(), startX(), and workspaceIndex().
Referenced by findPeaks().
|
protected |
Create CompositeFunction from pointer.
Create CompositeFunction from function pointer.
| func | :: [input] Pointer to function |
Definition at line 766 of file FitPropertyBrowser.cpp.
References addAutoBackground(), disableUndo(), functionChanged(), functionRemoved(), m_auto_back, m_autoBackground, m_compositeFunction, setCurrentFunction(), setFitEnabled(), and setWorkspace().
| void MantidQt::MantidWidgets::FitPropertyBrowser::createCompositeFunction | ( | const QString & | str = "" | ) |
Create CompositeFunction from string.
| str | :: [input] Function string |
Definition at line 801 of file FitPropertyBrowser.cpp.
References createCompositeFunction(), and tryCreateFitFunction().
Referenced by clear(), createCompositeFunction(), initBasicLayout(), loadFunction(), paste(), and reset().
|
protected |
Create editors and assign them to the managers.
Associates a particular widget factory to each property manager. Thus, the factory will automatically create widgets befitting to edit the properties that we define.
| w | :: widget showing the properties tree and the actions buttons |
Definition at line 555 of file FitPropertyBrowser.cpp.
References m_boolManager, m_browser, m_columnManager, m_doubleManager, m_enumManager, m_filenameManager, m_formulaManager, m_intManager, m_parameterManager, m_stringManager, m_vectorDoubleManager, and m_vectorSizeManager.
Referenced by init().
|
private |
Initialise the layout for the fit button.
This initialization includes:
| w | widget parenting the action menus and the property tree browser |
Definition at line 277 of file FitPropertyBrowser.cpp.
References executeFitMenu(), m_fitMapper, m_fitMenu, m_tip, and populateFitMenuButton().
Referenced by initBasicLayout().
|
signal |
Referenced by currentItemChanged(), and setCurrentFunction().
| PropertyHandler * MantidQt::MantidWidgets::FitPropertyBrowser::currentHandler | ( | ) | const |
Get the current function.
Definition at line 1577 of file FitPropertyBrowser.cpp.
References m_currentHandler.
Referenced by addAutoBackground(), and functionHelp().
|
privateslot |
Slot.
Responds to changing the current item
Definition at line 2044 of file FitPropertyBrowser.cpp.
References currentChanged(), MantidQt::MantidWidgets::PropertyHandler::findHandler(), getHandler(), and m_currentHandler.
Referenced by initBasicLayout().
| const std::string & MantidQt::MantidWidgets::FitPropertyBrowser::defaultBackgroundType | ( | ) | const |
Get the default background type.
Definition at line 1069 of file FitPropertyBrowser.cpp.
References m_defaultBackground.
| const std::string & MantidQt::MantidWidgets::FitPropertyBrowser::defaultFunctionType | ( | ) | const |
Get the default function type.
Definition at line 1049 of file FitPropertyBrowser.cpp.
References m_defaultFunction.
| std::string MantidQt::MantidWidgets::FitPropertyBrowser::defaultPeakType | ( | ) |
Get the default peak type.
Definition at line 1055 of file FitPropertyBrowser.cpp.
References Mantid::API::g_log, m_defaultPeak, m_registeredPeaks, setDefaultPeakType(), and Mantid::Kernel::Logger::warning().
Referenced by createAndAddFunction().
|
privateslot |
Slot.
Called to remove a function
Definition at line 1040 of file FitPropertyBrowser.cpp.
References MantidQt::MantidWidgets::PropertyHandler::findHandler(), getHandler(), m_browser, and removeFunction().
Referenced by popupMenu().
|
privateslot |
Slot.
Deletes a tie.
Definition at line 2239 of file FitPropertyBrowser.cpp.
References MantidQt::MantidWidgets::PropertyHandler::findHandler(), Mantid::API::FunctionHandler::function(), getHandler(), Mantid::API::ParameterReference::getLocalFunction(), Mantid::API::ParameterReference::getLocalIndex(), MantidQt::MantidWidgets::PropertyHandler::getTies(), m_browser, m_compositeFunction, Mantid::API::IFunction::parameterName(), and MantidQt::MantidWidgets::PropertyHandler::removeTie().
Referenced by popupMenu().
|
private |
disable undo when the function changes
Definition at line 2129 of file FitPropertyBrowser.cpp.
References m_fitActionUndoFit, and m_initialParameters.
Referenced by MantidQt::MantidWidgets::PropertyHandler::addFunction(), createCompositeFunction(), enumChanged(), and undoFit().
|
protected |
Do the fitting.
Creates an instance of Fit algorithm, sets its properties and launches it.
Definition at line 1600 of file FitPropertyBrowser.cpp.
References algorithmFailed(), algorithmStarted(), compositeFunction(), convolveMembers(), costFunction(), endX(), Mantid::API::g_log, getErrColumnName(), getExcludeRange(), getPeakRadius(), getWorkspace(), getXColumnName(), getYColumnName(), ignoreInvalidData(), isHistogramFit(), m_fitActionUndoFit, m_fitAlgParameters, m_initialParameters, m_shouldBeNormalised, maxIterations(), minimizer(), Mantid::API::AlgorithmObserver::observeFinish(), outputName(), startX(), Mantid::Kernel::Logger::warning(), workspaceIndex(), and workspaceName().
Referenced by executeFitMenu(), and fit().
|
protectedvirtualslot |
Called when a double property changed.
| prop | :: A pointer to the property |
Definition at line 1364 of file FitPropertyBrowser.cpp.
References MantidQt::MantidWidgets::PropertyHandler::addConstraint(), enactAttributeChange(), endX(), endXChanged(), MantidQt::MantidWidgets::PropertyHandler::findHandler(), getHandler(), MantidQt::MantidWidgets::PropertyHandler::getParameterProperty(), m_changeSlotsEnabled, m_compositeFunction, m_doubleManager, m_endX, m_startX, MantidQt::MantidWidgets::PropertyHandler::setAttribute(), setWorkspace(), startX(), startXChanged(), value, and xRangeChanged().
Referenced by initBasicLayout(), and setXRange().
|
protectedslot |
Definition at line 1405 of file FitPropertyBrowser.cpp.
References Mantid::API::g_log, MantidQt::MantidWidgets::PropertyHandler::setAttribute(), MantidQt::MantidWidgets::PropertyHandler::setVectorAttribute(), and Mantid::Kernel::Logger::warning().
Referenced by boolChanged(), doubleChanged(), intChanged(), vectorDoubleChanged(), and vectorSizeChanged().
| double MantidQt::MantidWidgets::FitPropertyBrowser::endX | ( | ) | const |
Get the end X.
Definition at line 1928 of file FitPropertyBrowser.cpp.
References m_doubleManager, and m_endX.
Referenced by MantidQt::MantidWidgets::SequentialFitDialog::accept(), MantidQt::MantidWidgets::PropertyHandler::addFunction(), MantidQt::MantidWidgets::PropertyHandler::centre(), MantidQt::MantidWidgets::PropertyHandler::changeType(), createAndAddFunction(), doFit(), doubleChanged(), MantidQt::MantidWidgets::PropertyHandler::EstimateFwhm(), findPeaks(), MantidQt::MantidWidgets::PropertyHandler::fit(), MantidQt::MantidWidgets::PropertyHandler::setFunctionWorkspace(), setupMultifit(), and setWorkspace().
|
signal |
Referenced by doubleChanged().
|
protectedvirtualslot |
Called when the function name property changed.
| prop | :: A pointer to the function name property m_functionName |
Definition at line 1248 of file FitPropertyBrowser.cpp.
References MantidQt::MantidWidgets::PropertyHandler::changeType(), disableUndo(), MantidQt::MantidWidgets::PropertyHandler::findHandler(), functionChanged(), getHandler(), intChanged(), m_changeSlotsEnabled, m_compositeFunction, m_enumManager, m_evaluationType, m_minimizer, m_storedWorkspaceName, m_workspace, m_workspaceIndex, minimizerChanged(), MantidQt::MantidWidgets::PropertyHandler::parentHandler(), setCurrentFunction(), setWorkspaceProperties(), workspaceChange(), and workspaceName().
Referenced by initBasicLayout().
|
signal |
Referenced by boolChanged().
|
slot |
Definition at line 626 of file FitPropertyBrowser.cpp.
References updateSetupMenus().
Referenced by executeSetupManageMenu().
|
privateslot |
Definition at line 610 of file FitPropertyBrowser.cpp.
References loadFunction(), and name.
Referenced by updateSetupMenus().
|
slot |
Definition at line 618 of file FitPropertyBrowser.cpp.
References name, and updateSetupMenus().
Referenced by updateSetupMenus().
|
slot |
Definition at line 654 of file FitPropertyBrowser.cpp.
References clearAllPlots(), and plotOrRemoveGuessAll().
Referenced by initBasicLayout().
|
signal |
|
virtualslot |
Definition at line 642 of file FitPropertyBrowser.cpp.
References doFit(), fit(), sequentialFit(), and undoFit().
Referenced by createFitMenuButton().
|
slot |
Definition at line 662 of file FitPropertyBrowser.cpp.
References findPeaks().
Referenced by initBasicLayout().
|
slot |
Definition at line 674 of file FitPropertyBrowser.cpp.
References copy(), executeClearCustomSetups(), loadFunctionFromString(), and saveFunction().
Referenced by initBasicLayout().
|
slot |
Definition at line 669 of file FitPropertyBrowser.cpp.
References clear().
Referenced by initBasicLayout().
|
privateslot |
Called when a filename property changed.
| prop | :: A pointer to the property |
Definition at line 1508 of file FitPropertyBrowser.cpp.
References getHandler(), and m_changeSlotsEnabled.
|
private |
Find QtBrowserItem for a property prop among the chidren of.
Definition at line 2025 of file FitPropertyBrowser.cpp.
References findItem().
Referenced by findItem().
| void MantidQt::MantidWidgets::FitPropertyBrowser::findPeaks | ( | const std::unique_ptr< FindPeakStrategyGeneric > | findPeakStrategy | ) |
Definition at line 2741 of file FitPropertyBrowser.cpp.
References clear(), createAndAddFunction(), endX(), startX(), workspaceIndex(), and workspaceName().
Referenced by executePeakFindingAlgMenu().
|
overridevirtual |
Called when the Fit is finished.
Reimplemented from Mantid::API::AlgorithmObserver.
Reimplemented in MantidQt::MantidWidgets::MuonFitPropertyBrowser.
Definition at line 1697 of file FitPropertyBrowser.cpp.
References algorithmFinished(), changeWindowTitle(), Mantid::Kernel::IPropertyManager::existsProperty(), fitResultsChanged(), fittingDone(), Mantid::Kernel::IPropertyManager::getProperty(), Mantid::Kernel::IPropertyManager::getPropertyValue(), m_compositeFunction, m_displayActionQuality, m_fitAlgOutputStatus, multifitFinished(), name, and updateBrowserFromFitResults().
|
virtualslot |
Do the fit.
Definition at line 3058 of file FitPropertyBrowser.cpp.
References doFit(), m_intManager, and m_maxIterations.
Referenced by executeFitMenu(), and popupMenu().
|
signal |
Referenced by finishHandle(), and initBasicLayout().
|
signal |
signal which can optionally be caught for customization after a fit has been done
Referenced by finishHandle().
|
signal |
Referenced by undoFit().
|
signal |
Referenced by acceptFit(), addFunction(), createCompositeFunction(), enumChanged(), initBasicLayout(), removeFunction(), and stringChanged().
|
signal |
Referenced by clear().
|
signal |
Referenced by handleFactoryUpdate(), and initBasicLayout().
|
privateslot |
Open a web page with description of the current function.
================================================================================================= Show online function help
Definition at line 3209 of file FitPropertyBrowser.cpp.
References currentHandler(), MantidQt::MantidWidgets::PropertyHandler::ifun(), and MantidQt::API::HelpWindow::showFitFunction().
Referenced by popupMenu().
|
signal |
Referenced by loadFunction().
|
signal |
Referenced by createCompositeFunction(), and removeFunction().
| double MantidQt::MantidWidgets::FitPropertyBrowser::fwhm | ( | ) | const |
Width of the current peak.
Definition at line 1555 of file FitPropertyBrowser.cpp.
References m_currentHandler, and MantidQt::MantidWidgets::PropertyHandler::pfun().
|
private |
Return the nearest allowed workspace index.
If the current workspace index is set to a disallowed value this function returns the nearest allowed index.
Otherwise the current index is returned.
Definition at line 2530 of file FitPropertyBrowser.cpp.
References getWorkspace(), m_allowedSpectra, m_oldWorkspaceIndex, workspace, and workspaceName().
Referenced by intChanged(), and setWorkspaceIndex().
|
inline |
Definition at line 248 of file FitPropertyBrowser.h.
| std::string MantidQt::MantidWidgets::FitPropertyBrowser::getCentreParameterNameOf | ( | const QString & | prefix | ) |
Definition at line 3370 of file FitPropertyBrowser.cpp.
References getPeakHandler().
| QString MantidQt::MantidWidgets::FitPropertyBrowser::getConstraintsString | ( | ) | const |
Creates the "Constraints" property value for the Fit algorithm.
|
inline |
Number of decimal places in double properties.
Definition at line 251 of file FitPropertyBrowser.h.
| QString MantidQt::MantidWidgets::FitPropertyBrowser::getErrColumnName | ( | ) | const |
Get the name of the Error column.
Definition at line 2007 of file FitPropertyBrowser.cpp.
References getWorkspace(), m_columnManager, and m_errColumn.
Referenced by doFit().
| std::string MantidQt::MantidWidgets::FitPropertyBrowser::getExcludeRange | ( | ) | const |
Get the excluded range for the fit.
Get the excluded range.
Definition at line 1210 of file FitPropertyBrowser.cpp.
References m_excludeRange, and m_stringManager.
Referenced by doFit().
| const std::string & MantidQt::MantidWidgets::FitPropertyBrowser::getFitAlgorithmOutputStatus | ( | ) | const |
================================================================================================= Get Fit Algorithm output statuss
Definition at line 3204 of file FitPropertyBrowser.cpp.
References m_fitAlgOutputStatus.
| const std::string & MantidQt::MantidWidgets::FitPropertyBrowser::getFitAlgorithmParameters | ( | ) | const |
================================================================================================= Get Fit Algorithm parameters
Definition at line 3199 of file FitPropertyBrowser.cpp.
References m_fitAlgParameters.
|
inline |
Return the Fit menu.
This gives Python access to events emitted by this menu.
Definition at line 285 of file FitPropertyBrowser.h.
| Mantid::API::IFunction_sptr MantidQt::MantidWidgets::FitPropertyBrowser::getFittingFunction | ( | ) | const |
Return the fitting function.
Return the function that will be passed to Fit.
Definition at line 1680 of file FitPropertyBrowser.cpp.
References getFunctionAtIndex(), and m_compositeFunction.
Referenced by getFunctionString().
| Mantid::API::IFunction_sptr MantidQt::MantidWidgets::FitPropertyBrowser::getFunctionAtIndex | ( | std::size_t const & | index | ) | const |
Return a function at a specific index in the composite function.
Return the function within a composite function at the position specified.
Definition at line 1693 of file FitPropertyBrowser.cpp.
References index, and m_compositeFunction.
Referenced by getFittingFunction(), processMultiBGResults(), and setupMultifit().
| std::string MantidQt::MantidWidgets::FitPropertyBrowser::getFunctionString | ( | ) | const |
Get the function as a string.
Definition at line 1733 of file FitPropertyBrowser.cpp.
References getFittingFunction().
| PropertyHandler * MantidQt::MantidWidgets::FitPropertyBrowser::getHandler | ( | ) | const |
Get handler to the root composite function.
Definition at line 707 of file FitPropertyBrowser.cpp.
References m_compositeFunction.
Referenced by acceptFit(), addAutoBackground(), addConstraint(), addFixTie(), addFunction(), addFunction(), addTie(), addTieToFunction(), boolChanged(), clear(), currentItemChanged(), deleteFunction(), deleteTie(), doubleChanged(), enumChanged(), filenameChanged(), MantidQt::MantidWidgets::PropertyHandler::fit(), MantidQt::MantidWidgets::SequentialFitDialog::getFitResults(), getPeakHandler(), getPeakPrefixes(), intChanged(), loadFunction(), parameterChanged(), plotOrRemoveGuessAll(), popupMenu(), removeBounds(), removeFunction(), setCurrentFunction(), setXRange(), stringChanged(), undoFit(), updateAttributes(), updateBrowserFromFitResults(), updateParameters(), updateStructureTooltips(), vectorDoubleChanged(), and vectorSizeChanged().
| QString MantidQt::MantidWidgets::FitPropertyBrowser::getOldExpressionAsString | ( | const QString & | parameterName | ) | const |
Get the tie expression stored in the function in case the new expression is invalid and the GUI needs to be reset.
| parameterName | :: A pointer to the parameter name |
Definition at line 1485 of file FitPropertyBrowser.cpp.
References compositeFunction().
Referenced by stringChanged().
| QStringList MantidQt::MantidWidgets::FitPropertyBrowser::getParameterNames | ( | ) | const |
Get function parameter names.
================================================================================================= Get parameter names
Definition at line 3186 of file FitPropertyBrowser.cpp.
References theFunction().
| QList< double > MantidQt::MantidWidgets::FitPropertyBrowser::getParameterValues | ( | ) | const |
Get function parameter values.
================================================================================================= Get function parameter values
Definition at line 3172 of file FitPropertyBrowser.cpp.
References theFunction().
| double MantidQt::MantidWidgets::FitPropertyBrowser::getPeakCentreOf | ( | const QString & | prefix | ) |
Definition at line 3338 of file FitPropertyBrowser.cpp.
References getPeakHandler().
| double MantidQt::MantidWidgets::FitPropertyBrowser::getPeakFwhmOf | ( | const QString & | prefix | ) |
Definition at line 3360 of file FitPropertyBrowser.cpp.
References getPeakHandler().
| PropertyHandler * MantidQt::MantidWidgets::FitPropertyBrowser::getPeakHandler | ( | const QString & | prefix | ) |
Definition at line 3319 of file FitPropertyBrowser.cpp.
References getHandler(), index, and n.
Referenced by getCentreParameterNameOf(), getPeakCentreOf(), getPeakFwhmOf(), getPeakHeightOf(), getWidthParameterNameOf(), isParameterExplicitlySetOf(), setPeakCentreOf(), setPeakFwhmOf(), and setPeakHeightOf().
| double MantidQt::MantidWidgets::FitPropertyBrowser::getPeakHeightOf | ( | const QString & | prefix | ) |
Definition at line 3349 of file FitPropertyBrowser.cpp.
References getPeakHandler().
| QStringList MantidQt::MantidWidgets::FitPropertyBrowser::getPeakPrefixes | ( | ) | const |
Definition at line 3380 of file FitPropertyBrowser.cpp.
References getHandler().
| int MantidQt::MantidWidgets::FitPropertyBrowser::getPeakRadius | ( | ) | const |
Get the peak radius for peak functions.
Definition at line 1207 of file FitPropertyBrowser.cpp.
References m_intManager, and m_peakRadius.
Referenced by doFit().
|
inlineprotected |
Definition at line 464 of file FitPropertyBrowser.h.
|
private |
Definition at line 2514 of file FitPropertyBrowser.cpp.
Referenced by MantidQt::MantidWidgets::SetAttribute::apply().
|
private |
Returns the tie property for a parameter property, or NULL.
Returns the tie property for a parameter property, or nullptr.
| parProp | :: parameter property |
Definition at line 2314 of file FitPropertyBrowser.cpp.
References Mantid::Geometry::x.
| QString MantidQt::MantidWidgets::FitPropertyBrowser::getTieString | ( | ) | const |
Creates the "Ties" property value for the Fit algorithm.
| std::string MantidQt::MantidWidgets::FitPropertyBrowser::getWidthParameterNameOf | ( | const QString & | prefix | ) |
Definition at line 3365 of file FitPropertyBrowser.cpp.
References getPeakHandler().
| std::shared_ptr< Mantid::API::Workspace > MantidQt::MantidWidgets::FitPropertyBrowser::getWorkspace | ( | ) | const |
Get the workspace.
Definition at line 1076 of file FitPropertyBrowser.cpp.
References workspaceName().
Referenced by MantidQt::MantidWidgets::PropertyHandler::calcBase(), doFit(), MantidQt::MantidWidgets::PropertyHandler::EstimateFwhm(), getAllowedIndex(), getErrColumnName(), getXColumnName(), getXRange(), getYColumnName(), and MantidQt::MantidWidgets::PropertyHandler::setCentre().
|
inline |
Return the Fit menu.
This gives Python access to events emitted by this menu.
Definition at line 289 of file FitPropertyBrowser.h.
| const QStringList & MantidQt::MantidWidgets::FitPropertyBrowser::getWorkspaceNames | ( | ) |
Returns the list of workspaces that are currently been worked on by the fit property browser.
Returns the list of workspace names the fit property browser is working on.
Definition at line 2832 of file FitPropertyBrowser.cpp.
References m_workspaceNames.
| QString MantidQt::MantidWidgets::FitPropertyBrowser::getXColumnName | ( | ) | const |
Get the name of the X column.
Definition at line 1977 of file FitPropertyBrowser.cpp.
References getWorkspace(), m_columnManager, and m_xColumn.
Referenced by doFit().
| QVector< double > MantidQt::MantidWidgets::FitPropertyBrowser::getXRange | ( | ) |
Get the X limits of the workspace.
Definition at line 1949 of file FitPropertyBrowser.cpp.
References getWorkspace(), m_columnManager, m_xColumn, and workspaceIndex().
| QString MantidQt::MantidWidgets::FitPropertyBrowser::getYColumnName | ( | ) | const |
Get the name of the Y column.
Definition at line 1992 of file FitPropertyBrowser.cpp.
References getWorkspace(), m_columnManager, and m_yColumn.
Referenced by doFit().
|
private |
Callback for FunctionFactory update notifications.
Called when the function factory has been updated.
| notice | A Poco notification object |
Definition at line 2328 of file FitPropertyBrowser.cpp.
References functionFactoryUpdateReceived().
|
private |
Does a parameter have a tie.
Does a parameter have a tie, is fixed, or has bounds.
| parProp | :: The property for a function parameter |
| hasTie | :: Parameter has a tie |
| hasFix | :: Parameter is fixed |
| hasBounds | :: Parameter has bounds |
Definition at line 2292 of file FitPropertyBrowser.cpp.
Referenced by popupMenu().
| double MantidQt::MantidWidgets::FitPropertyBrowser::height | ( | ) | const |
Height of the current peak.
Definition at line 1536 of file FitPropertyBrowser.cpp.
References m_currentHandler, and MantidQt::MantidWidgets::PropertyHandler::pfun().
|
overrideprotected |
actions to do before the browser is hidden
Disconnect from the AnalysisDataService when hiden.
Definition at line 1800 of file FitPropertyBrowser.cpp.
References setADSObserveEnabled().
| bool MantidQt::MantidWidgets::FitPropertyBrowser::ignoreInvalidData | ( | ) | const |
Get the ignore invalid data option.
Definition at line 1178 of file FitPropertyBrowser.cpp.
References m_boolManager, and m_ignoreInvalidData.
Referenced by doFit().
|
virtual |
Initialise layout.
Initialise the fit property browser.
Reimplemented in MantidQt::MantidWidgets::MuonFitPropertyBrowser.
Definition at line 149 of file FitPropertyBrowser.cpp.
References addDoubleProperty(), createEditors(), initLayout(), m_boolManager, m_browser, m_columnManager, m_convolveMembers, m_costFunction, m_costFunctions, m_endX, m_enumManager, m_errColumn, m_evaluationType, m_evaluationTypes, m_excludeRange, m_functionsGroup, m_groupManager, m_ignoreInvalidData, m_intManager, m_mantidui, m_maxIterations, m_minimizer, m_minimizers, m_output, m_parameterManager, m_peakRadius, m_plotCompositeMembers, m_plotDiff, m_settingsGroup, m_showParamErrors, m_startX, m_stringManager, m_workspace, m_workspaceIndex, m_xColumn, m_yColumn, setIgnoreInvalidData(), updateDecimals(), and xRangeChanged().
|
protected |
Initialise the layout, except for the fit button in the menu bar.
This initialization includes:
| w | widget parenting the action menus and the property tree browser |
Definition at line 331 of file FitPropertyBrowser.cpp.
References boolChanged(), changeWindowTitle(), clearFitResultStatus(), columnChanged(), createCompositeFunction(), createFitMenuButton(), currentItemChanged(), doubleChanged(), enumChanged(), executeDisplayMenu(), executePeakFindingAlgMenu(), executeSetupManageMenu(), executeSetupMenu(), fitResultsChanged(), functionChanged(), functionFactoryUpdateReceived(), intChanged(), itemDoubleClicked(), m_boolManager, m_browser, m_changeSlotsEnabled, m_columnManager, m_displayActionClearAll, m_displayActionPlotGuess, m_displayActionQuality, m_doubleManager, m_enumManager, m_filenameManager, m_formulaManager, m_groupManager, m_intManager, m_parameterManager, m_setupActionCustomSetup, m_setupActionRemove, m_status, m_stringManager, m_tip, m_updateObserver, m_vectorDoubleManager, m_vectorSizeManager, m_workspaceLabel, m_wsListWidget, multifitFinished(), parameterChanged(), populateFunctionNames(), popupMenu(), processMultiBGResults(), showFitResultStatus(), stringChanged(), updateSetupMenus(), updateStructureTooltips(), vectorDoubleChanged(), vectorSizeChanged(), and workspaceDoubleClicked().
Referenced by initLayout().
|
protected |
Initialise the layout.
This initialization includes:
| w | widget parenting the action menus and the property tree browser |
Definition at line 267 of file FitPropertyBrowser.cpp.
References initBasicLayout().
Referenced by init().
|
protectedvirtualslot |
Called when an int property changed.
| prop | :: A pointer to the property |
Definition at line 1316 of file FitPropertyBrowser.cpp.
References enactAttributeChange(), MantidQt::MantidWidgets::PropertyHandler::findHandler(), getAllowedIndex(), getHandler(), index, m_changeSlotsEnabled, m_compositeFunction, m_intManager, m_maxIterations, m_oldWorkspaceIndex, m_peakRadius, m_workspaceIndex, sendParameterChanged(), MantidQt::MantidWidgets::PropertyHandler::setAttribute(), MantidQt::MantidWidgets::PropertyHandler::setFunctionWorkspace(), setWorkspaceIndex(), updatePlotSpectrum(), workspaceIndex(), and workspaceIndexChanged().
Referenced by addAllowedSpectra(), enumChanged(), and initBasicLayout().
|
inline |
Definition at line 245 of file FitPropertyBrowser.h.
| bool MantidQt::MantidWidgets::FitPropertyBrowser::isFitEnabled | ( | ) | const |
Returns true if the function is ready for a fit.
Definition at line 2146 of file FitPropertyBrowser.cpp.
References m_fitActionFit.
Referenced by popupMenu().
| bool MantidQt::MantidWidgets::FitPropertyBrowser::isHistogramFit | ( | ) | const |
Get "HistogramFit" option.
Definition at line 1195 of file FitPropertyBrowser.cpp.
References m_enumManager, m_evaluationType, and m_evaluationTypes.
Referenced by MantidQt::MantidWidgets::SequentialFitDialog::accept(), and doFit().
| bool MantidQt::MantidWidgets::FitPropertyBrowser::isParameterExplicitlySetOf | ( | const QString & | prefix, |
| const std::string & | param | ||
| ) |
Definition at line 3375 of file FitPropertyBrowser.cpp.
References getPeakHandler().
| bool MantidQt::MantidWidgets::FitPropertyBrowser::isPeak | ( | ) | const |
Is the current function a peak?
Definition at line 1914 of file FitPropertyBrowser.cpp.
References count(), m_currentHandler, and MantidQt::MantidWidgets::PropertyHandler::pfun().
| bool MantidQt::MantidWidgets::FitPropertyBrowser::isUndoEnabled | ( | ) | const |
Tells if undo can be done.
Definition at line 2135 of file FitPropertyBrowser.cpp.
References compositeFunction(), and m_initialParameters.
Referenced by popupMenu().
|
privatevirtual |
Check if the workspace can be used in the fit.
The accepted types are MatrixWorkspaces or TableWorkspaces
| ws | :: The workspace |
Reimplemented in MantidQt::MantidWidgets::MuonFitPropertyBrowser.
Definition at line 1908 of file FitPropertyBrowser.cpp.
Referenced by addHandle(), and populateWorkspaceNames().
|
signal |
Referenced by initBasicLayout().
|
privateslot |
Definition at line 2583 of file FitPropertyBrowser.cpp.
References loadFunction(), and name.
Referenced by executeCustomSetupLoad(), loadFunction(), loadFunctionFromString(), popupMenu(), and setupMultifit().
| void MantidQt::MantidWidgets::FitPropertyBrowser::loadFunction | ( | const QString & | funcString | ) |
Load function.
Definition at line 2607 of file FitPropertyBrowser.cpp.
References clearBrowser(), createCompositeFunction(), functionLoaded(), getHandler(), m_auto_back, and MantidQt::MantidWidgets::PropertyHandler::removeAllPlots().
|
privateslot |
Definition at line 2599 of file FitPropertyBrowser.cpp.
References loadFunction().
Referenced by executeSetupManageMenu().
| int MantidQt::MantidWidgets::FitPropertyBrowser::maxIterations | ( | ) | const |
Get the max number of iterations.
Definition at line 1204 of file FitPropertyBrowser.cpp.
References m_intManager, and m_maxIterations.
Referenced by MantidQt::MantidWidgets::SequentialFitDialog::accept(), and doFit().
| std::string MantidQt::MantidWidgets::FitPropertyBrowser::minimizer | ( | bool | withProperties = false | ) | const |
Get the minimizer.
Definition at line 1147 of file FitPropertyBrowser.cpp.
References m_boolManager, m_doubleManager, m_enumManager, m_intManager, m_minimizer, m_minimizerProperties, m_minimizers, m_stringManager, and value.
Referenced by MantidQt::MantidWidgets::SequentialFitDialog::accept(), doFit(), and minimizerChanged().
|
protected |
Called when the minimizer changes. Creates minimizes's properties.
================================================================================================= Called when the minimizer changes.
Creates minimizes's properties.
Definition at line 3116 of file FitPropertyBrowser.cpp.
References addDoubleProperty(), m_boolManager, m_doubleManager, m_intManager, m_minimizerProperties, m_settingsGroup, m_stringManager, and minimizer().
Referenced by enumChanged().
|
protected |
Definition at line 3238 of file FitPropertyBrowser.cpp.
References m_fitMenu.
|
signal |
Referenced by finishHandle(), and initBasicLayout().
|
inline |
Set if the data must be normalised before fitting.
Definition at line 179 of file FitPropertyBrowser.h.
|
delete |
|
virtual |
Get the output name.
Reimplemented in MantidQt::MantidWidgets::MuonFitPropertyBrowser.
Definition at line 1139 of file FitPropertyBrowser.cpp.
References m_output, and m_stringManager.
Referenced by MantidQt::MantidWidgets::SequentialFitDialog::accept(), addFitResultWorkspacesToTableWidget(), doFit(), and stringChanged().
|
signal |
Referenced by initBasicLayout(), setCentre(), setFwhm(), and setHeight().
|
privateslot |
Called when one of the parameter values gets changed.
This could be caused either by user setting the value or programmatically.
| prop | :: Parameter property which value got changed |
Definition at line 1425 of file FitPropertyBrowser.cpp.
References getHandler(), m_changeSlotsEnabled, and MantidQt::MantidWidgets::PropertyHandler::setParameter().
|
privateslot |
Paste a function string from the clipboard.
Definition at line 2630 of file FitPropertyBrowser.cpp.
References createCompositeFunction().
| bool MantidQt::MantidWidgets::FitPropertyBrowser::plotCompositeMembers | ( | ) | const |
Returns true if a composite's member functions should be plotted also.
Definition at line 2811 of file FitPropertyBrowser.cpp.
References m_boolManager, and m_plotCompositeMembers.
|
signal |
Referenced by addAutoBackground(), and plotGuessCurrent().
| bool MantidQt::MantidWidgets::FitPropertyBrowser::plotDiff | ( | ) | const |
Returns true if the difference plot should be drawn.
Definition at line 2808 of file FitPropertyBrowser.cpp.
References m_boolManager, and m_plotDiff.
|
signal |
Referenced by plotGuessAll().
|
privateslot |
Slot.
Sends a signal to plot the guess for the whole function
Definition at line 2426 of file FitPropertyBrowser.cpp.
References plotGuess().
Referenced by plotOrRemoveGuessAll(), and popupMenu().
|
privateslot |
Slot.
Sends a signal to plot the guess for the current (selected) function
Definition at line 2421 of file FitPropertyBrowser.cpp.
References plotCurrentGuess().
Referenced by popupMenu().
|
privateslot |
Definition at line 2439 of file FitPropertyBrowser.cpp.
References getHandler(), plotGuessAll(), and removeGuessAll().
Referenced by executeDisplayMenu().
|
protectedvirtual |
Populate the fit button.
This initialization includes:
| fitMapper | the QMap to the fit mapper |
| fitMenu | the QMenu for the fit button |
Definition at line 297 of file FitPropertyBrowser.cpp.
References m_fitActionEvaluate, m_fitActionFit, m_fitActionSeqFit, and m_fitActionUndoFit.
Referenced by createFitMenuButton().
|
protectedvirtualslot |
Get the registered function names.
Reimplemented in MantidQt::MantidWidgets::MuonFitPropertyBrowser.
Definition at line 1215 of file FitPropertyBrowser.cpp.
References Mantid::API::g_log, m_registeredBackgrounds, m_registeredFunctions, m_registeredOther, m_registeredPeaks, and Mantid::Kernel::Logger::warning().
Referenced by initBasicLayout().
|
protected |
Get and store available workspace names.
Definition at line 1759 of file FitPropertyBrowser.cpp.
References isWorkspaceValid(), m_allowedSpectra, m_allowedTableWorkspace, m_enumManager, m_workspace, m_workspaceNames, name, and setWorkspaceIndex().
Referenced by addAllowedSpectra(), setWorkspaceName(), and showEvent().
|
privateslot |
Definition at line 823 of file FitPropertyBrowser.cpp.
References addBothBounds(), addBothBounds10(), addBothBounds50(), addFixTie(), addFunction(), addLowerBound(), addLowerBound10(), addLowerBound50(), addTie(), addTieToFunction(), addUpperBound(), addUpperBound10(), addUpperBound50(), browserHelp(), clear(), copy(), count(), deleteFunction(), deleteTie(), MantidQt::MantidWidgets::PropertyHandler::findCompositeFunction(), MantidQt::MantidWidgets::PropertyHandler::findFunction(), MantidQt::MantidWidgets::PropertyHandler::findHandler(), fit(), functionHelp(), getHandler(), hasConstraints(), MantidQt::MantidWidgets::PropertyHandler::hasPlot(), isFitEnabled(), MantidQt::MantidWidgets::PropertyHandler::isParameter(), isUndoEnabled(), loadFunction(), m_browser, m_compositeFunction, m_functionsGroup, m_peakToolOn, m_settingsGroup, plotGuessAll(), plotGuessCurrent(), removeBounds(), removeGuessAll(), removeGuessCurrent(), saveFunction(), setupMultifit(), undoFit(), and workspaceName().
Referenced by initBasicLayout().
|
overridevirtual |
workspace was removed
Reimplemented from MantidQt::API::WorkspaceObserver.
Definition at line 1842 of file FitPropertyBrowser.cpp.
References removeWorkspace().
|
privateslot |
Process and create some output if it is a MultiBG fit.
Definition at line 2872 of file FitPropertyBrowser.cpp.
References compositeFunction(), getFunctionAtIndex(), group, Mantid::Kernel::SingletonHolder< T >::Instance(), name, and workspaceName().
Referenced by initBasicLayout().
|
overridevirtual |
Returns true if the fit should be done against binned (bunched) data.
Implements MantidQt::MantidWidgets::IWorkspaceFitControl.
Definition at line 2813 of file FitPropertyBrowser.cpp.
References m_boolManager, and m_rawData.
| void MantidQt::MantidWidgets::FitPropertyBrowser::refitAutoBackground | ( | ) |
Definition at line 2701 of file FitPropertyBrowser.cpp.
References MantidQt::MantidWidgets::PropertyHandler::fit(), and m_autoBackground.
|
inline |
Return a list of registered backgrounds.
Definition at line 213 of file FitPropertyBrowser.h.
|
inline |
Return a list of registered functions.
Definition at line 209 of file FitPropertyBrowser.h.
|
inline |
Return a list of registered other functions.
Definition at line 215 of file FitPropertyBrowser.h.
|
inline |
Return a list of registered peaks.
Definition at line 211 of file FitPropertyBrowser.h.
|
privateslot |
Slot.Removes lower and upper bounds from the selected parameter property.
Definition at line 2408 of file FitPropertyBrowser.cpp.
References MantidQt::MantidWidgets::PropertyHandler::findHandler(), getHandler(), m_browser, and MantidQt::MantidWidgets::PropertyHandler::removeConstraint().
Referenced by popupMenu().
|
signal |
Referenced by removeGuessCurrent().
|
signal |
Referenced by clearAllPlots().
|
virtual |
Removes the function held by the property handler.
Definition at line 717 of file FitPropertyBrowser.cpp.
References compositeFunction(), functionChanged(), functionRemoved(), getHandler(), MantidQt::MantidWidgets::PropertyHandler::removeFunction(), and removePlotSignal().
Referenced by deleteFunction().
|
signal |
Referenced by removeGuessAll().
|
privateslot |
Slot.
Sends a signal to remove the guess for the whole function
Definition at line 2437 of file FitPropertyBrowser.cpp.
References removeGuess().
Referenced by plotOrRemoveGuessAll(), and popupMenu().
|
privateslot |
Slot.
Sends a signal to remove the guess for the current (selected) function
Definition at line 2432 of file FitPropertyBrowser.cpp.
References removeCurrentGuess().
Referenced by popupMenu().
|
signal |
|
virtualslot |
Function to toggle the visibility of a settings group property exposed to python.
Definition at line 3075 of file FitPropertyBrowser.cpp.
References m_settingsGroup.
| void MantidQt::MantidWidgets::FitPropertyBrowser::removeWorkspace | ( | const std::string & | wsName | ) |
Definition at line 1844 of file FitPropertyBrowser.cpp.
References m_enumManager, m_workspace, m_workspaceLabel, m_workspaceNames, m_wsListWidget, and workspaceName().
Referenced by postDeleteHandle(), and removeWorkspaceAndSpectra().
| void MantidQt::MantidWidgets::FitPropertyBrowser::removeWorkspaceAndSpectra | ( | const std::string & | wsName | ) |
Definition at line 3274 of file FitPropertyBrowser.cpp.
References m_allowedSpectra, and removeWorkspace().
|
overridevirtual |
Handler of the Rename notifications.
Could be overriden in inherited classes. The default handler is provided (doing nothing).
| oldName | :: The old name of a workspace |
| newName | :: The new name of a workspace |
Reimplemented from MantidQt::API::WorkspaceObserver.
Definition at line 1879 of file FitPropertyBrowser.cpp.
References m_allowedSpectra, m_enumManager, m_workspace, m_workspaceNames, m_wsListWidget, and workspaceChange().
|
privateslot |
reset the function part, renew function, all handlers are new
Definition at line 2636 of file FitPropertyBrowser.cpp.
References clearBrowser(), createCompositeFunction(), and theFunction().
Referenced by MantidQt::MantidWidgets::PropertyHandler::addFunction().
|
privateslot |
Definition at line 2560 of file FitPropertyBrowser.cpp.
References saveFunction().
Referenced by executeSetupManageMenu(), popupMenu(), and saveFunction().
| void MantidQt::MantidWidgets::FitPropertyBrowser::saveFunction | ( | const QString & | fnName | ) |
save function
Definition at line 2569 of file FitPropertyBrowser.cpp.
References theFunction(), and updateSetupMenus().
|
inline |
Definition at line 238 of file FitPropertyBrowser.h.
Referenced by intChanged(), and MantidQt::MantidWidgets::PropertyHandler::setParameter().
|
inline |
Definition at line 241 of file FitPropertyBrowser.h.
|
virtualslot |
Definition at line 2733 of file FitPropertyBrowser.cpp.
References m_mantidui, SequentialFitDialog, and workspaceName().
Referenced by executeFitMenu().
|
signal |
|
inline |
Definition at line 320 of file FitPropertyBrowser.h.
Referenced by MantidQt::MantidWidgets::SequentialFitDialog::finishHandle().
| void MantidQt::MantidWidgets::FitPropertyBrowser::setADSObserveEnabled | ( | bool | enabled | ) |
Definition at line 1805 of file FitPropertyBrowser.cpp.
References MantidQt::API::WorkspaceObserver::observeAdd(), MantidQt::API::WorkspaceObserver::observePostDelete(), and MantidQt::API::WorkspaceObserver::observeRename().
Referenced by hideEvent(), and showEvent().
| void MantidQt::MantidWidgets::FitPropertyBrowser::setAutoBackgroundName | ( | const QString & | aName | ) |
Remember a background function name to be used for creating auto-background.
| aName | :: A name of the auto-background. The may be followed by function attributes as name=value pairs separated by spaces. |
Definition at line 2713 of file FitPropertyBrowser.cpp.
References m_auto_back, m_autoBgAttributes, m_autoBgName, and name.
Referenced by FitPropertyBrowser().
| void MantidQt::MantidWidgets::FitPropertyBrowser::setCentre | ( | double | value | ) |
Set centre of the current peak.
| value | :: The new centre value |
Definition at line 1527 of file FitPropertyBrowser.cpp.
References Mantid::API::FunctionHandler::function(), m_currentHandler, parameterChanged(), MantidQt::MantidWidgets::PropertyHandler::setCentre(), MantidQt::MantidWidgets::PropertyHandler::updateParameters(), and value.
|
private |
Set new current function.
| f | :: New current function |
Definition at line 1593 of file FitPropertyBrowser.cpp.
References getHandler(), and setCurrentFunction().
| void MantidQt::MantidWidgets::FitPropertyBrowser::setCurrentFunction | ( | PropertyHandler * | h | ) | const |
Set new current function.
| h | :: New current function |
Definition at line 1582 of file FitPropertyBrowser.cpp.
References currentChanged(), MantidQt::MantidWidgets::PropertyHandler::item(), m_browser, and m_currentHandler.
Referenced by addAutoBackground(), MantidQt::MantidWidgets::PropertyHandler::addFunction(), createCompositeFunction(), enumChanged(), and setCurrentFunction().
| void MantidQt::MantidWidgets::FitPropertyBrowser::setDecimals | ( | int | d | ) |
Definition at line 2800 of file FitPropertyBrowser.cpp.
References Mantid::Geometry::d, m_decimals, and updateDecimals().
| void MantidQt::MantidWidgets::FitPropertyBrowser::setDefaultBackgroundType | ( | const std::string & | fnType | ) |
Set the default background type.
Definition at line 1071 of file FitPropertyBrowser.cpp.
References m_defaultBackground, and setDefaultFunctionType().
Referenced by MantidQt::MantidWidgets::PropertyHandler::addFunction(), and MantidQt::MantidWidgets::PropertyHandler::changeType().
| void MantidQt::MantidWidgets::FitPropertyBrowser::setDefaultFunctionType | ( | const std::string & | fnType | ) |
Set the default function type.
Definition at line 1052 of file FitPropertyBrowser.cpp.
References m_defaultFunction.
Referenced by setDefaultBackgroundType(), and setDefaultPeakType().
| void MantidQt::MantidWidgets::FitPropertyBrowser::setDefaultPeakType | ( | const std::string & | fnType | ) |
Set the default peak type.
Definition at line 1064 of file FitPropertyBrowser.cpp.
References m_defaultPeak, and setDefaultFunctionType().
Referenced by MantidQt::MantidWidgets::PropertyHandler::addFunction(), MantidQt::MantidWidgets::PropertyHandler::changeType(), and defaultPeakType().
|
overridevirtual |
Set the end X.
Implements MantidQt::MantidWidgets::IWorkspaceFitControl.
Definition at line 1931 of file FitPropertyBrowser.cpp.
References m_doubleManager, m_endX, and value.
Referenced by setWorkspaceName().
|
virtual |
Enable/disable the Fit buttons;.
Reimplemented in MantidQt::MantidWidgets::MuonFitPropertyBrowser.
Definition at line 2140 of file FitPropertyBrowser.cpp.
References m_fitActionFit, and m_fitActionSeqFit.
Referenced by MantidQt::MantidWidgets::PropertyHandler::addFunction(), createCompositeFunction(), and MantidQt::MantidWidgets::PropertyHandler::removeFunction().
| void MantidQt::MantidWidgets::FitPropertyBrowser::setFwhm | ( | double | value | ) |
Set width of the current peak.
| value | :: The new width value |
Definition at line 1565 of file FitPropertyBrowser.cpp.
References Mantid::API::FunctionHandler::function(), m_currentHandler, parameterChanged(), MantidQt::MantidWidgets::PropertyHandler::setFwhm(), MantidQt::MantidWidgets::PropertyHandler::updateParameters(), and value.
| void MantidQt::MantidWidgets::FitPropertyBrowser::setHeight | ( | double | value | ) |
Set height of the current peak.
| value | :: The new height value |
Definition at line 1546 of file FitPropertyBrowser.cpp.
References Mantid::API::FunctionHandler::function(), m_currentHandler, parameterChanged(), MantidQt::MantidWidgets::PropertyHandler::setHeight(), MantidQt::MantidWidgets::PropertyHandler::updateParameters(), and value.
| void MantidQt::MantidWidgets::FitPropertyBrowser::setIgnoreInvalidData | ( | bool | on | ) |
Set the ignore invalid data option.
Definition at line 1181 of file FitPropertyBrowser.cpp.
References m_boolManager, and m_ignoreInvalidData.
Referenced by init().
| void MantidQt::MantidWidgets::FitPropertyBrowser::setOutputName | ( | const std::string & | name | ) |
Set the output name.
Definition at line 1142 of file FitPropertyBrowser.cpp.
References m_output, m_stringManager, and name.
Referenced by stringChanged().
| void MantidQt::MantidWidgets::FitPropertyBrowser::setPeakCentreOf | ( | const QString & | prefix, |
| double | value | ||
| ) |
Definition at line 3332 of file FitPropertyBrowser.cpp.
References getPeakHandler(), and value.
| void MantidQt::MantidWidgets::FitPropertyBrowser::setPeakFwhmOf | ( | const QString & | prefix, |
| double | value | ||
| ) |
Definition at line 3354 of file FitPropertyBrowser.cpp.
References getPeakHandler(), and value.
| void MantidQt::MantidWidgets::FitPropertyBrowser::setPeakHeightOf | ( | const QString & | prefix, |
| double | value | ||
| ) |
Definition at line 3343 of file FitPropertyBrowser.cpp.
References getPeakHandler(), and value.
|
slot |
Definition at line 2780 of file FitPropertyBrowser.cpp.
References m_displayActionPlotGuess, and m_peakToolOn.
|
overridevirtual |
Set the start X.
Implements MantidQt::MantidWidgets::IWorkspaceFitControl.
Definition at line 1925 of file FitPropertyBrowser.cpp.
References m_doubleManager, m_startX, and value.
Referenced by setWorkspaceName().
|
private |
Set a value to a string property.
| prop | :: A pointer to the property |
| value | :: New value for the property |
Definition at line 2507 of file FitPropertyBrowser.cpp.
References value.
Referenced by MantidQt::MantidWidgets::CreateAttributeProperty::apply(), and MantidQt::MantidWidgets::SetAttributeProperty::apply().
| void MantidQt::MantidWidgets::FitPropertyBrowser::setTextPlotGuess | ( | const QString & | text | ) |
alter text of Plot Guess
Definition at line 2815 of file FitPropertyBrowser.cpp.
References m_displayActionPlotGuess.
| void MantidQt::MantidWidgets::FitPropertyBrowser::setTip | ( | const QString & | txt | ) |
Display a tip.
| txt | :: The text to display |
Definition at line 2338 of file FitPropertyBrowser.cpp.
References m_tip.
|
privateslot |
Call MultifitSetupDialog to populate MultiBG function.
Definition at line 2837 of file FitPropertyBrowser.cpp.
References endX(), getFunctionAtIndex(), loadFunction(), startX(), and workspaceName().
Referenced by popupMenu().
|
protected |
Sets the workspace to a function.
Definition at line 2643 of file FitPropertyBrowser.cpp.
References endX(), startX(), workspaceIndex(), and workspaceName().
Referenced by MantidQt::MantidWidgets::PropertyHandler::addFunction(), createCompositeFunction(), doubleChanged(), and setXRange().
|
overridevirtual |
Set workspace index.
Implements MantidQt::MantidWidgets::IWorkspaceFitControl.
Definition at line 1129 of file FitPropertyBrowser.cpp.
References getAllowedIndex(), index, m_intManager, and m_workspaceIndex.
Referenced by intChanged(), populateWorkspaceNames(), setWorkspaceName(), and setWorkspaceProperties().
|
overridevirtual |
Set the input workspace name.
Implements MantidQt::MantidWidgets::IWorkspaceFitControl.
Reimplemented in MantidQt::MantidWidgets::MuonFitPropertyBrowser.
Definition at line 1098 of file FitPropertyBrowser.cpp.
References m_enumManager, m_workspace, m_workspaceNames, populateWorkspaceNames(), setEndX(), setStartX(), setWorkspaceIndex(), and workspaceIndex().
|
protected |
Display properties relevant to the selected workspace.
Display properties relevant to the selected workspace: WorkspaceIndex, StartX, and EndX for a MatrixWorkspace; XColumn, YColumn, and ErrColumn for a TableWorkspace.
Definition at line 2946 of file FitPropertyBrowser.cpp.
References addWorkspaceIndexToBrowser(), m_browser, m_columnManager, m_customSettingsGroup, m_errColumn, m_evaluationType, m_settingsGroup, m_storedWorkspaceName, m_workspace, m_workspaceIndex, m_xColumn, m_yColumn, name, setWorkspaceIndex(), workspaceName(), and Mantid::Geometry::x.
Referenced by enumChanged().
| void MantidQt::MantidWidgets::FitPropertyBrowser::setXRange | ( | double | start, |
| double | end | ||
| ) |
Set both start and end X.
Definition at line 1933 of file FitPropertyBrowser.cpp.
References doubleChanged(), getHandler(), m_compositeFunction, m_doubleManager, m_endX, m_startX, MantidQt::MantidWidgets::PropertyHandler::setAttribute(), and setWorkspace().
|
overrideprotected |
actions to do before the browser made visible
Connect to the AnalysisDataService when shown.
Definition at line 1788 of file FitPropertyBrowser.cpp.
References populateWorkspaceNames(), and setADSObserveEnabled().
|
privateslot |
Display the status string returned from Fit.
| status | :: A status string as returned by OutputStatus Fit property. |
Definition at line 1740 of file FitPropertyBrowser.cpp.
References m_status.
Referenced by initBasicLayout().
| int MantidQt::MantidWidgets::FitPropertyBrowser::sizeOfFunctionsGroup | ( | ) | const |
Definition at line 3246 of file FitPropertyBrowser.cpp.
| double MantidQt::MantidWidgets::FitPropertyBrowser::startX | ( | ) | const |
Get the start X.
Definition at line 1922 of file FitPropertyBrowser.cpp.
References m_doubleManager, and m_startX.
Referenced by MantidQt::MantidWidgets::SequentialFitDialog::accept(), MantidQt::MantidWidgets::PropertyHandler::addFunction(), MantidQt::MantidWidgets::PropertyHandler::centre(), MantidQt::MantidWidgets::PropertyHandler::changeType(), createAndAddFunction(), doFit(), doubleChanged(), MantidQt::MantidWidgets::PropertyHandler::EstimateFwhm(), findPeaks(), MantidQt::MantidWidgets::PropertyHandler::fit(), MantidQt::MantidWidgets::PropertyHandler::setFunctionWorkspace(), setupMultifit(), and setWorkspace().
|
signal |
Referenced by doubleChanged().
|
privateslot |
Called when a string property changed.
| prop | :: A pointer to the property |
Definition at line 1435 of file FitPropertyBrowser.cpp.
References MantidQt::MantidWidgets::PropertyHandler::addTie(), compositeFunction(), MantidQt::MantidWidgets::PropertyHandler::findHandler(), functionChanged(), MantidQt::MantidWidgets::PropertyHandler::functionPrefix(), getHandler(), getOldExpressionAsString(), MantidQt::MantidWidgets::PropertyHandler::getParameterProperty(), m_changeSlotsEnabled, m_guessOutputName, m_output, m_stringManager, outputName(), setOutputName(), and workspaceName().
Referenced by initBasicLayout().
| Mantid::API::IFunction_const_sptr MantidQt::MantidWidgets::FitPropertyBrowser::theFunction | ( | ) | const |
Get the current function.
Definition at line 2522 of file FitPropertyBrowser.cpp.
References m_compositeFunction.
Referenced by copy(), getParameterNames(), getParameterValues(), reset(), and saveFunction().
|
virtualslot |
Function to toggle the visibility of the settings browser.
Definition at line 3063 of file FitPropertyBrowser.cpp.
References m_browser, and m_settingsGroup.
|
virtualslot |
Definition at line 3085 of file FitPropertyBrowser.cpp.
References m_hideWsListWidget.
|
protected |
Catches unexpected not found exceptions.
Definition at line 814 of file FitPropertyBrowser.cpp.
Referenced by createCompositeFunction().
|
slot |
Slot.
Undoes the fit: restores the parameters to their initial values.
Definition at line 2115 of file FitPropertyBrowser.cpp.
References MantidQt::MantidWidgets::PropertyHandler::clearErrors(), clearFitResultStatus(), compositeFunction(), disableUndo(), fitUndone(), getHandler(), m_initialParameters, and updateParameters().
Referenced by executeFitMenu(), and popupMenu().
| void MantidQt::MantidWidgets::FitPropertyBrowser::updateAttributes | ( | ) |
Update the function attributes.
Update the function attributes which have changed.
Definition at line 2083 of file FitPropertyBrowser.cpp.
References getHandler(), and MantidQt::MantidWidgets::PropertyHandler::updateAttributes().
|
protected |
Set the parameters to the fit outcome.
Definition at line 2103 of file FitPropertyBrowser.cpp.
References compositeFunction(), getHandler(), MantidQt::MantidWidgets::PropertyHandler::updateErrors(), and updateParameters().
Referenced by finishHandle().
|
protected |
impose a number of decimal places on all defined Double properties
Definition at line 2788 of file FitPropertyBrowser.cpp.
References m_decimals, and m_doubleManager.
Referenced by init(), and setDecimals().
| void MantidQt::MantidWidgets::FitPropertyBrowser::updateParameters | ( | ) |
Update the function parameters.
Update the function parameter properties.
Definition at line 2078 of file FitPropertyBrowser.cpp.
References getHandler(), and MantidQt::MantidWidgets::PropertyHandler::updateParameters().
Referenced by MantidQt::MantidWidgets::SequentialFitDialog::getFitResults(), undoFit(), and updateBrowserFromFitResults().
|
signal |
Referenced by intChanged().
|
private |
Update setup menus according to how these are set in settings.
Definition at line 580 of file FitPropertyBrowser.cpp.
References executeCustomSetupLoad(), executeCustomSetupRemove(), m_setupActionCustomSetup, and m_setupActionRemove.
Referenced by executeClearCustomSetups(), executeCustomSetupRemove(), initBasicLayout(), and saveFunction().
|
privateslot |
Update structure tooltips for all functions.
Recursively updates structure tooltips for all the functions.
Definition at line 637 of file FitPropertyBrowser.cpp.
References getHandler(), and MantidQt::MantidWidgets::PropertyHandler::updateStructureTooltip().
Referenced by initBasicLayout().
|
privateslot |
Slot.
Responds to changing a vector attribute member
| prop | :: A property managed by m_vectorDoubleManager. |
Definition at line 2057 of file FitPropertyBrowser.cpp.
References enactAttributeChange(), MantidQt::MantidWidgets::PropertyHandler::findHandler(), and getHandler().
Referenced by initBasicLayout().
|
privateslot |
Slot.
Responds to changing a vector attribute size
| prop | :: A property managed by m_vectorSizeManager. |
Definition at line 2068 of file FitPropertyBrowser.cpp.
References enactAttributeChange(), MantidQt::MantidWidgets::PropertyHandler::findHandler(), and getHandler().
Referenced by initBasicLayout().
|
privatevirtual |
Sets the new workspace to the current one.
Sets a new workspace.
Definition at line 2820 of file FitPropertyBrowser.cpp.
References m_guessOutputName, m_output, m_stringManager, workspaceName(), workspaceNameChanged(), and wsChangePPAssign().
Referenced by enumChanged(), and renameHandle().
|
signal |
Referenced by workspaceDoubleClicked().
|
slot |
Definition at line 543 of file FitPropertyBrowser.cpp.
References workspaceClicked().
Referenced by initBasicLayout().
| int MantidQt::MantidWidgets::FitPropertyBrowser::workspaceIndex | ( | ) | const |
Get workspace index.
Definition at line 1126 of file FitPropertyBrowser.cpp.
References m_intManager, and m_workspaceIndex.
Referenced by MantidQt::MantidWidgets::SequentialFitDialog::accept(), MantidQt::MantidWidgets::PropertyHandler::addFunction(), MantidQt::MantidWidgets::SequentialFitDialog::addWorkspaces(), MantidQt::MantidWidgets::PropertyHandler::calcBase(), MantidQt::MantidWidgets::PropertyHandler::changeType(), createAndAddFunction(), doFit(), MantidQt::MantidWidgets::PropertyHandler::EstimateFwhm(), findPeaks(), MantidQt::MantidWidgets::PropertyHandler::fit(), MantidQt::MantidWidgets::SequentialFitDialog::getFitResults(), getXRange(), intChanged(), MantidQt::MantidWidgets::PropertyHandler::setCentre(), setWorkspace(), and setWorkspaceName().
|
signal |
Referenced by intChanged().
| std::string MantidQt::MantidWidgets::FitPropertyBrowser::workspaceName | ( | ) | const |
Get the input workspace name.
Definition at line 1088 of file FitPropertyBrowser.cpp.
References m_enumManager, m_workspace, and m_workspaceNames.
Referenced by MantidQt::MantidWidgets::SequentialFitDialog::accept(), MantidQt::MantidWidgets::PropertyHandler::addFunction(), addHandle(), MantidQt::MantidWidgets::PropertyHandler::changeType(), columnChanged(), doFit(), enumChanged(), findPeaks(), MantidQt::MantidWidgets::PropertyHandler::fit(), getAllowedIndex(), MantidQt::MantidWidgets::SequentialFitDialog::getFitResults(), getWorkspace(), popupMenu(), processMultiBGResults(), removeWorkspace(), sequentialFit(), setupMultifit(), setWorkspace(), setWorkspaceProperties(), stringChanged(), and workspaceChange().
|
signal |
Referenced by workspaceChange().
|
signal |
Referenced by workspaceChange().
|
signal |
Referenced by doubleChanged(), and init().
|
friend |
Definition at line 707 of file FitPropertyBrowser.h.
|
friend |
Definition at line 706 of file FitPropertyBrowser.h.
|
friend |
Definition at line 710 of file FitPropertyBrowser.h.
Referenced by sequentialFit().
|
friend |
Definition at line 708 of file FitPropertyBrowser.h.
|
friend |
Definition at line 709 of file FitPropertyBrowser.h.
|
private |
If non-empty it contains references to the spectra allowed to be fitted in this browser: keys are workspace names, values are lists of workspace indices.
Definition at line 700 of file FitPropertyBrowser.h.
Referenced by addAllowedSpectra(), addHandle(), getAllowedIndex(), populateWorkspaceNames(), removeWorkspaceAndSpectra(), and renameHandle().
|
private |
If set it contains the table workspace name to be fitted in this browser:
Definition at line 702 of file FitPropertyBrowser.h.
Referenced by addAllowedTableWorkspace(), addHandle(), and populateWorkspaceNames().
|
private |
If true background function will be included automatically.
Definition at line 669 of file FitPropertyBrowser.h.
Referenced by createCompositeFunction(), loadFunction(), and setAutoBackgroundName().
|
private |
The autobackground handler.
Definition at line 678 of file FitPropertyBrowser.h.
Referenced by addAutoBackground(), MantidQt::MantidWidgets::PropertyHandler::calcBase(), MantidQt::MantidWidgets::PropertyHandler::calcBaseAll(), MantidQt::MantidWidgets::PropertyHandler::changeType(), createCompositeFunction(), refitAutoBackground(), MantidQt::MantidWidgets::PropertyHandler::removeFunction(), and MantidQt::MantidWidgets::PropertyHandler::setAttribute().
|
private |
List of attributes of the autobackground function as name=value pairs separated by spaces.
Definition at line 675 of file FitPropertyBrowser.h.
Referenced by addAutoBackground(), and setAutoBackgroundName().
|
private |
Name of the autobackground function.
Definition at line 672 of file FitPropertyBrowser.h.
Referenced by addAutoBackground(), FitPropertyBrowser(), and setAutoBackgroundName().
|
protected |
Definition at line 503 of file FitPropertyBrowser.h.
Referenced by MantidQt::MantidWidgets::SetAttribute::apply(), MantidQt::MantidWidgets::CreateAttributeProperty::apply(), MantidQt::MantidWidgets::SetAttributeProperty::apply(), boolChanged(), convolveMembers(), createEditors(), FitPropertyBrowser(), ignoreInvalidData(), init(), initBasicLayout(), minimizer(), minimizerChanged(), plotCompositeMembers(), plotDiff(), rawData(), setIgnoreInvalidData(), and ~FitPropertyBrowser().
|
protected |
Definition at line 538 of file FitPropertyBrowser.h.
Referenced by acceptFit(), addConstraint(), addFixTie(), addFunction(), addTie(), addTieToFunction(), addWorkspaceIndexToBrowser(), createEditors(), deleteFunction(), deleteTie(), init(), MantidQt::MantidWidgets::PropertyHandler::init(), initBasicLayout(), popupMenu(), removeBounds(), setCurrentFunction(), setWorkspaceProperties(), toggleSettingsBrowserVisible(), and ~FitPropertyBrowser().
|
protected |
If false the change-slots (such as enumChanged(), doubleChanged()) are disabled.
Definition at line 554 of file FitPropertyBrowser.h.
Referenced by MantidQt::MantidWidgets::PropertyHandler::addConstraint(), MantidQt::MantidWidgets::PropertyHandler::addFunction(), MantidQt::MantidWidgets::PropertyHandler::addTie(), MantidQt::MantidWidgets::SetAttributeProperty::apply(), MantidQt::MantidWidgets::SetAttributeProperty::apply(), MantidQt::MantidWidgets::SetAttributeProperty::apply(), MantidQt::MantidWidgets::SetAttributeProperty::apply(), boolChanged(), MantidQt::MantidWidgets::PropertyHandler::changeType(), doubleChanged(), enumChanged(), filenameChanged(), MantidQt::MantidWidgets::PropertyHandler::init(), initBasicLayout(), MantidQt::MantidWidgets::PropertyHandler::initParameters(), intChanged(), parameterChanged(), MantidQt::MantidWidgets::PropertyHandler::removeTie(), MantidQt::MantidWidgets::PropertyHandler::removeTie(), MantidQt::MantidWidgets::PropertyHandler::renameChildren(), and stringChanged().
|
protected |
Definition at line 507 of file FitPropertyBrowser.h.
Referenced by columnChanged(), createEditors(), FitPropertyBrowser(), getErrColumnName(), getXColumnName(), getXRange(), getYColumnName(), init(), initBasicLayout(), setWorkspaceProperties(), and ~FitPropertyBrowser().
|
protected |
A copy of the edited function.
Definition at line 536 of file FitPropertyBrowser.h.
Referenced by MantidQt::MantidWidgets::SequentialFitDialog::accept(), addTieToFunction(), allowSequentialFits(), count(), createCompositeFunction(), deleteTie(), doubleChanged(), enumChanged(), finishHandle(), getFittingFunction(), getFunctionAtIndex(), getHandler(), intChanged(), MantidQt::MantidWidgets::SequentialFitDialog::populateParameters(), popupMenu(), setXRange(), theFunction(), and ~FitPropertyBrowser().
|
protected |
Definition at line 526 of file FitPropertyBrowser.h.
Referenced by convolveMembers(), and init().
|
protected |
Definition at line 520 of file FitPropertyBrowser.h.
Referenced by costFunction(), and init().
|
mutableprotected |
A list of available cost functions.
Definition at line 572 of file FitPropertyBrowser.h.
Referenced by costFunction(), and init().
|
mutableprivate |
Definition at line 650 of file FitPropertyBrowser.h.
Referenced by centre(), currentHandler(), currentItemChanged(), fwhm(), height(), isPeak(), setCentre(), setCurrentFunction(), setFwhm(), and setHeight().
|
protected |
Group for custom options available on muon analysis widget.
Definition at line 550 of file FitPropertyBrowser.h.
Referenced by setWorkspaceProperties().
|
mutableprivate |
A list of available data types.
Definition at line 653 of file FitPropertyBrowser.h.
|
private |
Number of decimal places in double properties.
Definition at line 681 of file FitPropertyBrowser.h.
Referenced by addDoubleProperty(), setDecimals(), and updateDecimals().
|
private |
Default background name.
Definition at line 660 of file FitPropertyBrowser.h.
Referenced by defaultBackgroundType(), FitPropertyBrowser(), and setDefaultBackgroundType().
|
private |
Default function name.
Definition at line 656 of file FitPropertyBrowser.h.
Referenced by defaultFunctionType(), FitPropertyBrowser(), and setDefaultFunctionType().
|
private |
Default peak name.
Definition at line 658 of file FitPropertyBrowser.h.
Referenced by defaultPeakType(), FitPropertyBrowser(), and setDefaultPeakType().
|
private |
Definition at line 623 of file FitPropertyBrowser.h.
Referenced by initBasicLayout().
|
private |
Definition at line 621 of file FitPropertyBrowser.h.
Referenced by initBasicLayout(), setPeakToolOn(), and setTextPlotGuess().
|
private |
Definition at line 622 of file FitPropertyBrowser.h.
Referenced by finishHandle(), and initBasicLayout().
|
protected |
Definition at line 500 of file FitPropertyBrowser.h.
Referenced by MantidQt::MantidWidgets::PropertyHandler::addConstraint(), addDoubleProperty(), MantidQt::MantidWidgets::CreateAttributeProperty::apply(), MantidQt::MantidWidgets::SetAttributeProperty::apply(), MantidQt::MantidWidgets::SetAttribute::apply(), columnChanged(), createEditors(), doubleChanged(), endX(), FitPropertyBrowser(), initBasicLayout(), MantidQt::MantidWidgets::PropertyHandler::initParameters(), minimizer(), minimizerChanged(), setEndX(), setStartX(), setXRange(), startX(), updateDecimals(), and ~FitPropertyBrowser().
|
protected |
Definition at line 516 of file FitPropertyBrowser.h.
Referenced by columnChanged(), doubleChanged(), endX(), init(), setEndX(), and setXRange().
|
protected |
Definition at line 501 of file FitPropertyBrowser.h.
Referenced by addHandle(), addStringListProperty(), MantidQt::MantidWidgets::PropertyHandler::changeType(), costFunction(), createEditors(), enumChanged(), FitPropertyBrowser(), init(), MantidQt::MantidWidgets::PropertyHandler::init(), initBasicLayout(), isHistogramFit(), minimizer(), populateWorkspaceNames(), removeWorkspace(), renameHandle(), MantidQt::MantidWidgets::PropertyHandler::setFunctionWorkspace(), setWorkspaceName(), MantidQt::MantidWidgets::PropertyHandler::updateWorkspaces(), workspaceName(), and ~FitPropertyBrowser().
|
protected |
Definition at line 530 of file FitPropertyBrowser.h.
Referenced by getErrColumnName(), init(), and setWorkspaceProperties().
|
protected |
Definition at line 532 of file FitPropertyBrowser.h.
Referenced by enumChanged(), init(), isHistogramFit(), and setWorkspaceProperties().
|
mutableprotected |
A list of possible function evaluation types.
Definition at line 574 of file FitPropertyBrowser.h.
Referenced by init(), and isHistogramFit().
|
protected |
Definition at line 524 of file FitPropertyBrowser.h.
Referenced by getExcludeRange(), and init().
|
protected |
Definition at line 505 of file FitPropertyBrowser.h.
Referenced by addStringProperty(), createEditors(), FitPropertyBrowser(), initBasicLayout(), and ~FitPropertyBrowser().
|
protected |
Definition at line 543 of file FitPropertyBrowser.h.
Referenced by populateFitMenuButton().
|
protected |
Definition at line 542 of file FitPropertyBrowser.h.
Referenced by isFitEnabled(), populateFitMenuButton(), and setFitEnabled().
|
protected |
Definition at line 541 of file FitPropertyBrowser.h.
Referenced by allowSequentialFits(), populateFitMenuButton(), and setFitEnabled().
|
protected |
Definition at line 540 of file FitPropertyBrowser.h.
Referenced by disableUndo(), doFit(), and populateFitMenuButton().
|
private |
Definition at line 694 of file FitPropertyBrowser.h.
Referenced by finishHandle(), and getFitAlgorithmOutputStatus().
|
private |
Definition at line 693 of file FitPropertyBrowser.h.
Referenced by doFit(), and getFitAlgorithmParameters().
|
private |
Make sure m_groupMember belongs to the group.
Fit and Display menu
Definition at line 619 of file FitPropertyBrowser.h.
Referenced by createFitMenuButton().
|
private |
Definition at line 620 of file FitPropertyBrowser.h.
Referenced by createFitMenuButton(), and modifyFitMenu().
|
private |
Definition at line 637 of file FitPropertyBrowser.h.
Referenced by acceptFit(), addFunction(), and closeFit().
|
private |
Definition at line 639 of file FitPropertyBrowser.h.
|
protected |
Definition at line 506 of file FitPropertyBrowser.h.
Referenced by addStringProperty(), createEditors(), FitPropertyBrowser(), initBasicLayout(), and ~FitPropertyBrowser().
|
protected |
Group for functions.
Definition at line 546 of file FitPropertyBrowser.h.
Referenced by clearBrowser(), init(), MantidQt::MantidWidgets::PropertyHandler::init(), and popupMenu().
|
protected |
Property managers:
Definition at line 499 of file FitPropertyBrowser.h.
Referenced by FitPropertyBrowser(), init(), MantidQt::MantidWidgets::PropertyHandler::init(), and initBasicLayout().
|
protected |
if true the output name will be guessed every time workspace name is changeed
Definition at line 557 of file FitPropertyBrowser.h.
Referenced by stringChanged(), and workspaceChange().
|
private |
bool to display ws list or not
Definition at line 666 of file FitPropertyBrowser.h.
Referenced by addFitResultWorkspacesToTableWidget(), and toggleWsListVisible().
|
protected |
Definition at line 519 of file FitPropertyBrowser.h.
Referenced by boolChanged(), ignoreInvalidData(), init(), and setIgnoreInvalidData().
|
protected |
To keep a copy of the initial parameters in case for undo fit.
Definition at line 577 of file FitPropertyBrowser.h.
Referenced by disableUndo(), doFit(), isUndoEnabled(), and undoFit().
|
protected |
Definition at line 502 of file FitPropertyBrowser.h.
Referenced by MantidQt::MantidWidgets::CreateAttributeProperty::apply(), MantidQt::MantidWidgets::SetAttributeProperty::apply(), MantidQt::MantidWidgets::SetAttribute::apply(), createEditors(), fit(), FitPropertyBrowser(), getPeakRadius(), init(), initBasicLayout(), intChanged(), maxIterations(), minimizer(), minimizerChanged(), MantidQt::MantidWidgets::PropertyHandler::setFunctionWorkspace(), setWorkspaceIndex(), workspaceIndex(), and ~FitPropertyBrowser().
|
private |
holds effectively a MantidUI for connecting
Definition at line 684 of file FitPropertyBrowser.h.
Referenced by init(), and sequentialFit().
|
protected |
Definition at line 521 of file FitPropertyBrowser.h.
Referenced by fit(), init(), intChanged(), and maxIterations().
|
protected |
Definition at line 518 of file FitPropertyBrowser.h.
Referenced by enumChanged(), init(), and minimizer().
|
protected |
Definition at line 533 of file FitPropertyBrowser.h.
Referenced by minimizer(), and minimizerChanged().
|
mutableprotected |
A list of available minimizers.
Definition at line 568 of file FitPropertyBrowser.h.
Referenced by init(), and minimizer().
|
private |
Store workspace index to revert to in case validation fails.
Definition at line 704 of file FitPropertyBrowser.h.
Referenced by getAllowedIndex(), and intChanged().
|
protected |
Definition at line 517 of file FitPropertyBrowser.h.
Referenced by init(), outputName(), setOutputName(), stringChanged(), and workspaceChange().
|
protected |
Definition at line 511 of file FitPropertyBrowser.h.
Referenced by boolChanged(), MantidQt::MantidWidgets::PropertyHandler::clearError(), createEditors(), FitPropertyBrowser(), MantidQt::MantidWidgets::PropertyHandler::fix(), init(), initBasicLayout(), MantidQt::MantidWidgets::PropertyHandler::initParameters(), MantidQt::MantidWidgets::PropertyHandler::setParameter(), MantidQt::MantidWidgets::PropertyHandler::updateError(), MantidQt::MantidWidgets::PropertyHandler::updateParameter(), and ~FitPropertyBrowser().
|
protected |
Definition at line 522 of file FitPropertyBrowser.h.
Referenced by getPeakRadius(), init(), and intChanged().
|
private |
Shows if the PeakPickerTool is on.
Definition at line 663 of file FitPropertyBrowser.h.
Referenced by popupMenu(), and setPeakToolOn().
|
protected |
Definition at line 525 of file FitPropertyBrowser.h.
Referenced by boolChanged(), init(), and plotCompositeMembers().
|
protected |
Definition at line 523 of file FitPropertyBrowser.h.
Referenced by boolChanged(), init(), and plotDiff().
|
protected |
Definition at line 527 of file FitPropertyBrowser.h.
Referenced by rawData().
|
mutableprotected |
A list of registered backgrounds.
Definition at line 564 of file FitPropertyBrowser.h.
Referenced by populateFunctionNames().
|
mutableprotected |
A list of registered functions.
Definition at line 560 of file FitPropertyBrowser.h.
Referenced by MantidQt::MantidWidgets::PropertyHandler::init(), and populateFunctionNames().
|
mutableprotected |
A list of registered functions that are neither peaks nor backgrounds.
Definition at line 566 of file FitPropertyBrowser.h.
Referenced by populateFunctionNames().
|
mutableprotected |
A list of registered peaks.
Definition at line 562 of file FitPropertyBrowser.h.
Referenced by defaultPeakType(), and populateFunctionNames().
|
protected |
Group for input/output settings.
Definition at line 548 of file FitPropertyBrowser.h.
Referenced by addWorkspaceIndexToBrowser(), init(), minimizerChanged(), popupMenu(), removePropertiesFromSettingsBrowser(), setWorkspaceProperties(), and toggleSettingsBrowserVisible().
|
private |
Setup menu.
Definition at line 627 of file FitPropertyBrowser.h.
Referenced by initBasicLayout(), and updateSetupMenus().
|
private |
Definition at line 628 of file FitPropertyBrowser.h.
Referenced by initBasicLayout(), and updateSetupMenus().
|
private |
Should the data be normalised before fitting?
Definition at line 690 of file FitPropertyBrowser.h.
Referenced by doFit().
|
protected |
Definition at line 531 of file FitPropertyBrowser.h.
Referenced by boolChanged(), and init().
|
protected |
Definition at line 515 of file FitPropertyBrowser.h.
Referenced by columnChanged(), doubleChanged(), init(), setStartX(), setXRange(), and startX().
|
private |
To display fit status.
Definition at line 634 of file FitPropertyBrowser.h.
Referenced by clearFitResultStatus(), initBasicLayout(), and showFitResultStatus().
|
private |
store current workspace name
Definition at line 687 of file FitPropertyBrowser.h.
Referenced by enumChanged(), and setWorkspaceProperties().
|
protected |
Definition at line 504 of file FitPropertyBrowser.h.
Referenced by addStringProperty(), MantidQt::MantidWidgets::PropertyHandler::addTie(), createEditors(), FitPropertyBrowser(), getExcludeRange(), init(), initBasicLayout(), minimizer(), minimizerChanged(), outputName(), MantidQt::MantidWidgets::PropertyHandler::renameChildren(), setOutputName(), stringChanged(), workspaceChange(), and ~FitPropertyBrowser().
|
private |
String property managers for special case attributes such as Filename or Formula <attribute_name,string_manager>
Definition at line 648 of file FitPropertyBrowser.h.
|
private |
To display a tip text.
Definition at line 632 of file FitPropertyBrowser.h.
Referenced by createFitMenuButton(), initBasicLayout(), and setTip().
|
private |
Observes algorithm factory update notifications.
Definition at line 613 of file FitPropertyBrowser.h.
Referenced by initBasicLayout(), and ~FitPropertyBrowser().
|
protected |
Definition at line 510 of file FitPropertyBrowser.h.
Referenced by MantidQt::MantidWidgets::CreateAttributeProperty::apply(), MantidQt::MantidWidgets::SetAttribute::apply(), createEditors(), FitPropertyBrowser(), initBasicLayout(), and ~FitPropertyBrowser().
|
protected |
Definition at line 508 of file FitPropertyBrowser.h.
Referenced by MantidQt::MantidWidgets::CreateAttributeProperty::apply(), and FitPropertyBrowser().
|
protected |
Definition at line 509 of file FitPropertyBrowser.h.
Referenced by MantidQt::MantidWidgets::CreateAttributeProperty::apply(), MantidQt::MantidWidgets::SetAttribute::apply(), createEditors(), FitPropertyBrowser(), initBasicLayout(), and ~FitPropertyBrowser().
|
private |
Definition at line 624 of file FitPropertyBrowser.h.
|
protected |
Definition at line 513 of file FitPropertyBrowser.h.
Referenced by addHandle(), addWorkspaceIndexToBrowser(), enumChanged(), FitPropertyBrowser(), init(), populateWorkspaceNames(), removeWorkspace(), renameHandle(), setWorkspaceName(), setWorkspaceProperties(), and workspaceName().
|
protected |
Definition at line 514 of file FitPropertyBrowser.h.
Referenced by addAllowedSpectra(), addWorkspaceIndexToBrowser(), enumChanged(), init(), intChanged(), setWorkspaceIndex(), setWorkspaceProperties(), and workspaceIndex().
|
private |
Definition at line 643 of file FitPropertyBrowser.h.
Referenced by addFitResultWorkspacesToTableWidget(), initBasicLayout(), and removeWorkspace().
|
mutableprotected |
A list of available workspaces.
Definition at line 570 of file FitPropertyBrowser.h.
Referenced by addHandle(), getWorkspaceNames(), populateWorkspaceNames(), removeWorkspace(), renameHandle(), MantidQt::MantidWidgets::PropertyHandler::setFunctionWorkspace(), setWorkspaceName(), MantidQt::MantidWidgets::PropertyHandler::updateWorkspaces(), and workspaceName().
|
private |
Definition at line 642 of file FitPropertyBrowser.h.
Referenced by addFitResultWorkspacesToTableWidget(), initBasicLayout(), removeWorkspace(), and renameHandle().
|
protected |
Definition at line 528 of file FitPropertyBrowser.h.
Referenced by columnChanged(), getXColumnName(), getXRange(), init(), and setWorkspaceProperties().
|
protected |
Definition at line 529 of file FitPropertyBrowser.h.
Referenced by getYColumnName(), init(), and setWorkspaceProperties().