Mantid
Loading...
Searching...
No Matches
GenericDialog.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2009 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//----------------------------------
10// Includes
11//----------------------------------
12#include "AlgorithmDialog.h"
13
17#include <QHash>
18#include <QVariant>
19
20//----------------------------------
21// Forward declarations
22//----------------------------------
23class QSignalMapper;
24class QGridLayout;
25class QLineEdit;
26
27namespace MantidQt {
28
29namespace API {
30
38
39 Q_OBJECT
40
41public:
42 // Constructor
43 GenericDialog(QWidget *parent = nullptr);
44 // Destructor
45 ~GenericDialog() override;
46
47protected slots:
48 void accept() override;
49
50private:
51 void initLayout() override;
52
53 void parseInput() override;
54
57};
58} // namespace API
59} // namespace MantidQt
#define EXPORT_OPT_MANTIDQT_COMMON
Definition: DllOption.h:15
This class should be the basis for all customised algorithm dialogs.
Widget that contains dynamically generated PropertyWidget's for each property of an algorithm,...
This class gives a basic dialog that is not tailored to a particular algorithm.
Definition: GenericDialog.h:37
AlgorithmPropertiesWidget * m_algoPropertiesWidget
Widget containing all the PropertyWidgets.
Definition: GenericDialog.h:56
~GenericDialog() override
Destructor.
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...