Newer
Older
// Mantid Repository : https://github.com/mantidproject/mantid
//
// Copyright © 2009 ISIS Rutherford Appleton Laboratory UKRI,
// NScD Oak Ridge National Laboratory, European Spallation Source,
// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
// SPDX - License - Identifier: GPL - 3.0 +
Gigg, Martyn Anthony
committed
//----------------------------------
// Includes
//----------------------------------
#include "AlgorithmDialog.h"
Janik Zikovsky
committed
#include "MantidKernel/Property.h"
#include "MantidQtWidgets/Common/AlgorithmPropertiesWidget.h"
Gigg, Martyn Anthony
committed
//----------------------------------
// Forward declarations
//----------------------------------
class QSignalMapper;
class QGridLayout;
class QLineEdit;
Gigg, Martyn Anthony
committed
Gigg, Martyn Anthony
committed
/**
This class gives a basic dialog that is not tailored to a particular
Gigg, Martyn Anthony
committed
algorithm.
@date 24/02/2009
*/
class EXPORT_OPT_MANTIDQT_COMMON GenericDialog : public AlgorithmDialog {
Gigg, Martyn Anthony
committed
Q_OBJECT
public:
// Constructor
GenericDialog(QWidget *parent = nullptr);
Gigg, Martyn Anthony
committed
// Destructor
~GenericDialog() override;
Gigg, Martyn Anthony
committed
protected slots:
void accept() override;
Gigg, Martyn Anthony
committed
private:
void initLayout() override;
void parseInput() override;
/// Widget containing all the PropertyWidgets
AlgorithmPropertiesWidget *m_algoPropertiesWidget;
Gigg, Martyn Anthony
committed
};