Mantid
Loading...
Searching...
No Matches
qt
widgets
common
inc
MantidQtWidgets
Common
HintStrategy.h
Go to the documentation of this file.
1
// Mantid Repository : https://github.com/mantidproject/mantid
2
//
3
// Copyright © 2014 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 "
MantidQtWidgets/Common/Hint.h
"
11
#include <map>
12
#include <string>
13
14
namespace
MantidQt
{
15
namespace
MantidWidgets {
19
class
EXPORT_OPT_MANTIDQT_COMMON
HintStrategy
{
20
public
:
21
HintStrategy
(){};
22
virtual
~HintStrategy
() =
default
;
23
31
virtual
std::vector<Hint>
createHints
() = 0;
32
};
33
}
// namespace MantidWidgets
34
}
// namespace MantidQt
DllOption.h
EXPORT_OPT_MANTIDQT_COMMON
#define EXPORT_OPT_MANTIDQT_COMMON
Definition:
DllOption.h:15
Hint.h
MantidQt::MantidWidgets::HintStrategy
HintStrategy : Provides an interface for generating hints to be used by a HintingLineEdit.
Definition:
HintStrategy.h:19
MantidQt::MantidWidgets::HintStrategy::createHints
virtual std::vector< Hint > createHints()=0
Create a list of hints for auto completion.
MantidQt::MantidWidgets::HintStrategy::~HintStrategy
virtual ~HintStrategy()=default
MantidQt::MantidWidgets::HintStrategy::HintStrategy
HintStrategy()
Definition:
HintStrategy.h:21
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