Loading [MathJax]/extensions/tex2jax.js
Mantid
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Enumerations
a
c
d
e
f
h
i
l
m
n
o
p
q
r
s
t
u
w
x
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
y
z
Enumerations
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Properties
a
b
e
f
i
l
m
o
s
t
u
w
Related Functions
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
u
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Variables
_
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
a
b
c
e
f
k
l
o
p
r
s
t
v
w
Macros
a
b
c
d
e
f
g
i
k
l
m
n
p
q
r
s
t
u
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
Loading...
Searching...
No Matches
qt
widgets
common
inc
MantidQtWidgets
Common
IProjectSaveView.h
Go to the documentation of this file.
1
// Mantid Repository : https://github.com/mantidproject/mantid
2
//
3
// Copyright © 2011 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
8
9
#include "
MantidQtWidgets/Common/IProjectSerialisable.h
"
10
11
#include <QMainWindow>
12
#include <QWidget>
13
#include <set>
14
#include <string>
15
#include <vector>
16
17
namespace
MantidQt
{
18
namespace
MantidWidgets {
19
20
struct
WindowInfo;
21
struct
WorkspaceInfo;
22
28
class
IProjectSaveView
{
29
public
:
31
virtual
std::vector<MantidQt::API::IProjectSerialisable *>
getWindows
() = 0;
33
virtual
std::vector<std::string>
getAllPythonInterfaces
() = 0;
34
36
virtual
std::vector<std::string>
getCheckedWorkspaceNames
() = 0;
38
virtual
std::vector<std::string>
getUncheckedWorkspaceNames
() = 0;
40
virtual
std::vector<std::string>
getCheckedPythonInterfaces
() = 0;
42
virtual
std::vector<std::string>
getUncheckedPythonInterfaces
() = 0;
44
virtual
QString
getProjectPath
() = 0;
46
virtual
void
setProjectPath
(
const
QString &path) = 0;
48
virtual
void
updateWorkspacesList
(
const
std::vector<WorkspaceInfo> &workspaces) = 0;
50
virtual
void
updateInterfacesList
(
const
std::vector<std::string> &interfaces) = 0;
52
virtual
void
updateIncludedWindowsList
(
const
std::vector<WindowInfo> &windows) = 0;
54
virtual
void
updateExcludedWindowsList
(
const
std::vector<WindowInfo> &windows) = 0;
56
virtual
void
removeFromIncludedWindowsList
(
const
std::vector<std::string> &windows) = 0;
58
virtual
void
removeFromExcludedWindowsList
(
const
std::vector<std::string> &windows) = 0;
59
};
60
}
// namespace MantidWidgets
61
}
// namespace MantidQt
IProjectSerialisable.h
MantidQt::MantidWidgets::IProjectSaveView
IProjectSaveView is the interface for defining the functions that the project save view needs to impl...
Definition:
IProjectSaveView.h:28
MantidQt::MantidWidgets::IProjectSaveView::getAllPythonInterfaces
virtual std::vector< std::string > getAllPythonInterfaces()=0
Get all active python interfaces names passed to the view.
MantidQt::MantidWidgets::IProjectSaveView::getWindows
virtual std::vector< MantidQt::API::IProjectSerialisable * > getWindows()=0
Get all window handles passed to the view.
MantidQt::MantidWidgets::IProjectSaveView::updateInterfacesList
virtual void updateInterfacesList(const std::vector< std::string > &interfaces)=0
Update the list of interfaces.
MantidQt::MantidWidgets::IProjectSaveView::getUncheckedPythonInterfaces
virtual std::vector< std::string > getUncheckedPythonInterfaces()=0
Get any unchecked interface names on the view.
MantidQt::MantidWidgets::IProjectSaveView::updateExcludedWindowsList
virtual void updateExcludedWindowsList(const std::vector< WindowInfo > &windows)=0
Update the excluded windows list with a collection of window info items.
MantidQt::MantidWidgets::IProjectSaveView::removeFromIncludedWindowsList
virtual void removeFromIncludedWindowsList(const std::vector< std::string > &windows)=0
Remove items from the included window list.
MantidQt::MantidWidgets::IProjectSaveView::getCheckedPythonInterfaces
virtual std::vector< std::string > getCheckedPythonInterfaces()=0
Get any checked interface names on the view.
MantidQt::MantidWidgets::IProjectSaveView::updateWorkspacesList
virtual void updateWorkspacesList(const std::vector< WorkspaceInfo > &workspaces)=0
Update the workspaces list with a collection of workspace info items.
MantidQt::MantidWidgets::IProjectSaveView::removeFromExcludedWindowsList
virtual void removeFromExcludedWindowsList(const std::vector< std::string > &windows)=0
Remove items from the excluded window list.
MantidQt::MantidWidgets::IProjectSaveView::getProjectPath
virtual QString getProjectPath()=0
Get the project path.
MantidQt::MantidWidgets::IProjectSaveView::updateIncludedWindowsList
virtual void updateIncludedWindowsList(const std::vector< WindowInfo > &windows)=0
Update the included windows list with a collection of window info items.
MantidQt::MantidWidgets::IProjectSaveView::getCheckedWorkspaceNames
virtual std::vector< std::string > getCheckedWorkspaceNames()=0
Get the names of all checked workspaces.
MantidQt::MantidWidgets::IProjectSaveView::setProjectPath
virtual void setProjectPath(const QString &path)=0
Set the project path.
MantidQt::MantidWidgets::IProjectSaveView::getUncheckedWorkspaceNames
virtual std::vector< std::string > getUncheckedWorkspaceNames()=0
Get the names of all unchecked workspaces.
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