Mantid
Loading...
Searching...
No Matches
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
10
11#include <QDropEvent>
12#include <vector>
13
14namespace MantidQt {
15namespace MantidWidgets {
16
17namespace DropEventHelper {
19EXPORT_OPT_MANTIDQT_COMMON QStringList getFileNames(const QDropEvent *event);
21EXPORT_OPT_MANTIDQT_COMMON QStringList extractPythonFiles(const QDropEvent *event);
22} // namespace DropEventHelper
23
24} // namespace MantidWidgets
25} // namespace MantidQt
#define EXPORT_OPT_MANTIDQT_COMMON
Definition: DllOption.h:15
EXPORT_OPT_MANTIDQT_COMMON QStringList extractPythonFiles(const QDropEvent *event)
Get all python files from q QDropEvent.
EXPORT_OPT_MANTIDQT_COMMON QStringList getFileNames(const QDropEvent *event)
Get all filenames from a QDropEvent.
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...