Mantid
Loading...
Searching...
No Matches
qt
widgets
common
inc
MantidQtWidgets
Common
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
12
namespace
MantidQt
{
13
namespace
API
{
14
20
class
EXPORT_OPT_MANTIDQT_COMMON
MantidDesktopServices
{
21
public
:
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
DllOption.h
EXPORT_OPT_MANTIDQT_COMMON
#define EXPORT_OPT_MANTIDQT_COMMON
Definition:
DllOption.h:15
MantidQt::API::MantidDesktopServices
This class provides a wrapper around QDesktopServices to fix a bug in opening URLs in firefox when tc...
Definition:
MantidDesktopServices.h:20
API
Definition:
ChudleyElliotSQE.h:16
MantidQt
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...
Definition:
AddWorkspaceDialog.h:20
Generated on Tue Jan 3 2023 11:58:01 for Mantid by
1.9.5