BornAgain  1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
InclinationAnglesEditor.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file GUI/View/Instrument/InclinationAnglesEditor.h
6 //! @brief Defines class InclinationAnglesEditor
7 //!
8 //! @homepage http://www.bornagainproject.org
9 //! @license GNU General Public License v3 or higher (see COPYING)
10 //! @copyright Forschungszentrum Jülich GmbH 2018
11 //! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12 //
13 // ************************************************************************************************
14 
15 #ifndef BORNAGAIN_GUI_VIEW_INSTRUMENT_INCLINATIONANGLESEDITOR_H
16 #define BORNAGAIN_GUI_VIEW_INSTRUMENT_INCLINATIONANGLESEDITOR_H
17 
18 #include <QGroupBox>
19 
21 class QComboBox;
23 class SphericalAxisForm;
24 class DistributionPlot;
25 
26 //! Editor for the case where there is no single inclination angle
27 
28 class InclinationAnglesEditor : public QGroupBox {
29  Q_OBJECT
30 public:
32 
33  void updateIndicators();
34 
35 signals:
36  void dataChanged();
37 
38 private slots:
39  void onAxisTypeSelected(int index);
40  void updatePlot();
41 
42 private:
47 };
48 
49 
50 #endif // BORNAGAIN_GUI_VIEW_INSTRUMENT_INCLINATIONANGLESEDITOR_H
The DistributionPlot class plots 1d functions corresponding to domain's Distribution1D.
Widget for selecting a distribution (combo box) and input of the corresponding values with respect to...
Editor for the case where there is no single inclination angle.
SpecularBeamInclinationItem * m_item
InclinationAnglesEditor(QWidget *parent, SpecularBeamInclinationItem *item)
DistributionSelector * m_selector
BeamInclinationAxisItem contains inclination angle axis for specular/off-specular simulations and als...
The form for a spherical axis: contains the bare bone widgets for the user to enter the number of bin...