Mantid
Loading...
Searching...
No Matches
PlotAsymmetryByLogValueDialog.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//----------------------
13#include "ui_PlotAsymmetryByLogValueDialog.h"
14
15#include <QSignalMapper>
16#include <QString>
17
18//---------------------------
19// Qt Forward declarations
20//---------------------------
21class QVBoxLayout;
22class QLineEdit;
23class QComboBox;
24class QPushButton;
25
26namespace MantidQt {
27namespace CustomDialogs {
28
36
37 Q_OBJECT
38
39public:
41 PlotAsymmetryByLogValueDialog(QWidget *parent = nullptr);
44
45private:
49 void initLayout() override;
51
52private slots:
53
56 void openFileDialog(const QString &filePropName);
57 void fillLogBox();
58
61 void showHideDeadTimeFileWidget(int deadTimeTypeIndex);
62
63private:
64 // The form generated with Qt Designer
65 Ui::PlotAsymmetryByLogValueDialog m_uiForm;
66
68 QSignalMapper *browseButtonMapper;
69};
70} // namespace CustomDialogs
71} // namespace MantidQt
This class should be the basis for all customised algorithm dialogs.
This class gives specialised dialog for the LoadRaw algorithm.
QSignalMapper * browseButtonMapper
Maps Browse buttons to file properties.
void openFileDialog(const QString &filePropName)
Opens a file dialog.
void showHideDeadTimeFileWidget(int deadTimeTypeIndex)
Show or hide Dead Time file widget depending on which Dead Time type is selected.
void fillLogBox()
Fill m_uiForm.logBox with names of the log values read from one of the input files.
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...