Mantid
Loading...
Searching...
No Matches
qt
widgets
common
inc
MantidQtWidgets
Common
BaseDecoder.h
Go to the documentation of this file.
1
// Mantid Repository : https://github.com/mantidproject/mantid
2
//
3
// Copyright © 2019 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 <QList>
10
#include <QMap>
11
#include <QString>
12
#include <QVariant>
13
#include <QWidget>
14
15
namespace
MantidQt
{
16
namespace
API
{
17
18
class
BaseDecoder
{
19
public
:
20
virtual
QWidget *
decode
(
const
QMap<QString, QVariant> &map,
const
std::string &directory) = 0;
21
virtual
QList<QString>
tags
() = 0;
22
virtual
~BaseDecoder
() =
default
;
23
};
24
25
}
// namespace API
26
}
// namespace MantidQt
MantidQt::API::BaseDecoder
Definition:
BaseDecoder.h:18
MantidQt::API::BaseDecoder::tags
virtual QList< QString > tags()=0
MantidQt::API::BaseDecoder::decode
virtual QWidget * decode(const QMap< QString, QVariant > &map, const std::string &directory)=0
MantidQt::API::BaseDecoder::~BaseDecoder
virtual ~BaseDecoder()=default
QList
Definition:
MantidDisplayBase.h:23
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