Mantid
Loading...
Searching...
No Matches
qt
widgets
common
inc
MantidQtWidgets
Common
WorkspacePresenter
ViewNotifiable.h
Go to the documentation of this file.
1
// Mantid Repository : https://github.com/mantidproject/mantid
2
//
3
// Copyright © 2016 ISIS Rutherford Appleton Laboratory UKRI,
4
// NScD Oak Ridge National Laboratory, European Spallation Source,
5
// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6
// SPDX - License - Identifier: GPL - 3.0 +
7
#pragma once
15
namespace
MantidQt
{
16
namespace
MantidWidgets {
17
18
class
ViewNotifiable
{
19
public
:
20
virtual
~ViewNotifiable
() =
default
;
21
22
enum class
Flag
{
23
LoadWorkspace
,
24
LoadLiveDataWorkspace
,
25
RenameWorkspace
,
26
DeleteWorkspaces
,
27
ClearWorkspaces
,
28
GroupWorkspaces
,
29
UngroupWorkspaces
,
30
SortWorkspaces
,
31
SaveSingleWorkspace
,
32
SaveWorkspaceCollection
,
33
FilterWorkspaces
,
34
PopulateAndShowWorkspaceContextMenu
,
35
SaveToProgram
,
36
ShowWorkspaceData
,
37
ShowInstrumentView
,
38
PlotSpectrum
,
39
PlotSpectrumWithErrors
,
40
PlotSpectrumAdvanced
,
41
ShowColourFillPlot
,
42
ShowDetectorsTable
,
43
ShowBoxDataTable
,
44
ShowMDPlot
,
45
ShowListData
,
46
ShowSpectrumViewer
,
47
ShowSliceViewer
,
48
ShowLogs
,
49
ShowSampleMaterialWindow
,
50
ShowAlgorithmHistory
,
51
ShowTransposed
,
52
ConvertToMatrixWorkspace
,
53
ConvertMDHistoToMatrixWorkspace
,
54
ClearUBMatrix
,
55
RefreshWorkspaces
56
};
57
58
virtual
void
notifyFromView
(
Flag
flag) = 0;
59
};
60
61
}
// namespace MantidWidgets
62
}
// namespace MantidQt
MantidQt::MantidWidgets::ViewNotifiable
Definition:
ViewNotifiable.h:18
MantidQt::MantidWidgets::ViewNotifiable::~ViewNotifiable
virtual ~ViewNotifiable()=default
MantidQt::MantidWidgets::ViewNotifiable::Flag
Flag
Definition:
ViewNotifiable.h:22
MantidQt::MantidWidgets::ViewNotifiable::Flag::DeleteWorkspaces
@ DeleteWorkspaces
MantidQt::MantidWidgets::ViewNotifiable::Flag::ShowSpectrumViewer
@ ShowSpectrumViewer
MantidQt::MantidWidgets::ViewNotifiable::Flag::SortWorkspaces
@ SortWorkspaces
MantidQt::MantidWidgets::ViewNotifiable::Flag::RefreshWorkspaces
@ RefreshWorkspaces
MantidQt::MantidWidgets::ViewNotifiable::Flag::ShowTransposed
@ ShowTransposed
MantidQt::MantidWidgets::ViewNotifiable::Flag::ClearUBMatrix
@ ClearUBMatrix
MantidQt::MantidWidgets::ViewNotifiable::Flag::ShowAlgorithmHistory
@ ShowAlgorithmHistory
MantidQt::MantidWidgets::ViewNotifiable::Flag::LoadWorkspace
@ LoadWorkspace
MantidQt::MantidWidgets::ViewNotifiable::Flag::GroupWorkspaces
@ GroupWorkspaces
MantidQt::MantidWidgets::ViewNotifiable::Flag::ShowColourFillPlot
@ ShowColourFillPlot
MantidQt::MantidWidgets::ViewNotifiable::Flag::LoadLiveDataWorkspace
@ LoadLiveDataWorkspace
MantidQt::MantidWidgets::ViewNotifiable::Flag::ShowSampleMaterialWindow
@ ShowSampleMaterialWindow
MantidQt::MantidWidgets::ViewNotifiable::Flag::ConvertToMatrixWorkspace
@ ConvertToMatrixWorkspace
MantidQt::MantidWidgets::ViewNotifiable::Flag::ShowWorkspaceData
@ ShowWorkspaceData
MantidQt::MantidWidgets::ViewNotifiable::Flag::PlotSpectrumAdvanced
@ PlotSpectrumAdvanced
MantidQt::MantidWidgets::ViewNotifiable::Flag::ShowMDPlot
@ ShowMDPlot
MantidQt::MantidWidgets::ViewNotifiable::Flag::ShowSliceViewer
@ ShowSliceViewer
MantidQt::MantidWidgets::ViewNotifiable::Flag::SaveSingleWorkspace
@ SaveSingleWorkspace
MantidQt::MantidWidgets::ViewNotifiable::Flag::SaveWorkspaceCollection
@ SaveWorkspaceCollection
MantidQt::MantidWidgets::ViewNotifiable::Flag::PlotSpectrumWithErrors
@ PlotSpectrumWithErrors
MantidQt::MantidWidgets::ViewNotifiable::Flag::ShowBoxDataTable
@ ShowBoxDataTable
MantidQt::MantidWidgets::ViewNotifiable::Flag::RenameWorkspace
@ RenameWorkspace
MantidQt::MantidWidgets::ViewNotifiable::Flag::ShowListData
@ ShowListData
MantidQt::MantidWidgets::ViewNotifiable::Flag::ShowInstrumentView
@ ShowInstrumentView
MantidQt::MantidWidgets::ViewNotifiable::Flag::ConvertMDHistoToMatrixWorkspace
@ ConvertMDHistoToMatrixWorkspace
MantidQt::MantidWidgets::ViewNotifiable::Flag::UngroupWorkspaces
@ UngroupWorkspaces
MantidQt::MantidWidgets::ViewNotifiable::Flag::PlotSpectrum
@ PlotSpectrum
MantidQt::MantidWidgets::ViewNotifiable::Flag::FilterWorkspaces
@ FilterWorkspaces
MantidQt::MantidWidgets::ViewNotifiable::Flag::PopulateAndShowWorkspaceContextMenu
@ PopulateAndShowWorkspaceContextMenu
MantidQt::MantidWidgets::ViewNotifiable::Flag::ShowLogs
@ ShowLogs
MantidQt::MantidWidgets::ViewNotifiable::Flag::ShowDetectorsTable
@ ShowDetectorsTable
MantidQt::MantidWidgets::ViewNotifiable::Flag::ClearWorkspaces
@ ClearWorkspaces
MantidQt::MantidWidgets::ViewNotifiable::Flag::SaveToProgram
@ SaveToProgram
MantidQt::MantidWidgets::ViewNotifiable::notifyFromView
virtual void notifyFromView(Flag flag)=0
MantidQt
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...
Definition:
AddWorkspaceDialog.h:20
Generated on Tue Jan 3 2023 11:58:01 for Mantid by
1.9.5