Mantid
Loading...
Searching...
No Matches
qt
widgets
common
inc
MantidQtWidgets
Common
DropEventHelper.h
Go to the documentation of this file.
1
// Mantid Repository : https://github.com/mantidproject/mantid
2
//
3
// Copyright © 2018 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 "
MantidQtWidgets/Common/DllOption.h
"
10
11
#include <QDropEvent>
12
#include <vector>
13
14
namespace
MantidQt
{
15
namespace
MantidWidgets {
16
17
namespace
DropEventHelper
{
19
EXPORT_OPT_MANTIDQT_COMMON
QStringList
getFileNames
(
const
QDropEvent *event);
21
EXPORT_OPT_MANTIDQT_COMMON
QStringList
extractPythonFiles
(
const
QDropEvent *event);
22
}
// namespace DropEventHelper
23
24
}
// namespace MantidWidgets
25
}
// namespace MantidQt
DllOption.h
EXPORT_OPT_MANTIDQT_COMMON
#define EXPORT_OPT_MANTIDQT_COMMON
Definition:
DllOption.h:15
MantidQt::MantidWidgets::DropEventHelper
Definition:
DropEventHelper.h:17
MantidQt::MantidWidgets::DropEventHelper::extractPythonFiles
EXPORT_OPT_MANTIDQT_COMMON QStringList extractPythonFiles(const QDropEvent *event)
Get all python files from q QDropEvent.
Definition:
DropEventHelper.cpp:94
MantidQt::MantidWidgets::DropEventHelper::getFileNames
EXPORT_OPT_MANTIDQT_COMMON QStringList getFileNames(const QDropEvent *event)
Get all filenames from a QDropEvent.
Definition:
DropEventHelper.cpp:70
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