Skip to content
Snippets Groups Projects
GenericDialog.h 1.37 KiB
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 +

//----------------------------------
// Includes
//----------------------------------
#include "AlgorithmDialog.h"

#include "MantidKernel/PropertyWithValue.h"
#include "MantidQtWidgets/Common/AlgorithmPropertiesWidget.h"
#include <QHash>
#include <QVariant>

//----------------------------------
// Forward declarations
//----------------------------------
class QSignalMapper;
class QGridLayout;
class QLineEdit;

namespace MantidQt {
/**
    This class gives a basic dialog that is not tailored to a particular
class EXPORT_OPT_MANTIDQT_COMMON GenericDialog : public AlgorithmDialog {
  GenericDialog(QWidget *parent = nullptr);
  ~GenericDialog() override;
  void accept() override;
  void initLayout() override;
  void parseInput() override;

  /// Widget containing all the PropertyWidgets
  AlgorithmPropertiesWidget *m_algoPropertiesWidget;
} // namespace API
} // namespace MantidQt