Mantid
Loading...
Searching...
No Matches
MantidDesktopServices.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2016 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 <QDesktopServices>
11
12namespace MantidQt {
13namespace API {
14
21public:
22 static bool openUrl(const QUrl &url);
23 static bool openUrl(const QString &url);
24 static void setUrlHandler(const QString &scheme, QObject *receiver, const char *method);
25 static void unsetUrlHandler(const QString &scheme);
26};
27} // namespace API
28} // namespace MantidQt
#define EXPORT_OPT_MANTIDQT_COMMON
Definition: DllOption.h:15
This class provides a wrapper around QDesktopServices to fix a bug in opening URLs in firefox when tc...
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...