|
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. | |
| void | onClickDeleteWorkspaces () |
| Handles delete button/menu item triggers. | |
| void | onClickSaveToProgram (const QString &name) |
| void | populateChildData (QTreeWidgetItem *item) |
| When an item is expanded, populate the child data for this item. | |
| 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. | |
| 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. | |
| void | enableClearButton (bool enable) override |
| Enables and disables the Clear Workspaces Button. | |
| void | enableDeletePrompt (bool enable) override |
| bool | executeAlgorithmAsync (Mantid::API::IAlgorithm_sptr alg, const bool wait=true) override |
| Allows asynchronous execution of algorithms. | |
| 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) | |
| MantidQt::MantidWidgets::StringList | getSelectedWorkspaceNames () const override |
| Returns the names of the selected workspaces in the dock. | |
| 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. | |
| void | popupContextMenu () override |
| void | recordWorkspaceRename (const std::string &oldName, const std::string &newName) override |
| Save the old and the new name in m_renameMap. | |
| void | refreshWorkspaces () override |
| void | saveToProgram () override |
| Saves a workspace based on the program the user chooses to save to. | |
| 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. | |
| 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 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. | |
| 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 Slots | |
| void | filterWorkspaceTree (const QString &text) |
| Filter workspaces based on the string provided. | |
| void | handleClearView () |
| void | handleShowSaveAlgorithm () |
| void | handleUpdateTree (const TopLevelItems &) |
| Handle asynchronous tree update. | |
| void | incrementUpdateCount () |
| void | onClickClearUB () |
| Handler for the clear the UB matrix event. | |
| void | onClickConvertMDHistoToMatrixWorkspace () |
| Convert selected MDHistoWorkspace to a MatrixWorkspace. | |
| void | onClickConvertToMatrixWorkspace () |
| Convert selected TableWorkspace to a MatrixWorkspace. | |
| void | onClickDrawColorFillPlot () |
| void | onClickGroupButton () |
| Handles group button clicks. | |
| void | onClickLiveData () |
| handles Live Data menu trigger | |
| void | onClickLoad () |
| Handles Load File menu trigger. | |
| void | onClickPlotAdvanced () |
| void | onClickPlotSpectra () |
| void | onClickPlotSpectraErr () |
| void | onClickSaveNexusWorkspace () |
| void | onClickShowAlgHistory () |
| void | onClickShowBoxData () |
| void | onClickShowData () |
| void | onClickShowDetectorTable () |
| void | onClickShowFileLog () |
| void | onClickShowInstrument () |
| void | onClickShowListData () |
| void | onClickShowMDPlot () |
| void | onClickShowSampleMaterial () |
| void | onClickShowSliceViewer () |
| void | onClickShowSpectrumViewer () |
| void | onClickShowTransposed () |
| void | onLoadAccept () |
| void | onTreeSelectionChanged () |
Private Member Functions | |
| void | addClearMenuItems (QMenu *menu, const QString &wsName) |
| Add menu for clearing workspace items. | |
| void | addMatrixWorkspaceMenuItems (QMenu *menu, const Mantid::API::MatrixWorkspace_const_sptr &matrixWS) const |
| Add the actions that are appropriate for a MatrixWorkspace. | |
| void | addMDEventWorkspaceMenuItems (QMenu *menu, const Mantid::API::IMDEventWorkspace_const_sptr &mdeventWS) const |
| Add the actions that are appropriate for a MDEventWorkspace. | |
| 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. | |
| void | addSaveMenuOption (const QString &algorithmString, QString menuEntryName="") |
| Adds an algorithm to the save menu. | |
| void | addTableWorkspaceMenuItems (QMenu *menu) const |
| Add the actions that are appropriate for a MatrixWorkspace. | |
| 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. | |
| void | addWorkspaceGroupMenuItems (QMenu *menu) const |
| Add the actions that are appropriate for a WorkspaceGroup. | |
| void | createSortMenuActions () |
| Create actions for sorting. | |
| void | createWorkspaceMenuActions () |
| Create the action items associated with the dock. | |
| 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. | |
| void | setItemIcon (QTreeWidgetItem *item, const std::string &wsID) |
| Set tree item's icon based on the ID of the workspace. | |
| void | setTreeUpdating (const bool state) |
| Flips the flag indicating whether a tree update is in progress. | |
| void | setupConnections () |
| void | setupLoadButtonMenu () |
| void | setupWidgetLayout () |
| bool | shouldBeSelected (const QString &name) const |
| Check if a workspace should be selected after dock update. | |
| void | updateTree (const TopLevelItems &items) override |
| Update the workspace tree to match the current state of the ADS. | |
| 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 125 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 1081 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 961 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 1011 of file WorkspaceTreeWidget.cpp.
References m_showHist, m_showListData, m_showLogs, and m_showSliceViewer.
Referenced by popupContextMenu().
|
private |
Definition at line 1022 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 1037 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 1107 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 1068 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 878 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 1050 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 292 of file WorkspaceTreeWidget.cpp.
Referenced by clearWorkspacesConfirmation(), and deleteConfirmation().
|
slot |
Definition at line 392 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 397 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 387 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 375 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 1141 of file WorkspaceTreeWidget.cpp.
References askUserYesNo().
|
slot |
Definition at line 1156 of file WorkspaceTreeWidget.cpp.
Referenced by setupConnections().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 1638 of file WorkspaceTreeWidget.cpp.
References m_mantidDisplayModel, and MantidQt::MantidWidgets::MantidDisplayBase::showAlgorithmDialog().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 1634 of file WorkspaceTreeWidget.cpp.
References m_mantidDisplayModel, and MantidQt::MantidWidgets::MantidDisplayBase::showAlgorithmDialog().
|
private |
Create actions for sorting.
Definition at line 728 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::IWorkspaceDockView::ByName, chooseByLastModified(), chooseByMemorySize(), chooseByName(), m_sortButton, m_sortCriteria, sortAscending(), and sortDescending().
Referenced by WorkspaceTreeWidget().
|
private |
Create the action items associated with the dock.
Definition at line 649 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 363 of file WorkspaceTreeWidget.cpp.
References askUserYesNo().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 368 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 170 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 1149 of file WorkspaceTreeWidget.cpp.
References m_clearButton.
Referenced by handleUpdateTree().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 359 of file WorkspaceTreeWidget.cpp.
References m_promptDelete.
|
private |
Definition at line 402 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 1654 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::MantidDisplayBase::executeAlgorithmAsync(), and m_mantidDisplayModel.
Referenced by saveToProgram().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 532 of file WorkspaceTreeWidget.cpp.
|
privateslot |
Filter workspaces based on the string provided.
| text | : the string to filter on. |
Definition at line 1127 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 530 of file WorkspaceTreeWidget.cpp.
References m_workspaceFilter.
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 255 of file WorkspaceTreeWidget.cpp.
References m_presenter.
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 464 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 285 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 262 of file WorkspaceTreeWidget.cpp.
References m_tree.
Referenced by handleShowSaveAlgorithm(), showDetectorsTable(), and workspaceSelected().
| QStringList MantidQt::MantidWidgets::WorkspaceTreeWidget::getSelectedWorkspaceNamesAsQList | ( | ) | const |
Definition at line 272 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::onShowNewInstrumentViewClicked(), MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple::onSliceViewerClicked(), MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple::onSuperplotBinsClicked(), MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple::onSuperplotBinsWithErrsClicked(), MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple::onSuperplotClicked(), MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple::onSuperplotWithErrsClicked(), and MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple::popupContextMenu().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 412 of file WorkspaceTreeWidget.cpp.
References m_sortCriteria.
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 410 of file WorkspaceTreeWidget.cpp.
References m_sortDirection.
|
privateslot |
Definition at line 1222 of file WorkspaceTreeWidget.cpp.
References m_mantidDisplayModel, m_tree, and MantidQt::MantidWidgets::MantidDisplayBase::updateProject().
Referenced by setupConnections().
|
privateslot |
Definition at line 441 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::IWorkspaceDockView::ASCII, getSelectedWorkspaceNames(), m_presenter, m_saveFileType, MantidQt::MantidWidgets::IWorkspaceDockView::Nexus, MantidQt::MantidWidgets::ViewNotifiable::SaveSingleWorkspace, and saveWorkspaces().
Referenced by addSaveMenuOption().
|
privateslot |
Handle asynchronous tree update.
Definition at line 1194 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 1090 of file WorkspaceTreeWidget.cpp.
Referenced by addClearMenuItems().
|
private |
Definition at line 1658 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 253 of file WorkspaceTreeWidget.cpp.
References m_updateCount.
Referenced by updateTree().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 361 of file WorkspaceTreeWidget.cpp.
References m_promptDelete.
|
inlineprivate |
Definition at line 126 of file WorkspaceTreeWidget.h.
Referenced by sortWorkspaces().
|
overrideslot |
Definition at line 1550 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::ViewNotifiable::DeleteWorkspaces, and m_presenter.
|
privateslot |
Handler for the clear the UB matrix event.
Definition at line 1645 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::ViewNotifiable::ClearUBMatrix, and m_presenter.
Referenced by createWorkspaceMenuActions().
|
slot |
Handles clear button trigger.
Definition at line 1152 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 1630 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 1623 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 1133 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::ViewNotifiable::DeleteWorkspaces, and m_presenter.
Referenced by createWorkspaceMenuActions(), and setupConnections().
|
privateslot |
Definition at line 1515 of file WorkspaceTreeWidget.cpp.
References m_presenter, and MantidQt::MantidWidgets::ViewNotifiable::ShowColourFillPlot.
Referenced by createWorkspaceMenuActions().
|
privateslot |
Handles group button clicks.
Definition at line 1173 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 1188 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::ViewNotifiable::LoadLiveDataWorkspace, and m_presenter.
Referenced by setupLoadButtonMenu().
|
privateslot |
Handles Load File menu trigger.
Definition at line 1185 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::ViewNotifiable::LoadWorkspace, and m_presenter.
Referenced by setupLoadButtonMenu().
|
privateslot |
Definition at line 1472 of file WorkspaceTreeWidget.cpp.
References m_presenter, and MantidQt::MantidWidgets::ViewNotifiable::PlotSpectrumAdvanced.
Referenced by createWorkspaceMenuActions().
|
privateslot |
Definition at line 1466 of file WorkspaceTreeWidget.cpp.
References m_presenter, and MantidQt::MantidWidgets::ViewNotifiable::PlotSpectrum.
Referenced by createWorkspaceMenuActions().
|
privateslot |
Definition at line 1468 of file WorkspaceTreeWidget.cpp.
References m_presenter, and MantidQt::MantidWidgets::ViewNotifiable::PlotSpectrumWithErrors.
Referenced by createWorkspaceMenuActions().
|
privateslot |
Definition at line 1616 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 1345 of file WorkspaceTreeWidget.cpp.
References m_presenter, m_programName, name, and MantidQt::MantidWidgets::ViewNotifiable::SaveToProgram.
Referenced by popupContextMenu().
|
privateslot |
Definition at line 1606 of file WorkspaceTreeWidget.cpp.
References m_presenter, and MantidQt::MantidWidgets::ViewNotifiable::ShowAlgorithmHistory.
Referenced by createWorkspaceMenuActions().
|
privateslot |
Definition at line 1572 of file WorkspaceTreeWidget.cpp.
References m_presenter, and MantidQt::MantidWidgets::ViewNotifiable::ShowBoxDataTable.
Referenced by createWorkspaceMenuActions().
|
privateslot |
Definition at line 1335 of file WorkspaceTreeWidget.cpp.
References m_presenter, and MantidQt::MantidWidgets::ViewNotifiable::ShowWorkspaceData.
Referenced by createWorkspaceMenuActions().
|
privateslot |
Definition at line 1559 of file WorkspaceTreeWidget.cpp.
References m_presenter, and MantidQt::MantidWidgets::ViewNotifiable::ShowDetectorsTable.
Referenced by createWorkspaceMenuActions().
|
privateslot |
Definition at line 1596 of file WorkspaceTreeWidget.cpp.
References m_presenter, and MantidQt::MantidWidgets::ViewNotifiable::ShowLogs.
Referenced by createWorkspaceMenuActions().
|
privateslot |
Definition at line 1339 of file WorkspaceTreeWidget.cpp.
References m_presenter, and MantidQt::MantidWidgets::ViewNotifiable::ShowInstrumentView.
Referenced by createWorkspaceMenuActions().
|
privateslot |
Definition at line 1580 of file WorkspaceTreeWidget.cpp.
References m_presenter, and MantidQt::MantidWidgets::ViewNotifiable::ShowListData.
Referenced by createWorkspaceMenuActions().
|
privateslot |
Definition at line 1576 of file WorkspaceTreeWidget.cpp.
References m_presenter, and MantidQt::MantidWidgets::ViewNotifiable::ShowMDPlot.
Referenced by createWorkspaceMenuActions().
|
privateslot |
Definition at line 1600 of file WorkspaceTreeWidget.cpp.
References m_presenter, and MantidQt::MantidWidgets::ViewNotifiable::ShowSampleMaterialWindow.
Referenced by createWorkspaceMenuActions().
|
privateslot |
Definition at line 1590 of file WorkspaceTreeWidget.cpp.
References m_presenter, and MantidQt::MantidWidgets::ViewNotifiable::ShowSliceViewer.
Referenced by createWorkspaceMenuActions().
|
privateslot |
Definition at line 1584 of file WorkspaceTreeWidget.cpp.
References m_presenter, and MantidQt::MantidWidgets::ViewNotifiable::ShowSpectrumViewer.
Referenced by createWorkspaceMenuActions().
|
privateslot |
Definition at line 1612 of file WorkspaceTreeWidget.cpp.
References m_presenter, and MantidQt::MantidWidgets::ViewNotifiable::ShowTransposed.
Referenced by createWorkspaceMenuActions().
|
privateslot |
Definition at line 301 of file WorkspaceTreeWidget.cpp.
References m_mantidDisplayModel, and MantidQt::MantidWidgets::MantidDisplayBase::updateRecentFilesList().
|
privateslot |
Definition at line 915 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 1479 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 782 of file WorkspaceTreeWidget.cpp.
References addTreeEntry(), excludeItemFromSort(), group, 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 841 of file WorkspaceTreeWidget.cpp.
References addTreeEntry(), filterWorkspaceTree(), m_mutex, m_renameMap, m_selectedNames, m_tree, m_workspaceFilter, name, and shouldBeSelected().
Referenced by handleUpdateTree().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Reimplemented in MantidQt::MantidWidgets::WorkspaceTreeWidgetSimple.
Definition at line 1237 of file WorkspaceTreeWidget.cpp.
References addClearMenuItems(), addMatrixWorkspaceMenuItems(), addMDEventWorkspaceMenuItems(), addMDHistoWorkspaceMenuItems(), addPeaksWorkspaceMenuItems(), addTableWorkspaceMenuItems(), addWorkspaceGroupMenuItems(), m_delete, m_loadMenu, m_menuPosition, m_program, m_programMapper, m_rename, m_saveToProgram, m_tree, name, onClickSaveToProgram(), and selectedWsName.
|
protectedslot |
Handles display of the workspace context menu.
Definition at line 1230 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 340 of file WorkspaceTreeWidget.cpp.
References m_mutex, m_renameMap, and name.
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 357 of file WorkspaceTreeWidget.cpp.
References m_presenter, and MantidQt::MantidWidgets::ViewNotifiable::RefreshWorkspaces.
|
slot |
Definition at line 322 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 1353 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::MantidDisplayBase::createAlgorithm(), executeAlgorithmAsync(), Mantid::API::FileProperty::getDefaultExt(), m_mantidDisplayModel, m_programName, and selectedWsName.
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 466 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::IWorkspaceDockView::ASCII, m_mantidDisplayModel, MantidQt::MantidWidgets::IWorkspaceDockView::Nexus, and MantidQt::MantidWidgets::MantidDisplayBase::showAlgorithmDialog().
|
slot |
Definition at line 437 of file WorkspaceTreeWidget.cpp.
References m_presenter, and MantidQt::MantidWidgets::ViewNotifiable::SaveWorkspaceCollection.
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 486 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::IWorkspaceDockView::ASCII, m_saveFileType, m_saveFolderDialog, m_tree, and MantidQt::MantidWidgets::IWorkspaceDockView::Nexus.
Referenced by handleShowSaveAlgorithm().
|
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 638 of file WorkspaceTreeWidget.cpp.
References MantidQt::API::WorkspaceIcons::getIcon().
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 251 of file WorkspaceTreeWidget.cpp.
References m_treeUpdating.
Referenced by handleUpdateTree().
|
private |
Definition at line 227 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 214 of file WorkspaceTreeWidget.cpp.
References m_loadButton, m_loadMenu, onClickLiveData(), and onClickLoad().
Referenced by WorkspaceTreeWidget().
|
private |
Definition at line 172 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 903 of file WorkspaceTreeWidget.cpp.
References m_mutex, m_renameMap, m_selectedNames, and name.
Referenced by populateChildData(), and populateTopLevel().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 1610 of file WorkspaceTreeWidget.cpp.
References m_mantidDisplayModel, and MantidQt::MantidWidgets::MantidDisplayBase::showAlgorithmHistory().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 1574 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 1524 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::MantidDisplayBase::drawColorFillPlots(), m_mantidDisplayModel, m_tree, and name.
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 297 of file WorkspaceTreeWidget.cpp.
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 1563 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::MantidDisplayBase::createDetectorTable(), getSelectedWorkspaceNames(), and m_mantidDisplayModel.
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 1343 of file WorkspaceTreeWidget.cpp.
References m_mantidDisplayModel, and MantidQt::MantidWidgets::MantidDisplayBase::showMantidInstrumentSelected().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 1582 of file WorkspaceTreeWidget.cpp.
References m_mantidDisplayModel, and MantidQt::MantidWidgets::MantidDisplayBase::showListData().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 317 of file WorkspaceTreeWidget.cpp.
References m_mantidDisplayModel.
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 312 of file WorkspaceTreeWidget.cpp.
References m_mantidDisplayModel.
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 1598 of file WorkspaceTreeWidget.cpp.
References m_mantidDisplayModel, and MantidQt::MantidWidgets::MantidDisplayBase::showLogFileWindow().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 1578 of file WorkspaceTreeWidget.cpp.
References m_mantidDisplayModel, and MantidQt::MantidWidgets::MantidDisplayBase::showMDPlot().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 324 of file WorkspaceTreeWidget.cpp.
References m_mantidDisplayModel, and MantidQt::MantidWidgets::MantidDisplayBase::renameWorkspace().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 1604 of file WorkspaceTreeWidget.cpp.
References m_mantidDisplayModel, and MantidQt::MantidWidgets::MantidDisplayBase::showSampleMaterialWindow().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 1594 of file WorkspaceTreeWidget.cpp.
References m_mantidDisplayModel, and MantidQt::MantidWidgets::MantidDisplayBase::showSliceViewer().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 1588 of file WorkspaceTreeWidget.cpp.
References m_mantidDisplayModel, and MantidQt::MantidWidgets::MantidDisplayBase::showSpectrumViewer().
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 1614 of file WorkspaceTreeWidget.cpp.
References MantidQt::MantidWidgets::MantidDisplayBase::importTransposed(), and m_mantidDisplayModel.
|
overridevirtual |
Implements MantidQt::MantidWidgets::IWorkspaceDockView.
Definition at line 1337 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 377 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 382 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 414 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 831 of file WorkspaceTreeWidget.cpp.
References incrementUpdateCount(), and signalUpdateTree().
|
private |
Definition at line 422 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 1158 of file WorkspaceTreeWidget.cpp.
References addSaveMenuOption(), getSelectedWorkspaceNames(), m_saveButton, and m_saveMenu.
Referenced by setupConnections().
|
private |
Definition at line 221 of file WorkspaceTreeWidget.h.
Referenced by enableClearButton(), hideButtonToolbar(), setupConnections(), and setupWidgetLayout().
|
private |
Definition at line 233 of file WorkspaceTreeWidget.h.
Referenced by addClearMenuItems(), and createWorkspaceMenuActions().
|
private |
Definition at line 231 of file WorkspaceTreeWidget.h.
Referenced by addMatrixWorkspaceMenuItems(), addWorkspaceGroupMenuItems(), 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 addTableWorkspaceMenuItems(), and createWorkspaceMenuActions().
|
protected |
Definition at line 211 of file WorkspaceTreeWidget.h.
Referenced by createWorkspaceMenuActions(), and popupContextMenu().
|
private |
Definition at line 220 of file WorkspaceTreeWidget.h.
Referenced by hideButtonToolbar(), onTreeSelectionChanged(), setupConnections(), and setupWidgetLayout().
|
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(), and showWorkspaceData().
|
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 247 of file WorkspaceTreeWidget.h.
Referenced by populateTopLevel(), recordWorkspaceRename(), and shouldBeSelected().
|
private |
Definition at line 230 of file WorkspaceTreeWidget.h.
Referenced by addMatrixWorkspaceMenuItems(), addWorkspaceGroupMenuItems(), and createWorkspaceMenuActions().
|
private |
Definition at line 230 of file WorkspaceTreeWidget.h.
Referenced by addMatrixWorkspaceMenuItems(), addWorkspaceGroupMenuItems(), and createWorkspaceMenuActions().
|
private |
Definition at line 230 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 237 of file WorkspaceTreeWidget.h.
Referenced by enableDeletePrompt(), and isPromptDelete().
|
protected |
Definition at line 211 of file WorkspaceTreeWidget.h.
Referenced by createWorkspaceMenuActions(), and popupContextMenu().
|
private |
Keep a map of renamed workspaces between updates.
Definition at line 245 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 238 of file WorkspaceTreeWidget.h.
Referenced by getSaveFileType(), handleShowSaveAlgorithm(), onClickSaveNexusWorkspace(), and saveWorkspaces().
|
private |
Definition at line 225 of file WorkspaceTreeWidget.h.
Referenced by saveWorkspaces(), and WorkspaceTreeWidget().
|
private |
Definition at line 228 of file WorkspaceTreeWidget.h.
Referenced by addSaveMenuOption(), workspaceSelected(), and WorkspaceTreeWidget().
|
protected |
Definition at line 211 of file WorkspaceTreeWidget.h.
Referenced by 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 243 of file WorkspaceTreeWidget.h.
Referenced by populateTopLevel(), and shouldBeSelected().
|
private |
Definition at line 230 of file WorkspaceTreeWidget.h.
Referenced by createWorkspaceMenuActions().
|
private |
Definition at line 230 of file WorkspaceTreeWidget.h.
Referenced by addMatrixWorkspaceMenuItems(), addPeaksWorkspaceMenuItems(), addTableWorkspaceMenuItems(), and createWorkspaceMenuActions().
|
private |
Definition at line 230 of file WorkspaceTreeWidget.h.
Referenced by addMatrixWorkspaceMenuItems(), addPeaksWorkspaceMenuItems(), and createWorkspaceMenuActions().
|
private |
Definition at line 231 of file WorkspaceTreeWidget.h.
Referenced by addMatrixWorkspaceMenuItems(), addMDEventWorkspaceMenuItems(), addMDHistoWorkspaceMenuItems(), addPeaksWorkspaceMenuItems(), addTableWorkspaceMenuItems(), and createWorkspaceMenuActions().
|
private |
Definition at line 230 of file WorkspaceTreeWidget.h.
Referenced by addMatrixWorkspaceMenuItems(), and createWorkspaceMenuActions().
|
private |
Definition at line 232 of file WorkspaceTreeWidget.h.
Referenced by addMDEventWorkspaceMenuItems(), addMDHistoWorkspaceMenuItems(), and createWorkspaceMenuActions().
|
private |
Definition at line 231 of file WorkspaceTreeWidget.h.
Referenced by addMatrixWorkspaceMenuItems(), addMDEventWorkspaceMenuItems(), addMDHistoWorkspaceMenuItems(), and createWorkspaceMenuActions().
|
private |
Definition at line 232 of file WorkspaceTreeWidget.h.
Referenced by addMDHistoWorkspaceMenuItems(), and createWorkspaceMenuActions().
|
private |
Definition at line 231 of file WorkspaceTreeWidget.h.
Referenced by addMatrixWorkspaceMenuItems(), and createWorkspaceMenuActions().
|
private |
Definition at line 231 of file WorkspaceTreeWidget.h.
Referenced by addMatrixWorkspaceMenuItems(), addMDEventWorkspaceMenuItems(), addMDHistoWorkspaceMenuItems(), and createWorkspaceMenuActions().
|
private |
Definition at line 231 of file WorkspaceTreeWidget.h.
Referenced by addMatrixWorkspaceMenuItems(), and createWorkspaceMenuActions().
|
private |
Definition at line 232 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 239 of file WorkspaceTreeWidget.h.
Referenced by chooseByLastModified(), chooseByMemorySize(), chooseByName(), createSortMenuActions(), and getSortCriteria().
|
private |
Definition at line 240 of file WorkspaceTreeWidget.h.
Referenced by getSortDirection(), sortAscending(), and sortDescending().
|
protected |
Definition at line 206 of file WorkspaceTreeWidget.h.
Referenced by 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 236 of file WorkspaceTreeWidget.h.
Referenced by setTreeUpdating().
|
private |
Definition at line 235 of file WorkspaceTreeWidget.h.
Referenced by handleUpdateTree(), and incrementUpdateCount().
|
private |
Definition at line 226 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().