13#include "ui_LoadDialog.h"
25class FileFinderWidget;
28namespace CustomDialogs {
46class PreventLoadRequests;
This class should be the basis for all customised algorithm dialogs.
void tieStaticWidgets(const bool readHistory)
Tie static widgets to their properties.
void saveInput() override
Save the input history.
int m_initialHeight
The initial height.
Ui::LoadDialog m_form
Form.
int createWidgetsForProperty(const Mantid::Kernel::Property *prop, QVBoxLayout *propertyLayout, QWidget *parent)
Create the widgets for a given property.
void helpClicked() override
Override the help button clicked method.
void enableNameSuggestion(const bool on=false)
Connect/Disconnect the signal that updates the workspace name with a suggested value.
void accept() override
Override accept() slot.
friend PreventLoadRequests
void suggestWSName()
Suggest a workspace name from the file.
void initLayout() override
Initialize the layout.
void createDynamicLayout()
Create.
bool m_populating
Flag to indicating if we are populating the dialog.
void enableLoadRequests()
Accept requests to load until they are disabled.
void createDynamicWidgets()
Create the widgets and layouts that are dynamic, i.e they depend on the specific load algorithm.
void removeOldInputWidgets(QVBoxLayout *layout)
Clears all of the widgets from the old layout.
void disableLoadRequests()
Ignore requests to load until they are re-enabled.
QString m_currentFiles
The current file.
Base class for properties.
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...