BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
DockWidgetInfo.cpp
Go to the documentation of this file.
1
// ************************************************************************************************
2
//
3
// BornAgain: simulate and fit reflection and scattering
4
//
5
//! @file GUI/View/Common/DockWidgetInfo.cpp
6
//! @brief Implements class DockWidgetInfo
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
#include "
GUI/View/Common/DockWidgetInfo.h
"
16
17
DockWidgetInfo::DockWidgetInfo
()
18
: m_dock(nullptr)
19
, m_widget(nullptr)
20
, m_area(Qt::NoDockWidgetArea)
21
{
22
}
23
24
DockWidgetInfo::DockWidgetInfo
(QDockWidget* dock, QWidget* widget, Qt::DockWidgetArea area)
25
: m_dock(dock)
26
, m_widget(widget)
27
, m_area(area)
28
{
29
}
30
31
QDockWidget*
DockWidgetInfo::dock
()
32
{
33
return
m_dock
;
34
}
35
36
QWidget*
DockWidgetInfo::widget
()
37
{
38
return
m_widget
;
39
}
40
41
Qt::DockWidgetArea
DockWidgetInfo::area
()
42
{
43
return
m_area
;
44
}
DockWidgetInfo.h
Defines class DockWidgetInfo.
DockWidgetInfo::DockWidgetInfo
DockWidgetInfo()
Definition:
DockWidgetInfo.cpp:17
DockWidgetInfo::area
Qt::DockWidgetArea area()
Definition:
DockWidgetInfo.cpp:41
DockWidgetInfo::m_dock
QDockWidget * m_dock
Definition:
DockWidgetInfo.h:35
DockWidgetInfo::m_area
Qt::DockWidgetArea m_area
Definition:
DockWidgetInfo.h:37
DockWidgetInfo::dock
QDockWidget * dock()
Definition:
DockWidgetInfo.cpp:31
DockWidgetInfo::m_widget
QWidget * m_widget
Definition:
DockWidgetInfo.h:36
DockWidgetInfo::widget
QWidget * widget()
Definition:
DockWidgetInfo.cpp:36
GUI
View
Common
DockWidgetInfo.cpp
Generated by
1.9.1