BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
SampleWidgetBox.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/SampleWidgetBox.h
6
//! @brief Defines class SampleWidgetBox
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_SAMPLEWIDGETBOX_H
16
#define BORNAGAIN_GUI_COREGUI_VIEWS_SAMPLEDESIGNER_SAMPLEWIDGETBOX_H
17
18
#include <QWidget>
19
20
class
QDesignerWidgetBoxInterface;
21
class
SampleDesignerInterface
;
22
23
//! widget box and tool window on the left side of SampleView
24
class
SampleWidgetBox
:
public
QWidget {
25
public
:
26
explicit
SampleWidgetBox
(
SampleDesignerInterface
* core, QWidget* parent);
27
28
QSize
minimumSizeHint
()
const override
{
return
QSize(300, 300); }
29
30
private
:
31
SampleDesignerInterface
*
m_core
;
32
QDesignerWidgetBoxInterface*
m_widgetBox
;
33
};
34
35
#endif
// BORNAGAIN_GUI_COREGUI_VIEWS_SAMPLEDESIGNER_SAMPLEWIDGETBOX_H
SampleDesignerInterface
sample designer interface
Definition:
SampleDesigner.h:31
SampleWidgetBox
widget box and tool window on the left side of SampleView
Definition:
SampleWidgetBox.h:24
SampleWidgetBox::minimumSizeHint
QSize minimumSizeHint() const override
Definition:
SampleWidgetBox.h:28
SampleWidgetBox::m_core
SampleDesignerInterface * m_core
Definition:
SampleWidgetBox.h:31
SampleWidgetBox::m_widgetBox
QDesignerWidgetBoxInterface * m_widgetBox
Definition:
SampleWidgetBox.h:32
SampleWidgetBox::SampleWidgetBox
SampleWidgetBox(SampleDesignerInterface *core, QWidget *parent)
Definition:
SampleWidgetBox.cpp:23
GUI
coregui
Views
SampleDesigner
SampleWidgetBox.h
Generated by
1.9.1