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