BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
RealSpacePanel.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file GUI/coregui/Views/SampleDesigner/RealSpacePanel.h
6 //! @brief Defines class RealSpacePanel
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_SAMPLEDESIGNER_REALSPACEPANEL_H
16 #define BORNAGAIN_GUI_COREGUI_VIEWS_SAMPLEDESIGNER_REALSPACEPANEL_H
17 
18 #include <QWidget>
19 
20 class SampleModel;
21 class QItemSelectionModel;
22 class RealSpaceWidget;
23 
24 //! Panel with item selector, property editor on the right side of RealSpaceWidget.
25 
26 class RealSpacePanel : public QWidget {
27  Q_OBJECT
28 
29 public:
30  RealSpacePanel(SampleModel* sampleModel, QItemSelectionModel* selectionModel, QWidget* parent);
31 
32  QSize sizeHint() const override;
33 
34 private:
36 };
37 
38 #endif // BORNAGAIN_GUI_COREGUI_VIEWS_SAMPLEDESIGNER_REALSPACEPANEL_H
Panel with item selector, property editor on the right side of RealSpaceWidget.
RealSpaceWidget * m_realSpaceWidget
RealSpacePanel(SampleModel *sampleModel, QItemSelectionModel *selectionModel, QWidget *parent)
QSize sizeHint() const override
Prototype of real space widget to present sample structure in 3D view.
Main model to hold sample items.
Definition: SampleModel.h:24