-
Notifications
You must be signed in to change notification settings - Fork 122
/
ResNorm.h
45 lines (36 loc) · 1.13 KB
/
ResNorm.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#ifndef MANTIDQTCUSTOMINTERFACES_RESNORM_H_
#define MANTIDQTCUSTOMINTERFACES_RESNORM_H_
#include "ui_ResNorm.h"
#include "MantidQtCustomInterfaces/IndirectBayesTab.h"
namespace MantidQt
{
namespace CustomInterfaces
{
class DLLExport ResNorm : public IndirectBayesTab
{
Q_OBJECT
public:
ResNorm(QWidget * parent = 0);
// Inherited methods from IndirectBayesTab
QString help() { return "ResNorm"; };
void setup();
bool validate();
void run();
/// Load default settings into the interface
void loadSettings(const QSettings& settings);
private slots:
/// Handle when the vanadium input is ready
void handleVanadiumInputReady(const QString& filename);
/// Slot for when the min range on the range selector changes
void minValueChanged(double min);
/// Slot for when the min range on the range selector changes
void maxValueChanged(double max);
/// Slot to update the guides when the range properties change
void updateProperties(QtProperty* prop, double val);
private:
//The ui form
Ui::ResNorm m_uiForm;
};
} // namespace CustomInterfaces
} // namespace MantidQt
#endif