BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
DepthProbeInstrumentEditor.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file GUI/coregui/Views/InstrumentWidgets/DepthProbeInstrumentEditor.h
6 //! @brief Defines class DepthProbeInstrumentEditor
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_COREGUI_VIEWS_INSTRUMENTWIDGETS_DEPTHPROBEINSTRUMENTEDITOR_H
16 #define BORNAGAIN_GUI_COREGUI_VIEWS_INSTRUMENTWIDGETS_DEPTHPROBEINSTRUMENTEDITOR_H
17 
19 
20 class ComponentEditor;
21 class QGridLayout;
23 
25  Q_OBJECT
26 
27 public:
28  DepthProbeInstrumentEditor(QWidget* parent = nullptr);
29 
30 protected:
31  void subscribeToItem();
32  void unsubscribeFromItem();
33 
34 private:
36  void onDialogRequest(SessionItem* item, const QString& name);
37 
41  QGridLayout* m_gridLayout;
42 };
43 
44 #endif // BORNAGAIN_GUI_COREGUI_VIEWS_INSTRUMENTWIDGETS_DEPTHPROBEINSTRUMENTEDITOR_H
Defines class ItemComboWidget.
Component editor for SessionItem.
DepthProbeInstrumentEditor(QWidget *parent=nullptr)
DepthProbeInstrumentItem * instrumentItem()
void onDialogRequest(SessionItem *item, const QString &name)
The SessionItemWidget class is a base for all widgets representing the content of SessionItem.
QString const & name(EShape k)
Definition: particles.cpp:21