Mantid
Loading...
Searching...
No Matches
SmoothNeighboursDialog.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2018 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
11
13 Q_OBJECT
14
15public:
17 SmoothNeighboursDialog(QWidget *parent = nullptr);
18
19protected:
21 void accept() override;
22
23private slots:
25 void inputWorkspaceChanged(const QString &pName);
26
27private:
29 static const QString NON_UNIFORM_GROUP;
31 static const QString RECTANGULAR_GROUP;
33 static const QString INPUT_WORKSPACE;
34
36 void initLayout() override;
37
40
42 QVBoxLayout *m_dialogLayout;
43};
This class should be the basis for all customised algorithm dialogs.
Widget that contains dynamically generated PropertyWidget's for each property of an algorithm,...
void initLayout() override
Initialize the layout.
static const QString RECTANGULAR_GROUP
Rectangular detector group name.
void inputWorkspaceChanged(const QString &pName)
Called when input workspace get changed.
static const QString INPUT_WORKSPACE
Input workspace name.
void accept() override
Overridden to enable validators.
static const QString NON_UNIFORM_GROUP
Non rectangular detector group name.
QVBoxLayout * m_dialogLayout
Main layout for the dialog.
MantidQt::API::AlgorithmPropertiesWidget * m_propertiesWidget
Widget for all the PropertyWidgets.