Mantid
Loading...
Searching...
No Matches
CatalogPublishDialog.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2013 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
10#include "ui_CatalogPublishDialog.h"
11
12namespace MantidQt {
13namespace CustomDialogs {
21 Q_OBJECT
22
23public:
25 CatalogPublishDialog(QWidget *parent = nullptr);
26
27private:
29 void initLayout() override;
33
34private slots:
36 void workspaceSelected(const QString &wsName);
38 void fileSelected();
40 void disableDialog();
42 void setSessionProperty(int index);
43
44protected:
46 void accept() override;
47
48protected:
50 Ui::CatalogPublishDialog m_uiForm;
51};
52} // namespace CustomDialogs
53} // namespace MantidQt
std::map< DeltaEMode::Type, std::string > index
Definition: DeltaEMode.cpp:19
This class should be the basis for all customised algorithm dialogs.
This class gives specialised dialog for the CatalogPublish algorithm.
void workspaceSelected(const QString &wsName)
When the "browse" button is clicked open a file browser.
void initLayout() override
Create the inital layout.
void disableDialog()
Diables fields on dialog to improve usability.
void populateUserInvestigations()
Populate the investigation number combo-box with investigations that the user can publish to.
void accept() override
Overridden to enable dataselector validators.
Ui::CatalogPublishDialog m_uiForm
The form generated by QT Designer.
void setSessionProperty(int index)
Set session property when user selects an investigation to publish to.
void fileSelected()
Set the "FileName" property when a file is selected from the file browser.
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...