BornAgain  1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
EnvironmentEditor.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file GUI/View/Instrument/EnvironmentEditor.h
6 //! @brief Defines class EnvironmentEditor
7 //!
8 //! @homepage http://www.bornagainproject.org
9 //! @license GNU General Public License v3 or higher (see COPYING)
10 //! @copyright Forschungszentrum Jülich GmbH 2021
11 //! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12 //
13 // ************************************************************************************************
14 
15 #ifndef BORNAGAIN_GUI_VIEW_INSTRUMENT_ENVIRONMENTEDITOR_H
16 #define BORNAGAIN_GUI_VIEW_INSTRUMENT_ENVIRONMENTEDITOR_H
17 
18 #include <QGroupBox>
19 
20 class InstrumentItem;
21 class QFormLayout;
22 
23 //! Environment editor (i.e. background) for instrument editors.
24 //! Operates on InstrumentItem.
25 
26 class EnvironmentEditor : public QGroupBox {
27  Q_OBJECT
28 
29 public:
30  EnvironmentEditor(QWidget* parent, InstrumentItem* instrument);
31 
32 signals:
33  void dataChanged();
34 
35 private:
37 
38 private:
40  QFormLayout* m_formLayout;
41 };
42 
43 #endif // BORNAGAIN_GUI_VIEW_INSTRUMENT_ENVIRONMENTEDITOR_H
Environment editor (i.e. background) for instrument editors. Operates on InstrumentItem.
InstrumentItem * m_instrument
QFormLayout * m_formLayout
EnvironmentEditor(QWidget *parent, InstrumentItem *instrument)
Abstract base class for instrument-specific item classes.