Mantid
Loading...
Searching...
No Matches
qt
widgets
common
inc
MantidQtWidgets
Common
CatalogSelector.h
Go to the documentation of this file.
1
// Mantid Repository : https://github.com/mantidproject/mantid
2
//
3
// Copyright © 2018 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 "
DllOption.h
"
10
#include "ui_CatalogSelector.h"
11
12
namespace
MantidQt
{
13
namespace
MantidWidgets {
14
class
EXPORT_OPT_MANTIDQT_COMMON
CatalogSelector
:
public
QWidget {
15
Q_OBJECT
16
17
public
:
19
CatalogSelector
(QWidget *parent =
nullptr
);
21
std::vector<std::string>
getSelectedCatalogSessions
();
24
void
populateFacilitySelection
();
25
26
private
:
28
virtual
void
initLayout
();
29
30
private
slots:
32
void
checkSelectedFacility
(QListWidgetItem *item);
33
34
protected
:
36
Ui::CatalogSelector
m_uiForm
;
37
};
38
}
// namespace MantidWidgets
39
}
// namespace MantidQt
DllOption.h
EXPORT_OPT_MANTIDQT_COMMON
#define EXPORT_OPT_MANTIDQT_COMMON
Definition
DllOption.h:15
MantidQt::MantidWidgets::CatalogSelector
Definition
CatalogSelector.h:14
MantidQt::MantidWidgets::CatalogSelector::populateFacilitySelection
void populateFacilitySelection()
Populate the ListWidget with the facilities of the catalogs the user is logged in to.
MantidQt::MantidWidgets::CatalogSelector::getSelectedCatalogSessions
std::vector< std::string > getSelectedCatalogSessions()
Obtain the session information for the facilities selected.
MantidQt::MantidWidgets::CatalogSelector::initLayout
virtual void initLayout()
Initialise the layout.
MantidQt::MantidWidgets::CatalogSelector::m_uiForm
Ui::CatalogSelector m_uiForm
The form generated by QT Designer.
Definition
CatalogSelector.h:36
MantidQt::MantidWidgets::CatalogSelector::CatalogSelector
CatalogSelector(QWidget *parent=nullptr)
Default constructor.
MantidQt::MantidWidgets::CatalogSelector::checkSelectedFacility
void checkSelectedFacility(QListWidgetItem *item)
Checks the checkbox of the list item selected.
MantidQt
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...
Definition
AddWorkspaceDialog.h:18
Generated by
1.9.8