Mantid
Loading...
Searching...
No Matches
MantidHelpInterface.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2014 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 <QWidget>
11#include <string>
12
13class QString;
14class QUrl;
15
16namespace MantidQt {
17namespace API {
18
19/*
20 * An interface for handling offline help
21 */
23 Q_OBJECT
24public:
29
30 virtual void showPage(const std::string &url = std::string());
31 virtual void showPage(const QString &url);
32 virtual void showPage(const QUrl &url);
33 virtual void showWikiPage(const std::string &page = std::string());
34 virtual void showWikiPage(const QString &page);
35 virtual void showAlgorithm(const std::string &name = std::string(), const int version = -1);
36 virtual void showAlgorithm(const QString &name, const int version = -1);
37 virtual void showConcept(const std::string &name);
38 virtual void showConcept(const QString &name);
39 virtual void showFitFunction(const std::string &name = std::string());
40 virtual void showFitFunction(const QString &name);
41 virtual void showCustomInterface(const std::string &name, const std::string &area = std::string(),
42 const std::string &section = std::string());
43 virtual void showCustomInterface(const QString &name, const QString &area = QString(),
44 const QString &section = QString());
45
46public slots:
48 virtual void shutdown();
49};
50} // namespace API
51} // namespace MantidQt
#define EXPORT_OPT_MANTIDQT_COMMON
Definition: DllOption.h:15
~MantidHelpInterface() override
Default destructor.
MantidHelpInterface()
Default constructor.
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...