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
18
#include "
GUI/coregui/Views/CommonWidgets/SessionItemWidget.h
"
19
20
class
ComponentEditor
;
21
class
QGridLayout;
22
class
DepthProbeInstrumentItem
;
23
24
class
DepthProbeInstrumentEditor
:
public
SessionItemWidget
{
25
Q_OBJECT
26
27
public
:
28
DepthProbeInstrumentEditor
(QWidget* parent =
nullptr
);
29
30
protected
:
31
void
subscribeToItem
();
32
void
unsubscribeFromItem
();
33
34
private
:
35
DepthProbeInstrumentItem
*
instrumentItem
();
36
void
onDialogRequest
(
SessionItem
* item,
const
QString&
name
);
37
38
ComponentEditor
*
m_wavelengthEditor
;
39
ComponentEditor
*
m_inclinationEditor
;
40
ComponentEditor
*
m_depthAxisEditor
;
41
QGridLayout*
m_gridLayout
;
42
};
43
44
#endif
// BORNAGAIN_GUI_COREGUI_VIEWS_INSTRUMENTWIDGETS_DEPTHPROBEINSTRUMENTEDITOR_H
SessionItemWidget.h
Defines class ItemComboWidget.
ComponentEditor
Component editor for SessionItem.
Definition:
ComponentEditor.h:27
DepthProbeInstrumentEditor
Definition:
DepthProbeInstrumentEditor.h:24
DepthProbeInstrumentEditor::subscribeToItem
void subscribeToItem()
Definition:
DepthProbeInstrumentEditor.cpp:53
DepthProbeInstrumentEditor::DepthProbeInstrumentEditor
DepthProbeInstrumentEditor(QWidget *parent=nullptr)
Definition:
DepthProbeInstrumentEditor.cpp:31
DepthProbeInstrumentEditor::m_inclinationEditor
ComponentEditor * m_inclinationEditor
Definition:
DepthProbeInstrumentEditor.h:39
DepthProbeInstrumentEditor::instrumentItem
DepthProbeInstrumentItem * instrumentItem()
Definition:
DepthProbeInstrumentEditor.cpp:74
DepthProbeInstrumentEditor::unsubscribeFromItem
void unsubscribeFromItem()
Definition:
DepthProbeInstrumentEditor.cpp:68
DepthProbeInstrumentEditor::m_depthAxisEditor
ComponentEditor * m_depthAxisEditor
Definition:
DepthProbeInstrumentEditor.h:40
DepthProbeInstrumentEditor::m_wavelengthEditor
ComponentEditor * m_wavelengthEditor
Definition:
DepthProbeInstrumentEditor.h:38
DepthProbeInstrumentEditor::onDialogRequest
void onDialogRequest(SessionItem *item, const QString &name)
Definition:
DepthProbeInstrumentEditor.cpp:79
DepthProbeInstrumentEditor::m_gridLayout
QGridLayout * m_gridLayout
Definition:
DepthProbeInstrumentEditor.h:41
DepthProbeInstrumentItem
Depth probe instrument.
Definition:
DepthProbeInstrumentItem.h:24
SessionItemWidget
The SessionItemWidget class is a base for all widgets representing the content of SessionItem.
Definition:
SessionItemWidget.h:30
SessionItem
Definition:
SessionItem.h:33
RealSpace::Particles::name
QString const & name(EShape k)
Definition:
particles.cpp:21
GUI
coregui
Views
InstrumentWidgets
DepthProbeInstrumentEditor.h
Generated by
1.9.1