44class MantidHelpInterface;
59 AlgorithmDialog *createDialog(
const std::shared_ptr<Mantid::API::IAlgorithm> &alg, QWidget *parent =
nullptr,
60 bool forScript =
false,
62 const QString &optional_msg = QString(),
const QStringList &enabled = QStringList(),
63 const QStringList &disabled = QStringList());
66 AlgorithmDialog *createDialogFromName(
const QString &algorithmName,
const int version = -1, QWidget *parent =
nullptr,
67 bool forScript =
false,
69 const QString &optionalMsg = QString(),
70 const QStringList &enabled = QStringList(),
71 const QStringList &disabled = QStringList());
74 UserSubWindow *createSubWindow(
const QString &interface_name, QWidget *parent =
nullptr,
bool isWindow =
true);
83 void showHelpPage(
const QString &url = QString());
86 void showWikiPage(
const QString &page = QString());
90 void showAlgorithmHelp(
const QString &name,
const int version = -1);
93 void showConceptHelp(
const QString &name);
96 void showFitFunctionHelp(
const QString &name = QString());
103 void showCustomInterfaceHelp(
const QString &name,
const QString &area = QString(),
104 const QString §ion = QString());
107 void showWebPage(
const QString &url);
109 void closeHelpWindow();
118 QStringList getUserSubWindowKeys()
const;
135#define REGISTER_HELPWINDOW(TYPE) \
137 Mantid::Kernel::RegistrationHelper \
138 register_helpviewer(((MantidQt::API::InterfaceManager::registerHelpWindowFactory( \
139 new Mantid::Kernel::Instantiator<TYPE, MantidHelpInterface>())), \
#define EXPORT_OPT_MANTIDQT_COMMON
This class should be the basis for all customised algorithm dialogs.
This class is responsible for creating the correct dialog for an algorithm.
static Mantid::Kernel::AbstractInstantiator< MantidHelpInterface > * m_helpViewer
Handle to the help window factory.
virtual ~InterfaceManager()
Destructor.
This is the base class all customised user interfaces that do not wish to be tied to a specific Manti...
The base class for instantiators.
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...
Helper class which provides the Collimation Length for SANS instruments.