Mantid
|
#include <MantidTreeModel.h>
Public Slots | |
Table * | createDetectorTable (const QString &wsName, const std::vector< int > &indices, bool include_data=false) override |
MantidQt::MantidWidgets::MantidWSIndexDialog * | createWorkspaceIndexDialog (int flags, const QStringList &wsNames, bool showWaterfall, bool showPlotAll, bool showTiledOpt, bool isAdvanced=false) override |
void | disableSaveNexus () override |
void | drawColorFillPlots (const QStringList &wsNames, GraphOptions::CurveType curveType=GraphOptions::ColorMap) override |
void | enableSaveNexus (const QString &wsName) override |
void | executeAlgorithm (Mantid::API::IAlgorithm_sptr alg) override |
void | importBoxDataTable () override |
MantidMatrix * | importMatrixWorkspace (const Mantid::API::MatrixWorkspace_sptr workspace, int lower=-1, int upper=-1, bool showDlg=true) override |
void | importTransposed () override |
void | importWorkspace () override |
void | importWorkspace (const QString &wsName, bool showDlg=true, bool makeVisible=true) override |
MultiLayer * | plot1D (const QMultiMap< QString, std::set< int > > &toPlot, bool spectrumPlot, MantidQt::DistributionFlag distr=MantidQt::DistributionDefault, bool errs=false, MultiLayer *plotWindow=nullptr, bool clearWindow=false, bool waterfallPlot=false, const QString &log="", const std::set< double > &customLogValues=std::set< double >()) override |
void | plotContour (bool accepted, int plotIndex, const QString &axisName, const QString &logName, const std::set< double > &customLogValues, const QList< QString > &workspaceNames) override |
void | plotSurface (bool accepted, int plotIndex, const QString &axisName, const QString &logName, const std::set< double > &customLogValues, const QList< QString > &workspaceNames) override |
void | renameWorkspace (QStringList=QStringList()) override |
void | showAlgorithmDialog (const QString &algName, int version=-1) override |
void | showAlgorithmDialog (const QString &algName, QHash< QString, QString > paramList, Mantid::API::AlgorithmObserver *obs=nullptr, int version=-1) override |
void | showAlgorithmHistory () override |
void | showCritical (const QString &) override |
void | showListData () override |
void | showLogFileWindow () override |
void | showMantidInstrumentSelected () override |
void | showMDPlot () override |
void | showSampleMaterialWindow () override |
void | showSliceViewer () override |
void | showSpectrumViewer () override |
void | updateProject () override |
Public Member Functions | |
Mantid::API::IAlgorithm_sptr | createAlgorithm (const QString &algName, int version=-1) override |
MantidQt::API::AlgorithmDialog * | createAlgorithmDialog (const Mantid::API::IAlgorithm_sptr &alg) |
This creates an algorithm dialog (the default property entry thingie). More... | |
void | deleteWorkspaces (const QStringList &wsNames=QStringList()) override |
bool | executeAlgorithmAsync (Mantid::API::IAlgorithm_sptr alg, const bool wait=false) override |
QWidget * | getParent () override |
Mantid::API::Workspace_const_sptr | getWorkspace (const QString &workspaceName) override |
MantidTreeModel () | |
DefaultConstructor. More... | |
MultiLayer * | plotSubplots (const QMultiMap< QString, std::set< int > > &toPlot, MantidQt::DistributionFlag distr=MantidQt::DistributionDefault, bool errs=false, MultiLayer *plotWindow=nullptr) override |
void | updateRecentFilesList (const QString &fname) override |
![]() | |
virtual Mantid::API::IAlgorithm_sptr | createAlgorithm (const QString &algName, int version=-1)=0 |
virtual Table * | createDetectorTable (const QString &wsName, const std::vector< int > &indices, bool include_data=false)=0 |
virtual MantidWSIndexDialog * | createWorkspaceIndexDialog (int flags, const QStringList &wsNames, bool showWaterfall, bool showPlotAll, bool showTiledOpt, bool isAdvanced=false)=0 |
virtual void | deleteWorkspaces (const QStringList &wsNames=QStringList())=0 |
virtual void | disableSaveNexus ()=0 |
virtual void | drawColorFillPlots (const QStringList &wsNames, GraphOptions::CurveType curveType=GraphOptions::ColorMap)=0 |
virtual void | enableSaveNexus (const QString &wsName)=0 |
virtual void | executeAlgorithm (Mantid::API::IAlgorithm_sptr alg)=0 |
virtual bool | executeAlgorithmAsync (Mantid::API::IAlgorithm_sptr alg, const bool wait=false)=0 |
virtual QWidget * | getParent ()=0 |
virtual Mantid::API::Workspace_const_sptr | getWorkspace (const QString &workspaceName)=0 |
virtual void | importBoxDataTable ()=0 |
virtual MantidMatrix * | importMatrixWorkspace (const Mantid::API::MatrixWorkspace_sptr workspace, int lower=-1, int upper=-1, bool showDlg=true)=0 |
virtual void | importTransposed ()=0 |
virtual void | importWorkspace ()=0 |
virtual void | importWorkspace (const QString &wsName, bool showDlg=true, bool makeVisible=true)=0 |
virtual MultiLayer * | plot1D (const QMultiMap< QString, std::set< int > > &toPlot, bool spectrumPlot, MantidQt::DistributionFlag distr=MantidQt::DistributionDefault, bool errs=false, MultiLayer *plotWindow=nullptr, bool clearWindow=false, bool waterfallPlot=false, const QString &log="", const std::set< double > &customLogValues=std::set< double >())=0 |
virtual void | plotContour (bool accepted, int plotIndex, const QString &axisName, const QString &logName, const std::set< double > &customLogValues, const QList< QString > &workspaceNames)=0 |
virtual MultiLayer * | plotSubplots (const QMultiMap< QString, std::set< int > > &toPlot, MantidQt::DistributionFlag distr=MantidQt::DistributionDefault, bool errs=false, MultiLayer *plotWindow=nullptr)=0 |
virtual void | plotSurface (bool accepted, int plotIndex, const QString &axisName, const QString &logName, const std::set< double > &customLogValues, const QList< QString > &workspaceNames)=0 |
virtual void | renameWorkspace (QStringList=QStringList())=0 |
virtual void | showAlgorithmDialog (const QString &algName, int version=-1)=0 |
virtual void | showAlgorithmDialog (const QString &algName, QHash< QString, QString > paramList, Mantid::API::AlgorithmObserver *obs=nullptr, int version=-1)=0 |
virtual void | showAlgorithmHistory ()=0 |
virtual void | showCritical (const QString &) |
virtual void | showListData ()=0 |
virtual void | showLogFileWindow ()=0 |
virtual void | showMantidInstrumentSelected ()=0 |
virtual void | showMDPlot ()=0 |
virtual void | showSampleMaterialWindow ()=0 |
virtual void | showSliceViewer ()=0 |
virtual void | showSpectrumViewer ()=0 |
virtual void | updateProject ()=0 |
virtual void | updateRecentFilesList (const QString &fname)=0 |
virtual | ~MantidDisplayBase ()=default |
Private Member Functions | |
MantidTreeModel (const MantidTreeModel &) | |
MantidTreeModel & | operator= (const MantidTreeModel &) |
|
default |
DefaultConstructor.
References Mantid::API::renameWorkspace().
|
private |
|
overridevirtual |
Implements MantidQt::MantidWidgets::MantidDisplayBase.
Definition at line 60 of file MantidTreeModel.cpp.
References Mantid::Kernel::SingletonHolder< T >::Instance().
Referenced by deleteWorkspaces(), and showAlgorithmDialog().
MantidQt::API::AlgorithmDialog * MantidTreeModel::createAlgorithmDialog | ( | const Mantid::API::IAlgorithm_sptr & | alg | ) |
This creates an algorithm dialog (the default property entry thingie).
Helper function not required by interface
Definition at line 116 of file MantidTreeModel.cpp.
References MantidQt::API::InterfaceManager::createDialog().
Referenced by showAlgorithmDialog().
|
overrideslot |
Definition at line 222 of file MantidTreeModel.cpp.
|
overrideslot |
Definition at line 281 of file MantidTreeModel.cpp.
|
overridevirtual |
Implements MantidQt::MantidWidgets::MantidDisplayBase.
Definition at line 28 of file MantidTreeModel.cpp.
References createAlgorithm(), and executeAlgorithmAsync().
|
overrideslot |
Definition at line 189 of file MantidTreeModel.cpp.
|
overrideslot |
Definition at line 245 of file MantidTreeModel.cpp.
|
overrideslot |
Definition at line 186 of file MantidTreeModel.cpp.
|
overrideslot |
Definition at line 142 of file MantidTreeModel.cpp.
References executeAlgorithmAsync().
|
overridevirtual |
Implements MantidQt::MantidWidgets::MantidDisplayBase.
Definition at line 144 of file MantidTreeModel.cpp.
References Mantid::Kernel::Logger::error(), and Mantid::API::g_log.
Referenced by deleteWorkspaces(), and executeAlgorithm().
|
overridevirtual |
Implements MantidQt::MantidWidgets::MantidDisplayBase.
Definition at line 196 of file MantidTreeModel.cpp.
|
overridevirtual |
Implements MantidQt::MantidWidgets::MantidDisplayBase.
Definition at line 168 of file MantidTreeModel.cpp.
References Mantid::Kernel::SingletonHolder< T >::Instance().
|
overrideslot |
Definition at line 200 of file MantidTreeModel.cpp.
|
overrideslot |
Definition at line 207 of file MantidTreeModel.cpp.
|
overrideslot |
Definition at line 202 of file MantidTreeModel.cpp.
|
overrideslot |
Definition at line 205 of file MantidTreeModel.cpp.
|
overrideslot |
Definition at line 216 of file MantidTreeModel.cpp.
|
private |
|
overrideslot |
Definition at line 229 of file MantidTreeModel.cpp.
|
overrideslot |
Definition at line 270 of file MantidTreeModel.cpp.
|
overridevirtual |
Implements MantidQt::MantidWidgets::MantidDisplayBase.
Definition at line 250 of file MantidTreeModel.cpp.
|
overrideslot |
Definition at line 260 of file MantidTreeModel.cpp.
|
overrideslot |
Definition at line 44 of file MantidTreeModel.cpp.
References showAlgorithmDialog().
|
overrideslot |
Definition at line 74 of file MantidTreeModel.cpp.
References createAlgorithm(), and MantidQt::API::InterfaceManager::createDialog().
Referenced by renameWorkspace().
|
overrideslot |
Definition at line 86 of file MantidTreeModel.cpp.
References MantidQt::API::AlgorithmDialog::addAlgorithmObserver(), createAlgorithm(), createAlgorithmDialog(), Mantid::Kernel::Logger::error(), and Mantid::API::g_log.
|
overrideslot |
Definition at line 194 of file MantidTreeModel.cpp.
|
overrideslot |
Definition at line 198 of file MantidTreeModel.cpp.
|
overrideslot |
Definition at line 201 of file MantidTreeModel.cpp.
|
overrideslot |
Definition at line 203 of file MantidTreeModel.cpp.
|
overrideslot |
Definition at line 199 of file MantidTreeModel.cpp.
|
overrideslot |
Definition at line 195 of file MantidTreeModel.cpp.
|
overrideslot |
Definition at line 204 of file MantidTreeModel.cpp.
|
overrideslot |
Definition at line 193 of file MantidTreeModel.cpp.
|
overrideslot |
Definition at line 192 of file MantidTreeModel.cpp.
|
overrideslot |
Definition at line 197 of file MantidTreeModel.cpp.
|
overridevirtual |
Implements MantidQt::MantidWidgets::MantidDisplayBase.
Definition at line 183 of file MantidTreeModel.cpp.