Mantid
|
#include <WorkspaceTreeWidget.h>
Public Slots | |
void | chooseByLastModified () |
void | chooseByMemorySize () |
void | chooseByName () |
void | clickedWorkspace (QTreeWidgetItem *, int) |
void | keyPressEvent (QKeyEvent *) override |
void | onClickClearWorkspaces () |
Handles clear button trigger. More... | |
void | onClickDeleteWorkspaces () |
Handles delete button/menu item triggers. More... | |
void | onClickSaveToProgram (const QString &name) |
void | populateChildData (QTreeWidgetItem *item) |
When an item is expanded, populate the child data for this item. More... | |
void | renameWorkspace () |
void | saveWorkspaceCollection () |
void | sortAscending () |
void | sortDescending () |
Signals | |
void | signalClearView () |
void | signalUpdateTree (const TopLevelItems &) |
Public Member Functions | |
bool | askUserYesNo (const std::string &caption, const std::string &message) const override |
void | clearView () override |
bool | clearWorkspacesConfirmation () const override |
Gets confirmation from user that they meant to press clear workspaces button. More... | |
void | convertMDHistoToMatrixWorkspace () override |
void | convertToMatrixWorkspace () override |
bool | deleteConfirmation () const override |
void | deleteWorkspaces (const MantidQt::MantidWidgets::StringList &wsNames) override |
void | dropEvent (QDropEvent *de) override |
Accept a drag drop event and process the data appropriately. More... | |
void | enableClearButton (bool enable) override |
Enables and disables the Clear Workspaces Button. More... | |
void | enableDeletePrompt (bool enable) override |
bool | executeAlgorithmAsync (Mantid::API::IAlgorithm_sptr alg, const bool wait=true) override |
Allows asynchronous execution of algorithms. More... | |
void | filterWorkspaces (const std::string &filterText) override |
std::string | getFilterText () const override |
MantidQt::MantidWidgets::WorkspacePresenterWN_wptr | getPresenterWeakPtr () override |
SaveFileType | getSaveFileType () const override |
Mantid::API::Workspace_sptr | getSelectedWorkspace () const override |
Returns a pointer to the selected workspace (the first if multiple workspaces selected) More... | |
MantidQt::MantidWidgets::StringList | getSelectedWorkspaceNames () const override |
Returns the names of the selected workspaces in the dock. More... | |
QStringList | getSelectedWorkspaceNamesAsQList () const |
SortCriteria | getSortCriteria () const override |
SortDirection | getSortDirection () const override |
bool | isPromptDelete () const override |
void | plotSpectrum (const std::string &type) override |
Plots one or more spectra from each selected workspace. More... | |
void | popupContextMenu () override |
void | recordWorkspaceRename (const std::string &oldName, const std::string &newName) override |
Save the old and the new name in m_renameMap. More... | |
void | refreshWorkspaces () override |
void | saveToProgram () override |
Saves a workspace based on the program the user chooses to save to. More... | |
void | saveWorkspace (const std::string &wsName, SaveFileType type) override |
void | saveWorkspaces (const MantidQt::MantidWidgets::StringList &wsNames) override |
void | showAlgorithmHistory () override |
void | showBoxDataTable () override |
void | showColourFillPlot () override |
Draw a color fill plot of the workspaces that are currently selected. More... | |
void | showCriticalUserMessage (const std::string &caption, const std::string &message) const override |
void | showDetectorsTable () override |
void | showInstrumentView () override |
void | showListData () override |
void | showLiveDataDialog () override |
void | showLoadDialog () override |
void | showLogs () override |
void | showMDPlot () override |
void | showRenameDialog (const MantidQt::MantidWidgets::StringList &wsNames) override |
void | showSampleMaterialWindow () override |
void | showSliceViewer () override |
void | showSpectrumViewer () override |
void | showTransposed () override |
void | showWorkspaceData () override |
void | sortWorkspaces (SortCriteria criteria, SortDirection direction) override |
WorkspaceTreeWidget (MantidQt::MantidWidgets::MantidDisplayBase *mdb, bool viewOnly=false, QWidget *parent=nullptr) | |
~WorkspaceTreeWidget () | |
Public Member Functions inherited from MantidQt::MantidWidgets::IWorkspaceDockView | |
virtual bool | askUserYesNo (const std::string &caption, const std::string &message) const =0 |
virtual void | clearView ()=0 |
virtual bool | clearWorkspacesConfirmation () const =0 |
virtual void | convertMDHistoToMatrixWorkspace ()=0 |
virtual void | convertToMatrixWorkspace ()=0 |
virtual bool | deleteConfirmation () const =0 |
virtual void | deleteWorkspaces (const StringList &wsNames)=0 |
virtual void | enableClearButton (bool enable)=0 |
virtual void | enableDeletePrompt (bool enable)=0 |
virtual bool | executeAlgorithmAsync (Mantid::API::IAlgorithm_sptr alg, const bool wait=true)=0 |
virtual void | filterWorkspaces (const std::string &filterText)=0 |
virtual std::string | getFilterText () const =0 |
virtual WorkspacePresenterWN_wptr | getPresenterWeakPtr ()=0 |
virtual SaveFileType | getSaveFileType () const =0 |
virtual Mantid::API::Workspace_sptr | getSelectedWorkspace () const =0 |
virtual StringList | getSelectedWorkspaceNames () const =0 |
virtual SortCriteria | getSortCriteria () const =0 |
virtual SortDirection | getSortDirection () const =0 |
virtual bool | isPromptDelete () const =0 |
virtual void | plotSpectrum (const std::string &type)=0 |
virtual void | popupContextMenu ()=0 |
virtual void | recordWorkspaceRename (const std::string &oldName, const std::string &newName)=0 |
virtual void | refreshWorkspaces ()=0 |
virtual void | saveToProgram ()=0 |
virtual void | saveWorkspace (const std::string &wsName, const SaveFileType type)=0 |
virtual void | saveWorkspaces (const StringList &wsNames)=0 |
virtual void | showAlgorithmHistory ()=0 |
virtual void | showBoxDataTable ()=0 |
virtual void | showColourFillPlot ()=0 |
virtual void | showCriticalUserMessage (const std::string &caption, const std::string &message) const =0 |
virtual void | showDetectorsTable ()=0 |
virtual void | showInstrumentView ()=0 |
virtual void | showListData ()=0 |
virtual void | showLiveDataDialog ()=0 |
virtual void | showLoadDialog ()=0 |
virtual void | showLogs ()=0 |
virtual void | showMDPlot ()=0 |
virtual void | showRenameDialog (const StringList &wsNames)=0 |
virtual void | showSampleMaterialWindow ()=0 |
virtual void | showSliceViewer ()=0 |
virtual void | showSpectrumViewer ()=0 |
virtual void | showTransposed ()=0 |
virtual void | showWorkspaceData ()=0 |
virtual void | sortWorkspaces (SortCriteria criteria, SortDirection direction)=0 |
virtual void | updateTree (const std::map< std::string, Mantid::API::Workspace_sptr > &items)=0 |
virtual | ~IWorkspaceDockView () |
Protected Slots | |
void | popupMenu (const QPoint &pos) |
Handles display of the workspace context menu. More... | |
void | workspaceSelected () |
Protected Attributes | |
QAction * | m_delete |
QMenu * | m_loadMenu |
QPoint | m_menuPosition |
QAction * | m_program |
QSignalMapper * | m_programMapper |
QAction * | m_rename |
QAction * | m_saveNexus |
QMenu * | m_saveToProgram |
MantidTreeWidget * | m_tree |
QString | selectedWsName |
Private Member Functions | |
void | addClearMenuItems (QMenu *menu, const QString &wsName) |
Add menu for clearing workspace items. More... | |
void | addMatrixWorkspaceMenuItems (QMenu *menu, const Mantid::API::MatrixWorkspace_const_sptr &matrixWS) const |
Add the actions that are appropriate for a MatrixWorkspace. More... | |
void | addMDEventWorkspaceMenuItems (QMenu *menu, const Mantid::API::IMDEventWorkspace_const_sptr &mdeventWS) const |
Add the actions that are appropriate for a MDEventWorkspace. More... | |
void | addMDHistoWorkspaceMenuItems (QMenu *menu, const Mantid::API::IMDWorkspace_const_sptr &WS) const |
void | addPeaksWorkspaceMenuItems (QMenu *menu, const Mantid::API::IPeaksWorkspace_const_sptr &WS) const |
Add the actions that are appropriate for a PeaksWorkspace. More... | |
void | addSaveMenuOption (const QString &algorithmString, QString menuEntryName="") |
Adds an algorithm to the save menu. More... | |
void | addTableWorkspaceMenuItems (QMenu *menu) const |
Add the actions that are appropriate for a MatrixWorkspace. More... | |
MantidTreeWidgetItem * | addTreeEntry (const std::pair< std::string, Mantid::API::Workspace_sptr > &item, QTreeWidgetItem *parent=nullptr) |
Adds a node for the given named item, including a single child ID item to make each node have a expandable button and allowing plotting to work from non-expanded items. More... | |
void | addWorkspaceGroupMenuItems (QMenu *menu) const |
Add the actions that are appropriate for a WorkspaceGroup. More... | |
void | createSortMenuActions () |
Create actions for sorting. More... | |
void | createWorkspaceMenuActions () |
Create the action items associated with the dock. More... | |
void | excludeItemFromSort (MantidTreeWidgetItem *item) |
bool | hasUBMatrix (const std::string &wsName) |
void | hideButtonToolbar () |
bool | isTreeUpdating () const |
void | populateTopLevel (const TopLevelItems &topLevelItems, const QStringList &expanded) |
Clears the tree and re-populates it with the given top level items. More... | |
void | setItemIcon (QTreeWidgetItem *item, const std::string &wsID) |
Set tree item's icon based on the ID of the workspace. More... | |
void | setTreeUpdating (const bool state) |
Flips the flag indicating whether a tree update is in progress. More... | |
void | setupConnections () |
void | setupLoadButtonMenu () |
void | setupWidgetLayout () |
bool | shouldBeSelected (const QString &name) const |
Check if a workspace should be selected after dock update. More... | |
void | updateTree (const TopLevelItems &items) override |
Update the workspace tree to match the current state of the ADS. More... | |
MantidQt::MantidWidgets::MantidItemSortScheme | whichCriteria (SortCriteria criteria) |
Additional Inherited Members | |
Public Types inherited from MantidQt::MantidWidgets::IWorkspaceDockView | |
enum class | SaveFileType { Nexus , ASCII } |
enum class | SortCriteria { ByName , ByLastModified , ByMemorySize } |
enum class | SortDirection { Ascending , Descending } |
MantidQt::MantidWidgets::WorkspaceTreeWidget::WorkspaceTreeWidget | ( | MantidQt::MantidWidgets::MantidDisplayBase * | mdb, |
bool | viewOnly = false , |
||
QWidget * | parent = nullptr |
||
) |
Definition at line 56 of file WorkspaceTreeWidget.cpp.
References createSortMenuActions(), createWorkspaceMenuActions(), hideButtonToolbar(), m_presenter, m_saveFolderDialog, m_saveMenu, m_tree, m_viewOnly, setupConnections(), setupLoadButtonMenu(), and setupWidgetLayout().
|
default |
|
private |
Add menu for clearing workspace items.
menu | : Parent menu. |
wsName | : Name of the selected workspace. |
Definition at line 986 of file WorkspaceTreeWidget.cpp.
References hasUBMatrix(), and m_clearUB.
Referenced by popupContextMenu().
|
private |
Add the actions that are appropriate for a MatrixWorkspace.
menu | :: The menu to store the items |
matrixWS | :: The workspace related to the menu |
Definition at line 866 of file WorkspaceTreeWidget.cpp.
References m_colorFill, m_plotAdvanced, m_plotSpec, m_plotSpecErr, m_saveNexus, m_showData, m_showDetectors, m_showHist, m_showInst, m_showLogs, m_showSampleMaterial, m_showSliceViewer, and m_showSpectrumViewer.
Referenced by popupContextMenu().
|
private |
Add the actions that are appropriate for a MDEventWorkspace.
menu | :: The menu to store the items |
WS | :: The workspace related to the menu |
Definition at line 916 of file WorkspaceTreeWidget.cpp.
References m_showHist, m_showListData, m_showLogs, and m_showSliceViewer.
Referenced by popupContextMenu().
|
private |
Definition at line 927 of file WorkspaceTreeWidget.cpp.
References m_convertMDHistoToMatrixWorkspace, m_showHist, m_showListData, m_showLogs, m_showMDPlot, and m_showSliceViewer.
Referenced by popupContextMenu().
|
private |
Add the actions that are appropriate for a PeaksWorkspace.
menu | :: The menu to store the items |
WS | :: The workspace related to the menu |
Definition at line 942 of file WorkspaceTreeWidget.cpp.
References m_showData, m_showDetectors, and m_showHist.
Referenced by popupContextMenu().
|
private |
Adds an algorithm to the save menu.
algorithmString | Algorithm string in format ALGO_NAME.VERSION or ALGO_NAME |
menuEntryName | Text to be shown in menu |
Definition at line 1012 of file WorkspaceTreeWidget.cpp.
References handleShowSaveAlgorithm(), and m_saveMenu.
Referenced by workspaceSelected().
|
private |
Add the actions that are appropriate for a MatrixWorkspace.
menu | :: The menu to store the items |
Definition at line 973 of file WorkspaceTreeWidget.cpp.
References m_convertToMatrixWorkspace, m_saveNexus, m_showData, m_showHist, and m_showTransposed.
Referenced by popupContextMenu().
|
private |
Adds a node for the given named item, including a single child ID item to make each node have a expandable button and allowing plotting to work from non-expanded items.
item | A name/workspace pair to add. |
parent | If not null then add the new items as a child of the given item |
Definition at line 780 of file WorkspaceTreeWidget.cpp.
References m_tree, and setItemIcon().
Referenced by populateChildData(), and populateTopLevel().
|
private |
Add the actions that are appropriate for a WorkspaceGroup.
menu | :: The menu to store the items |
Definition at line 955 of file WorkspaceTreeWidget.cpp.
References m_colorFill, m_plotAdvanced, m_plotSpec, m_plotSpecErr, and m_saveNexus.
Referenced by popupContextMenu().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 224 of file WorkspaceTreeWidget.cpp.
Referenced by clearWorkspacesConfirmation(), and deleteConfirmation().
|
slot |
Definition at line 324 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::IWorkspaceDockView::ByLastModified, m_presenter, m_sortCriteria, and MantidQt::MantidWidgets::ViewNotifiable::SortWorkspaces.
Referenced by createSortMenuActions().
|
slot |
Definition at line 329 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::IWorkspaceDockView::ByMemorySize, m_presenter, m_sortCriteria, and MantidQt::MantidWidgets::ViewNotifiable::SortWorkspaces.
Referenced by createSortMenuActions().
|
slot |
Definition at line 319 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::IWorkspaceDockView::ByName, m_presenter, m_sortCriteria, and MantidQt::MantidWidgets::ViewNotifiable::SortWorkspaces.
Referenced by createSortMenuActions().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 307 of file WorkspaceTreeWidget.cpp.
References signalClearView().
|
overridevirtual |
Gets confirmation from user that they meant to press clear workspaces button.
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 1046 of file WorkspaceTreeWidget.cpp.
References askUserYesNo().
|
slot |
Definition at line 1061 of file WorkspaceTreeWidget.cpp.
Referenced by setupConnections().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 1557 of file WorkspaceTreeWidget.cpp.
References m_mantidDisplayModel, and MantidQt::MantidWidgets::MantidDisplayBase::showAlgorithmDialog().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 1553 of file WorkspaceTreeWidget.cpp.
References m_mantidDisplayModel, and MantidQt::MantidWidgets::MantidDisplayBase::showAlgorithmDialog().
|
private |
Create actions for sorting.
Definition at line 635 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::IWorkspaceDockView::ByName, chooseByLastModified(), chooseByMemorySize(), chooseByName(), m_ascendingSortAction, m_byLastModifiedChoice, m_byNameChoice, m_descendingSortAction, m_sortButton, m_sortChoiceGroup, m_sortCriteria, m_sortMenu, sortAscending(), and sortDescending().
Referenced by WorkspaceTreeWidget().
|
private |
Create the action items associated with the dock.
Definition at line 556 of file WorkspaceTreeWidget.cpp.
References MantidQt::API::getQPixmap(), m_clearUB, m_colorFill, m_convertMDHistoToMatrixWorkspace, m_convertToMatrixWorkspace, m_delete, m_plotAdvanced, m_plotSpec, m_plotSpecErr, m_rename, m_saveNexus, m_showBoxData, m_showData, m_showDetectors, m_showHist, m_showInst, m_showListData, m_showLogs, m_showMDPlot, m_showSampleMaterial, m_showSliceViewer, m_showSpectrumViewer, m_showTransposed, onClickClearUB(), onClickConvertMDHistoToMatrixWorkspace(), onClickConvertToMatrixWorkspace(), onClickDeleteWorkspaces(), onClickDrawColorFillPlot(), onClickPlotAdvanced(), onClickPlotSpectra(), onClickPlotSpectraErr(), onClickSaveNexusWorkspace(), onClickShowAlgHistory(), onClickShowBoxData(), onClickShowData(), onClickShowDetectorTable(), onClickShowFileLog(), onClickShowInstrument(), onClickShowListData(), onClickShowMDPlot(), onClickShowSampleMaterial(), onClickShowSliceViewer(), onClickShowSpectrumViewer(), onClickShowTransposed(), and renameWorkspace().
Referenced by WorkspaceTreeWidget().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 295 of file WorkspaceTreeWidget.cpp.
References askUserYesNo().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 300 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::MantidDisplayBase::deleteWorkspaces(), and m_mantidDisplayModel.
|
override |
Accept a drag drop event and process the data appropriately.
de | :: The drag drop event |
Definition at line 101 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::MantidTreeWidget::dropEvent(), and m_tree.
|
overridevirtual |
Enables and disables the Clear Workspaces Button.
enable | : true for enable and false for disable |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 1054 of file WorkspaceTreeWidget.cpp.
References m_clearButton.
Referenced by handleUpdateTree().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 291 of file WorkspaceTreeWidget.cpp.
References m_promptDelete.
|
private |
Definition at line 334 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::MantidTreeWidgetItem::setSortPos().
Referenced by populateChildData().
|
overridevirtual |
Allows asynchronous execution of algorithms.
This method is made available in the view for access by the presenter in order to obviate the dependency on Qt in the Unit tests.
alg | : algorithm to be executed |
wait | : determines whether or not a non-gui blocking wait should occur. |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 1573 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::MantidDisplayBase::executeAlgorithmAsync(), and m_mantidDisplayModel.
Referenced by saveToProgram().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 439 of file WorkspaceTreeWidget.cpp.
|
privateslot |
Filter workspaces based on the string provided.
text | : the string to filter on. |
Definition at line 1032 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::ViewNotifiable::FilterWorkspaces, m_filteredText, and m_presenter.
Referenced by populateTopLevel(), and setupConnections().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 437 of file WorkspaceTreeWidget.cpp.
References m_workspaceFilter.
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 187 of file WorkspaceTreeWidget.cpp.
References m_presenter.
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 388 of file WorkspaceTreeWidget.cpp.
References m_saveFileType.
|
overridevirtual |
Returns a pointer to the selected workspace (the first if multiple workspaces selected)
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 217 of file WorkspaceTreeWidget.cpp.
References m_tree.
|
overridevirtual |
Returns the names of the selected workspaces in the dock.
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 194 of file WorkspaceTreeWidget.cpp.
References m_tree.
Referenced by showDetectorsTable(), and workspaceSelected().
QStringList MantidQt::MantidWidgets::WorkspaceTreeWidget::getSelectedWorkspaceNamesAsQList | ( | ) | const |
Definition at line 204 of file WorkspaceTreeWidget.cpp.
References m_tree.
Referenced by MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple::onOverPlotMDHistoWorkspaceClicked(), MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple::onOverPlotMDHistoWorkspaceWithErrorsClicked(), MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple::onOverplotSpectrumClicked(), MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple::onOverplotSpectrumWithErrorsClicked(), MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple::onPlotAdvancedClicked(), MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple::onPlotBinClicked(), MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple::onPlotColorfillClicked(), MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple::onPlotContourClicked(), MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple::onPlotMDHistoWorkspaceClicked(), MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple::onPlotMDHistoWorkspaceWithErrorsClicked(), MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple::onPlotSpectrumClicked(), MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple::onPlotSpectrumWithErrorsClicked(), MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple::onPlotSurfaceClicked(), MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple::onPlotWireframeClicked(), MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple::onSampleLogsClicked(), MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple::onSampleMaterialClicked(), MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple::onSampleShapeClicked(), MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple::onShowAlgorithmHistoryClicked(), MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple::onShowDataClicked(), MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple::onShowDetectorsClicked(), MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple::onShowInstrumentClicked(), MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple::onSliceViewerClicked(), MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple::onSuperplotBinsClicked(), MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple::onSuperplotBinsWithErrsClicked(), MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple::onSuperplotClicked(), and MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple::onSuperplotWithErrsClicked().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 344 of file WorkspaceTreeWidget.cpp.
References m_sortCriteria.
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 342 of file WorkspaceTreeWidget.cpp.
References m_sortDirection.
|
privateslot |
Definition at line 1144 of file WorkspaceTreeWidget.cpp.
References m_mantidDisplayModel, m_tree, and MantidQt::MantidWidgets::MantidDisplayBase::updateProject().
Referenced by setupConnections().
|
privateslot |
Definition at line 373 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::IWorkspaceDockView::ASCII, m_presenter, m_saveFileType, MantidQt::MantidWidgets::IWorkspaceDockView::Nexus, and MantidQt::MantidWidgets::ViewNotifiable::SaveSingleWorkspace.
Referenced by addSaveMenuOption().
|
privateslot |
Handle asynchronous tree update.
Definition at line 1116 of file WorkspaceTreeWidget.cpp.
References enableClearButton(), m_mantidDisplayModel, m_tree, m_updateCount, n, populateTopLevel(), setTreeUpdating(), MantidQt::MantidWidgets::MantidTreeWidget::sort(), and MantidQt::MantidWidgets::MantidDisplayBase::updateProject().
Referenced by setupConnections().
|
private |
Definition at line 995 of file WorkspaceTreeWidget.cpp.
References Mantid::Kernel::SingletonHolder< T >::Instance().
Referenced by addClearMenuItems().
|
private |
Definition at line 1577 of file WorkspaceTreeWidget.cpp.
References m_clearButton, m_deleteButton, m_groupButton, m_loadButton, m_saveButton, and m_sortButton.
Referenced by WorkspaceTreeWidget().
|
privateslot |
Definition at line 185 of file WorkspaceTreeWidget.cpp.
References m_updateCount.
Referenced by updateTree().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 293 of file WorkspaceTreeWidget.cpp.
References m_promptDelete.
|
inlineprivate |
Definition at line 126 of file WorkspaceTreeWidget.h.
Referenced by sortWorkspaces().
|
overrideslot |
Definition at line 1469 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::ViewNotifiable::DeleteWorkspaces, and m_presenter.
|
privateslot |
Handler for the clear the UB matrix event.
Definition at line 1564 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::ViewNotifiable::ClearUBMatrix, and m_presenter.
Referenced by createWorkspaceMenuActions().
|
slot |
Handles clear button trigger.
Definition at line 1057 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::ViewNotifiable::ClearWorkspaces, and m_presenter.
Referenced by setupConnections().
|
privateslot |
Convert selected MDHistoWorkspace to a MatrixWorkspace.
Definition at line 1549 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::ViewNotifiable::ConvertMDHistoToMatrixWorkspace, and m_presenter.
Referenced by createWorkspaceMenuActions().
|
privateslot |
Convert selected TableWorkspace to a MatrixWorkspace.
Definition at line 1542 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::ViewNotifiable::ConvertToMatrixWorkspace, and m_presenter.
Referenced by createWorkspaceMenuActions().
|
slot |
Handles delete button/menu item triggers.
Definition at line 1038 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::ViewNotifiable::DeleteWorkspaces, and m_presenter.
Referenced by createWorkspaceMenuActions(), and setupConnections().
|
privateslot |
Definition at line 1434 of file WorkspaceTreeWidget.cpp.
References m_presenter, and MantidQt::MantidWidgets::ViewNotifiable::ShowColourFillPlot.
Referenced by createWorkspaceMenuActions().
|
privateslot |
Handles group button clicks.
Definition at line 1095 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::ViewNotifiable::GroupWorkspaces, m_groupButton, m_presenter, and MantidQt::MantidWidgets::ViewNotifiable::UngroupWorkspaces.
Referenced by setupConnections().
|
privateslot |
handles Live Data menu trigger
Definition at line 1110 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::ViewNotifiable::LoadLiveDataWorkspace, and m_presenter.
Referenced by setupLoadButtonMenu().
|
privateslot |
Handles Load File menu trigger.
Definition at line 1107 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::ViewNotifiable::LoadWorkspace, and m_presenter.
Referenced by setupLoadButtonMenu().
|
privateslot |
Definition at line 1394 of file WorkspaceTreeWidget.cpp.
References m_presenter, and MantidQt::MantidWidgets::ViewNotifiable::PlotSpectrumAdvanced.
Referenced by createWorkspaceMenuActions().
|
privateslot |
Definition at line 1388 of file WorkspaceTreeWidget.cpp.
References m_presenter, and MantidQt::MantidWidgets::ViewNotifiable::PlotSpectrum.
Referenced by createWorkspaceMenuActions().
|
privateslot |
Definition at line 1390 of file WorkspaceTreeWidget.cpp.
References m_presenter, and MantidQt::MantidWidgets::ViewNotifiable::PlotSpectrumWithErrors.
Referenced by createWorkspaceMenuActions().
|
privateslot |
Definition at line 1535 of file WorkspaceTreeWidget.cpp.
References m_presenter, m_saveFileType, MantidQt::MantidWidgets::IWorkspaceDockView::Nexus, and MantidQt::MantidWidgets::ViewNotifiable::SaveSingleWorkspace.
Referenced by createWorkspaceMenuActions().
|
slot |
Definition at line 1267 of file WorkspaceTreeWidget.cpp.
References m_presenter, m_programName, and MantidQt::MantidWidgets::ViewNotifiable::SaveToProgram.
Referenced by popupContextMenu().
|
privateslot |
Definition at line 1525 of file WorkspaceTreeWidget.cpp.
References m_presenter, and MantidQt::MantidWidgets::ViewNotifiable::ShowAlgorithmHistory.
Referenced by createWorkspaceMenuActions().
|
privateslot |
Definition at line 1491 of file WorkspaceTreeWidget.cpp.
References m_presenter, and MantidQt::MantidWidgets::ViewNotifiable::ShowBoxDataTable.
Referenced by createWorkspaceMenuActions().
|
privateslot |
Definition at line 1257 of file WorkspaceTreeWidget.cpp.
References m_presenter, and MantidQt::MantidWidgets::ViewNotifiable::ShowWorkspaceData.
Referenced by createWorkspaceMenuActions().
|
privateslot |
Definition at line 1478 of file WorkspaceTreeWidget.cpp.
References m_presenter, and MantidQt::MantidWidgets::ViewNotifiable::ShowDetectorsTable.
Referenced by createWorkspaceMenuActions().
|
privateslot |
Definition at line 1515 of file WorkspaceTreeWidget.cpp.
References m_presenter, and MantidQt::MantidWidgets::ViewNotifiable::ShowLogs.
Referenced by createWorkspaceMenuActions().
|
privateslot |
Definition at line 1261 of file WorkspaceTreeWidget.cpp.
References m_presenter, and MantidQt::MantidWidgets::ViewNotifiable::ShowInstrumentView.
Referenced by createWorkspaceMenuActions().
|
privateslot |
Definition at line 1499 of file WorkspaceTreeWidget.cpp.
References m_presenter, and MantidQt::MantidWidgets::ViewNotifiable::ShowListData.
Referenced by createWorkspaceMenuActions().
|
privateslot |
Definition at line 1495 of file WorkspaceTreeWidget.cpp.
References m_presenter, and MantidQt::MantidWidgets::ViewNotifiable::ShowMDPlot.
Referenced by createWorkspaceMenuActions().
|
privateslot |
Definition at line 1519 of file WorkspaceTreeWidget.cpp.
References m_presenter, and MantidQt::MantidWidgets::ViewNotifiable::ShowSampleMaterialWindow.
Referenced by createWorkspaceMenuActions().
|
privateslot |
Definition at line 1509 of file WorkspaceTreeWidget.cpp.
References m_presenter, and MantidQt::MantidWidgets::ViewNotifiable::ShowSliceViewer.
Referenced by createWorkspaceMenuActions().
|
privateslot |
Definition at line 1503 of file WorkspaceTreeWidget.cpp.
References m_presenter, and MantidQt::MantidWidgets::ViewNotifiable::ShowSpectrumViewer.
Referenced by createWorkspaceMenuActions().
|
privateslot |
Definition at line 1531 of file WorkspaceTreeWidget.cpp.
References m_presenter, and MantidQt::MantidWidgets::ViewNotifiable::ShowTransposed.
Referenced by createWorkspaceMenuActions().
|
privateslot |
Definition at line 233 of file WorkspaceTreeWidget.cpp.
References Mantid::Kernel::SingletonHolder< T >::Instance(), m_mantidDisplayModel, and MantidQt::MantidWidgets::MantidDisplayBase::updateRecentFilesList().
|
privateslot |
Definition at line 820 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::MantidDisplayBase::disableSaveNexus(), MantidQt::MantidWidgets::MantidDisplayBase::enableSaveNexus(), m_deleteButton, m_groupButton, m_mantidDisplayModel, m_saveButton, and m_tree.
Referenced by setupConnections().
|
overridevirtual |
Plots one or more spectra from each selected workspace.
type | "Simple", "Errors" show error bars, "Advanced" advanced plotting. |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 1401 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::MantidTreeWidget::chooseSpectrumFromSelected(), MantidQt::DistributionDefault, m_mantidDisplayModel, m_tree, MantidQt::MantidWidgets::MantidDisplayBase::plot1D(), MantidQt::MantidWidgets::MantidDisplayBase::plotContour(), MantidQt::MantidWidgets::MantidDisplayBase::plotSubplots(), and MantidQt::MantidWidgets::MantidDisplayBase::plotSurface().
|
slot |
When an item is expanded, populate the child data for this item.
item | :: The tree item being expanded |
Definition at line 689 of file WorkspaceTreeWidget.cpp.
References addTreeEntry(), excludeItemFromSort(), m_tree, shouldBeSelected(), and workspace.
Referenced by setupConnections().
|
private |
Clears the tree and re-populates it with the given top level items.
topLevelItems | The map of names to workspaces |
expanded | Names of items who should expanded after being populated |
Definition at line 745 of file WorkspaceTreeWidget.cpp.
References addTreeEntry(), filterWorkspaceTree(), m_mutex, m_renameMap, m_selectedNames, m_tree, m_workspaceFilter, and shouldBeSelected().
Referenced by handleUpdateTree().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Reimplemented in MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple.
Definition at line 1159 of file WorkspaceTreeWidget.cpp.
References addClearMenuItems(), addMatrixWorkspaceMenuItems(), addMDEventWorkspaceMenuItems(), addMDHistoWorkspaceMenuItems(), addPeaksWorkspaceMenuItems(), addTableWorkspaceMenuItems(), addWorkspaceGroupMenuItems(), Mantid::Kernel::SingletonHolder< T >::Instance(), m_delete, m_loadMenu, m_menuPosition, m_program, m_programMapper, m_rename, m_saveToProgram, m_tree, onClickSaveToProgram(), and selectedWsName.
|
protectedslot |
Handles display of the workspace context menu.
Definition at line 1152 of file WorkspaceTreeWidget.cpp.
References m_menuPosition, m_presenter, m_viewOnly, and MantidQt::MantidWidgets::ViewNotifiable::PopulateAndShowWorkspaceContextMenu.
Referenced by setupConnections().
|
overridevirtual |
Save the old and the new name in m_renameMap.
This is needed to restore selection of the renamed workspace (if it was selected before renaming).
oldName | :: Old name of a renamed workspace. |
newName | :: New name of a renamed workspace. |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 272 of file WorkspaceTreeWidget.cpp.
References m_mutex, and m_renameMap.
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 289 of file WorkspaceTreeWidget.cpp.
References m_presenter, and MantidQt::MantidWidgets::ViewNotifiable::RefreshWorkspaces.
|
slot |
Definition at line 254 of file WorkspaceTreeWidget.cpp.
References m_presenter, and MantidQt::MantidWidgets::ViewNotifiable::RenameWorkspace.
Referenced by createWorkspaceMenuActions().
|
overridevirtual |
Saves a workspace based on the program the user chooses to save to.
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 1275 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::MantidDisplayBase::createAlgorithm(), executeAlgorithmAsync(), Mantid::API::FileProperty::getDefaultExt(), Mantid::Kernel::SingletonHolder< T >::Instance(), m_mantidDisplayModel, m_programName, and selectedWsName.
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 390 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::IWorkspaceDockView::ASCII, m_mantidDisplayModel, MantidQt::MantidWidgets::IWorkspaceDockView::Nexus, and MantidQt::MantidWidgets::MantidDisplayBase::showAlgorithmDialog().
|
slot |
Definition at line 369 of file WorkspaceTreeWidget.cpp.
References m_presenter, and MantidQt::MantidWidgets::ViewNotifiable::SaveWorkspaceCollection.
Referenced by workspaceSelected().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 410 of file WorkspaceTreeWidget.cpp.
References Mantid::Kernel::SingletonHolder< T >::Instance(), m_saveFolderDialog, and m_tree.
|
private |
Set tree item's icon based on the ID of the workspace.
item | :: A workspace tree item. |
wsID | :: An icon type code. |
Definition at line 545 of file WorkspaceTreeWidget.cpp.
Referenced by addTreeEntry().
|
private |
Flips the flag indicating whether a tree update is in progress.
Actions such as sorting are disabled while an update is in progress.
state | The required state for the flag |
Definition at line 183 of file WorkspaceTreeWidget.cpp.
References m_treeUpdating.
Referenced by handleUpdateTree().
|
private |
Definition at line 159 of file WorkspaceTreeWidget.cpp.
References clickedWorkspace(), filterWorkspaceTree(), handleClearView(), handleUpdateTree(), m_clearButton, m_deleteButton, m_groupButton, m_tree, m_workspaceFilter, onClickClearWorkspaces(), onClickDeleteWorkspaces(), onClickGroupButton(), onTreeSelectionChanged(), populateChildData(), popupMenu(), signalClearView(), signalUpdateTree(), and workspaceSelected().
Referenced by WorkspaceTreeWidget().
|
private |
Definition at line 146 of file WorkspaceTreeWidget.cpp.
References m_loadButton, m_loadMenu, onClickLiveData(), and onClickLoad().
Referenced by WorkspaceTreeWidget().
|
private |
Definition at line 103 of file WorkspaceTreeWidget.cpp.
References m_clearButton, m_deleteButton, m_groupButton, m_loadButton, m_mantidDisplayModel, m_saveButton, m_sortButton, m_tree, and m_workspaceFilter.
Referenced by WorkspaceTreeWidget().
|
private |
Check if a workspace should be selected after dock update.
name | :: Name of a workspace to check. |
Definition at line 805 of file WorkspaceTreeWidget.cpp.
References m_mutex, m_renameMap, and m_selectedNames.
Referenced by populateChildData(), and populateTopLevel().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 1529 of file WorkspaceTreeWidget.cpp.
References m_mantidDisplayModel, and MantidQt::MantidWidgets::MantidDisplayBase::showAlgorithmHistory().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 1493 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::MantidDisplayBase::importBoxDataTable(), and m_mantidDisplayModel.
|
overridevirtual |
Draw a color fill plot of the workspaces that are currently selected.
NOTE: The drawing of 2D plots is currently intimately linked with MantidMatrix meaning that one of these must be generated first!
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 1443 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::MantidDisplayBase::drawColorFillPlots(), m_mantidDisplayModel, and m_tree.
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 229 of file WorkspaceTreeWidget.cpp.
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 1482 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::MantidDisplayBase::createDetectorTable(), getSelectedWorkspaceNames(), and m_mantidDisplayModel.
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 1265 of file WorkspaceTreeWidget.cpp.
References m_mantidDisplayModel, and MantidQt::MantidWidgets::MantidDisplayBase::showMantidInstrumentSelected().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 1501 of file WorkspaceTreeWidget.cpp.
References m_mantidDisplayModel, and MantidQt::MantidWidgets::MantidDisplayBase::showListData().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 249 of file WorkspaceTreeWidget.cpp.
References m_mantidDisplayModel.
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 244 of file WorkspaceTreeWidget.cpp.
References m_mantidDisplayModel.
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 1517 of file WorkspaceTreeWidget.cpp.
References m_mantidDisplayModel, and MantidQt::MantidWidgets::MantidDisplayBase::showLogFileWindow().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 1497 of file WorkspaceTreeWidget.cpp.
References m_mantidDisplayModel, and MantidQt::MantidWidgets::MantidDisplayBase::showMDPlot().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 256 of file WorkspaceTreeWidget.cpp.
References m_mantidDisplayModel, and MantidQt::MantidWidgets::MantidDisplayBase::renameWorkspace().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 1523 of file WorkspaceTreeWidget.cpp.
References m_mantidDisplayModel, and MantidQt::MantidWidgets::MantidDisplayBase::showSampleMaterialWindow().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 1513 of file WorkspaceTreeWidget.cpp.
References m_mantidDisplayModel, and MantidQt::MantidWidgets::MantidDisplayBase::showSliceViewer().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 1507 of file WorkspaceTreeWidget.cpp.
References m_mantidDisplayModel, and MantidQt::MantidWidgets::MantidDisplayBase::showSpectrumViewer().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 1533 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::MantidDisplayBase::importTransposed(), and m_mantidDisplayModel.
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 1259 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::MantidDisplayBase::importWorkspace(), and m_mantidDisplayModel.
|
signal |
Referenced by clearView(), and setupConnections().
|
signal |
Referenced by setupConnections(), and updateTree().
|
slot |
Definition at line 309 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::IWorkspaceDockView::Ascending, m_presenter, m_sortDirection, and MantidQt::MantidWidgets::ViewNotifiable::SortWorkspaces.
Referenced by createSortMenuActions().
|
slot |
Definition at line 314 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::IWorkspaceDockView::Descending, m_presenter, m_sortDirection, and MantidQt::MantidWidgets::ViewNotifiable::SortWorkspaces.
Referenced by createSortMenuActions().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 346 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::IWorkspaceDockView::Ascending, isTreeUpdating(), m_tree, MantidQt::MantidWidgets::MantidTreeWidget::setSortOrder(), MantidQt::MantidWidgets::MantidTreeWidget::setSortScheme(), MantidQt::MantidWidgets::MantidTreeWidget::sort(), and whichCriteria().
|
overrideprivate |
Update the workspace tree to match the current state of the ADS.
It is important that the workspace tree is modified only by this method.
items | Items which are currently in the ADS. |
Definition at line 735 of file WorkspaceTreeWidget.cpp.
References incrementUpdateCount(), and signalUpdateTree().
|
private |
Definition at line 354 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::ByLastModified, MantidQt::MantidWidgets::IWorkspaceDockView::ByLastModified, MantidQt::MantidWidgets::ByMemorySize, MantidQt::MantidWidgets::IWorkspaceDockView::ByMemorySize, MantidQt::MantidWidgets::ByName, and MantidQt::MantidWidgets::IWorkspaceDockView::ByName.
Referenced by sortWorkspaces().
|
protectedslot |
Definition at line 1063 of file WorkspaceTreeWidget.cpp.
References addSaveMenuOption(), MantidQt::MantidWidgets::MantidDisplayBase::enableSaveNexus(), getSelectedWorkspaceNames(), m_mantidDisplayModel, m_saveButton, m_saveMenu, and saveWorkspaceCollection().
Referenced by setupConnections().
|
private |
Definition at line 233 of file WorkspaceTreeWidget.h.
Referenced by createSortMenuActions().
|
private |
Definition at line 234 of file WorkspaceTreeWidget.h.
Referenced by createSortMenuActions().
|
private |
Definition at line 233 of file WorkspaceTreeWidget.h.
Referenced by createSortMenuActions().
|
private |
Definition at line 221 of file WorkspaceTreeWidget.h.
Referenced by enableClearButton(), hideButtonToolbar(), setupConnections(), and setupWidgetLayout().
|
private |
Definition at line 235 of file WorkspaceTreeWidget.h.
Referenced by addClearMenuItems(), and createWorkspaceMenuActions().
|
private |
Definition at line 232 of file WorkspaceTreeWidget.h.
Referenced by addMatrixWorkspaceMenuItems(), addWorkspaceGroupMenuItems(), and createWorkspaceMenuActions().
|
private |
Definition at line 234 of file WorkspaceTreeWidget.h.
Referenced by addMDHistoWorkspaceMenuItems(), and createWorkspaceMenuActions().
|
private |
Definition at line 234 of file WorkspaceTreeWidget.h.
Referenced by addTableWorkspaceMenuItems(), and createWorkspaceMenuActions().
|
protected |
Definition at line 211 of file WorkspaceTreeWidget.h.
Referenced by MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple::addGeneralWorkspaceActions(), createWorkspaceMenuActions(), and popupContextMenu().
|
private |
Definition at line 220 of file WorkspaceTreeWidget.h.
Referenced by hideButtonToolbar(), onTreeSelectionChanged(), setupConnections(), and setupWidgetLayout().
|
private |
Definition at line 233 of file WorkspaceTreeWidget.h.
Referenced by createSortMenuActions().
|
private |
Definition at line 217 of file WorkspaceTreeWidget.h.
Referenced by filterWorkspaceTree().
|
private |
Definition at line 222 of file WorkspaceTreeWidget.h.
Referenced by hideButtonToolbar(), onClickGroupButton(), onTreeSelectionChanged(), setupConnections(), and setupWidgetLayout().
|
private |
Definition at line 218 of file WorkspaceTreeWidget.h.
Referenced by hideButtonToolbar(), setupLoadButtonMenu(), and setupWidgetLayout().
|
protected |
Definition at line 209 of file WorkspaceTreeWidget.h.
Referenced by popupContextMenu(), MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple::popupContextMenu(), and setupLoadButtonMenu().
|
private |
Definition at line 215 of file WorkspaceTreeWidget.h.
Referenced by convertMDHistoToMatrixWorkspace(), convertToMatrixWorkspace(), deleteWorkspaces(), executeAlgorithmAsync(), handleClearView(), handleUpdateTree(), onLoadAccept(), onTreeSelectionChanged(), plotSpectrum(), saveToProgram(), saveWorkspace(), setupWidgetLayout(), showAlgorithmHistory(), showBoxDataTable(), showColourFillPlot(), showDetectorsTable(), showInstrumentView(), showListData(), showLiveDataDialog(), showLoadDialog(), showLogs(), showMDPlot(), showRenameDialog(), showSampleMaterialWindow(), showSliceViewer(), showSpectrumViewer(), showTransposed(), showWorkspaceData(), and workspaceSelected().
|
protected |
Definition at line 207 of file WorkspaceTreeWidget.h.
Referenced by popupContextMenu(), MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple::popupContextMenu(), and popupMenu().
|
mutableprivate |
A mutex to lock m_renameMap and m_selectedNames for reading/writing.
Definition at line 249 of file WorkspaceTreeWidget.h.
Referenced by populateTopLevel(), recordWorkspaceRename(), and shouldBeSelected().
|
private |
Definition at line 231 of file WorkspaceTreeWidget.h.
Referenced by addMatrixWorkspaceMenuItems(), addWorkspaceGroupMenuItems(), and createWorkspaceMenuActions().
|
private |
Definition at line 231 of file WorkspaceTreeWidget.h.
Referenced by addMatrixWorkspaceMenuItems(), addWorkspaceGroupMenuItems(), and createWorkspaceMenuActions().
|
private |
Definition at line 231 of file WorkspaceTreeWidget.h.
Referenced by addMatrixWorkspaceMenuItems(), addWorkspaceGroupMenuItems(), and createWorkspaceMenuActions().
|
private |
Definition at line 203 of file WorkspaceTreeWidget.h.
Referenced by chooseByLastModified(), chooseByMemorySize(), chooseByName(), filterWorkspaceTree(), getPresenterWeakPtr(), handleShowSaveAlgorithm(), keyPressEvent(), onClickClearUB(), onClickClearWorkspaces(), onClickConvertMDHistoToMatrixWorkspace(), onClickConvertToMatrixWorkspace(), onClickDeleteWorkspaces(), onClickDrawColorFillPlot(), onClickGroupButton(), onClickLiveData(), onClickLoad(), onClickPlotAdvanced(), onClickPlotSpectra(), onClickPlotSpectraErr(), onClickSaveNexusWorkspace(), onClickSaveToProgram(), onClickShowAlgHistory(), onClickShowBoxData(), onClickShowData(), onClickShowDetectorTable(), onClickShowFileLog(), onClickShowInstrument(), onClickShowListData(), onClickShowMDPlot(), onClickShowSampleMaterial(), onClickShowSliceViewer(), onClickShowSpectrumViewer(), onClickShowTransposed(), popupMenu(), refreshWorkspaces(), renameWorkspace(), saveWorkspaceCollection(), sortAscending(), sortDescending(), and WorkspaceTreeWidget().
|
protected |
Definition at line 211 of file WorkspaceTreeWidget.h.
Referenced by popupContextMenu().
|
protected |
Definition at line 210 of file WorkspaceTreeWidget.h.
Referenced by popupContextMenu().
|
private |
Definition at line 214 of file WorkspaceTreeWidget.h.
Referenced by onClickSaveToProgram(), and saveToProgram().
|
private |
Definition at line 239 of file WorkspaceTreeWidget.h.
Referenced by enableDeletePrompt(), and isPromptDelete().
|
protected |
Definition at line 211 of file WorkspaceTreeWidget.h.
Referenced by MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple::addGeneralWorkspaceActions(), createWorkspaceMenuActions(), and popupContextMenu().
|
private |
Keep a map of renamed workspaces between updates.
Definition at line 247 of file WorkspaceTreeWidget.h.
Referenced by populateTopLevel(), recordWorkspaceRename(), and shouldBeSelected().
|
private |
Definition at line 219 of file WorkspaceTreeWidget.h.
Referenced by hideButtonToolbar(), onTreeSelectionChanged(), setupWidgetLayout(), and workspaceSelected().
|
private |
Definition at line 240 of file WorkspaceTreeWidget.h.
Referenced by getSaveFileType(), handleShowSaveAlgorithm(), and onClickSaveNexusWorkspace().
|
private |
Definition at line 226 of file WorkspaceTreeWidget.h.
Referenced by saveWorkspaces(), and WorkspaceTreeWidget().
|
private |
Definition at line 229 of file WorkspaceTreeWidget.h.
Referenced by addSaveMenuOption(), workspaceSelected(), and WorkspaceTreeWidget().
|
protected |
Definition at line 211 of file WorkspaceTreeWidget.h.
Referenced by MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple::addGeneralWorkspaceActions(), addMatrixWorkspaceMenuItems(), addTableWorkspaceMenuItems(), addWorkspaceGroupMenuItems(), and createWorkspaceMenuActions().
|
protected |
Definition at line 209 of file WorkspaceTreeWidget.h.
Referenced by popupContextMenu().
|
private |
Temporarily keeps names of selected workspaces during tree update in order to restore selection after update.
Definition at line 245 of file WorkspaceTreeWidget.h.
Referenced by populateTopLevel(), and shouldBeSelected().
|
private |
Definition at line 231 of file WorkspaceTreeWidget.h.
Referenced by createWorkspaceMenuActions().
|
private |
Definition at line 231 of file WorkspaceTreeWidget.h.
Referenced by addMatrixWorkspaceMenuItems(), addPeaksWorkspaceMenuItems(), addTableWorkspaceMenuItems(), and createWorkspaceMenuActions().
|
private |
Definition at line 231 of file WorkspaceTreeWidget.h.
Referenced by addMatrixWorkspaceMenuItems(), addPeaksWorkspaceMenuItems(), and createWorkspaceMenuActions().
|
private |
Definition at line 232 of file WorkspaceTreeWidget.h.
Referenced by addMatrixWorkspaceMenuItems(), addMDEventWorkspaceMenuItems(), addMDHistoWorkspaceMenuItems(), addPeaksWorkspaceMenuItems(), addTableWorkspaceMenuItems(), and createWorkspaceMenuActions().
|
private |
Definition at line 231 of file WorkspaceTreeWidget.h.
Referenced by addMatrixWorkspaceMenuItems(), and createWorkspaceMenuActions().
|
private |
Definition at line 233 of file WorkspaceTreeWidget.h.
Referenced by addMDEventWorkspaceMenuItems(), addMDHistoWorkspaceMenuItems(), and createWorkspaceMenuActions().
|
private |
Definition at line 232 of file WorkspaceTreeWidget.h.
Referenced by addMatrixWorkspaceMenuItems(), addMDEventWorkspaceMenuItems(), addMDHistoWorkspaceMenuItems(), and createWorkspaceMenuActions().
|
private |
Definition at line 233 of file WorkspaceTreeWidget.h.
Referenced by addMDHistoWorkspaceMenuItems(), and createWorkspaceMenuActions().
|
private |
Definition at line 232 of file WorkspaceTreeWidget.h.
Referenced by addMatrixWorkspaceMenuItems(), and createWorkspaceMenuActions().
|
private |
Definition at line 232 of file WorkspaceTreeWidget.h.
Referenced by addMatrixWorkspaceMenuItems(), addMDEventWorkspaceMenuItems(), addMDHistoWorkspaceMenuItems(), and createWorkspaceMenuActions().
|
private |
Definition at line 232 of file WorkspaceTreeWidget.h.
Referenced by addMatrixWorkspaceMenuItems(), and createWorkspaceMenuActions().
|
private |
Definition at line 234 of file WorkspaceTreeWidget.h.
Referenced by addTableWorkspaceMenuItems(), and createWorkspaceMenuActions().
|
private |
Definition at line 223 of file WorkspaceTreeWidget.h.
Referenced by createSortMenuActions(), hideButtonToolbar(), and setupWidgetLayout().
|
private |
Definition at line 225 of file WorkspaceTreeWidget.h.
Referenced by createSortMenuActions().
|
private |
Definition at line 241 of file WorkspaceTreeWidget.h.
Referenced by chooseByLastModified(), chooseByMemorySize(), chooseByName(), createSortMenuActions(), and getSortCriteria().
|
private |
Definition at line 242 of file WorkspaceTreeWidget.h.
Referenced by getSortDirection(), sortAscending(), and sortDescending().
|
private |
Definition at line 229 of file WorkspaceTreeWidget.h.
Referenced by createSortMenuActions().
|
protected |
Definition at line 206 of file WorkspaceTreeWidget.h.
Referenced by MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple::addMatrixWorkspaceActions(), addTreeEntry(), dropEvent(), filterWorkspaces(), getSelectedWorkspace(), getSelectedWorkspaceNames(), getSelectedWorkspaceNamesAsQList(), handleClearView(), handleUpdateTree(), onTreeSelectionChanged(), plotSpectrum(), populateChildData(), populateTopLevel(), popupContextMenu(), MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple::popupContextMenu(), saveWorkspaces(), setupConnections(), setupWidgetLayout(), showColourFillPlot(), sortWorkspaces(), WorkspaceTreeWidget(), and MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple::WorkspaceTreeWidgetSimple().
|
private |
Definition at line 238 of file WorkspaceTreeWidget.h.
Referenced by setTreeUpdating().
|
private |
Definition at line 237 of file WorkspaceTreeWidget.h.
Referenced by handleUpdateTree(), and incrementUpdateCount().
|
private |
Definition at line 227 of file WorkspaceTreeWidget.h.
Referenced by popupMenu(), and WorkspaceTreeWidget().
|
private |
Definition at line 224 of file WorkspaceTreeWidget.h.
Referenced by getFilterText(), populateTopLevel(), setupConnections(), and setupWidgetLayout().
|
protected |
Definition at line 208 of file WorkspaceTreeWidget.h.
Referenced by popupContextMenu(), MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple::popupContextMenu(), and saveToProgram().