Mantid
|
#include <CatalogSelector.h>
Public Member Functions | |
CatalogSelector (QWidget *parent=nullptr) | |
Default constructor. More... | |
std::vector< std::string > | getSelectedCatalogSessions () |
Obtain the session information for the facilities selected. More... | |
void | populateFacilitySelection () |
Populate the ListWidget with the facilities of the catalogs the user is logged in to. More... | |
Protected Attributes | |
Ui::CatalogSelector | m_uiForm |
The form generated by QT Designer. More... | |
Private Slots | |
void | checkSelectedFacility (QListWidgetItem *item) |
Checks the checkbox of the list item selected. More... | |
Private Member Functions | |
virtual void | initLayout () |
Initialise the layout. More... | |
Definition at line 14 of file CatalogSelector.h.
MantidQt::MantidWidgets::CatalogSelector::CatalogSelector | ( | QWidget * | parent = nullptr | ) |
Default constructor.
Constructor.
Definition at line 17 of file CatalogSelector.cpp.
References initLayout().
|
privateslot |
Checks the checkbox of the list item selected.
SLOT: Checks the checkbox of the list item selected.
Definition at line 84 of file CatalogSelector.cpp.
Referenced by initLayout().
std::vector< std::string > MantidQt::MantidWidgets::CatalogSelector::getSelectedCatalogSessions | ( | ) |
Obtain the session information for the facilities selected.
Definition at line 24 of file CatalogSelector.cpp.
References m_uiForm.
Referenced by MantidQt::MantidWidgets::CatalogSearch::populateInstrumentBox(), MantidQt::MantidWidgets::CatalogSearch::populateInvestigationTypeBox(), and MantidQt::MantidWidgets::CatalogSearch::searchClicked().
|
privatevirtual |
Initialise the layout.
Initialise the default layout.
Definition at line 64 of file CatalogSelector.cpp.
References checkSelectedFacility(), m_uiForm, and populateFacilitySelection().
Referenced by CatalogSelector().
void MantidQt::MantidWidgets::CatalogSelector::populateFacilitySelection | ( | ) |
Populate the ListWidget with the facilities of the catalogs the user is logged in to.
Definition at line 38 of file CatalogSelector.cpp.
References Mantid::Kernel::SingletonHolder< T >::Instance(), and m_uiForm.
Referenced by initLayout(), MantidQt::MantidWidgets::CatalogSearch::openFacilitySelection(), and MantidQt::MantidWidgets::CatalogSearch::searchClicked().
|
protected |
The form generated by QT Designer.
Definition at line 36 of file CatalogSelector.h.
Referenced by getSelectedCatalogSessions(), initLayout(), and populateFacilitySelection().