BornAgain  1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
InterferenceForm.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file GUI/View/SampleDesigner/InterferenceForm.h
6 //! @brief Defines class InterferenceForm
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_SAMPLEDESIGNER_INTERFERENCEFORM_H
16 #define BORNAGAIN_GUI_VIEW_SAMPLEDESIGNER_INTERFERENCEFORM_H
17 
18 #include <QGroupBox>
19 
20 class ParticleItem;
22 class ParticleLayoutItem;
23 class GroupBoxCollapser;
24 class QComboBox;
25 
26 //! Form for editing interference functions
27 class InterferenceForm : public QGroupBox {
28  Q_OBJECT
29 public:
31 
34 
35 private:
37  void updateTitle();
38 
43 };
44 
45 
46 #endif // BORNAGAIN_GUI_VIEW_SAMPLEDESIGNER_INTERFERENCEFORM_H
Add-on to group boxes to make them collapsible.
Form for editing interference functions.
void onInterferenceTypeChanged()
ParticleLayoutItem * layoutItem() const
GroupBoxCollapser * m_collapser
InterferenceForm(QWidget *parent, ParticleLayoutItem *layoutItem, SampleEditorController *ec)
QComboBox * m_interferenceTypeCombo
ParticleLayoutItem * m_layoutItem
void createInterferenceWidgets()
SampleEditorController * m_ec
Class to modify a sample from the layer oriented sample editor.