BornAgain  1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
DockWidgetInfo Class Reference

Description

Holds information about the widget and its dock.

Definition at line 25 of file DockWidgetInfo.h.

Public Member Functions

 DockWidgetInfo ()
 
 DockWidgetInfo (QDockWidget *dock, QWidget *widget, Qt::DockWidgetArea area)
 
Qt::DockWidgetArea area ()
 
QDockWidget * dock ()
 
QWidget * widget ()
 

Private Attributes

Qt::DockWidgetArea m_area
 
QDockWidget * m_dock
 
QWidget * m_widget
 

Constructor & Destructor Documentation

◆ DockWidgetInfo() [1/2]

DockWidgetInfo::DockWidgetInfo ( )

Definition at line 17 of file DockWidgetInfo.cpp.

18  : m_dock(nullptr)
19  , m_widget(nullptr)
20  , m_area(Qt::NoDockWidgetArea)
21 {
22 }
QDockWidget * m_dock
Qt::DockWidgetArea m_area
QWidget * m_widget

◆ DockWidgetInfo() [2/2]

DockWidgetInfo::DockWidgetInfo ( QDockWidget *  dock,
QWidget *  widget,
Qt::DockWidgetArea  area 
)

Definition at line 24 of file DockWidgetInfo.cpp.

25  : m_dock(dock)
26  , m_widget(widget)
27  , m_area(area)
28 {
29 }
Qt::DockWidgetArea area()
QDockWidget * dock()
QWidget * widget()

Member Function Documentation

◆ area()

Qt::DockWidgetArea DockWidgetInfo::area ( )

Definition at line 41 of file DockWidgetInfo.cpp.

42 {
43  return m_area;
44 }

References m_area.

◆ dock()

QDockWidget * DockWidgetInfo::dock ( )

Definition at line 31 of file DockWidgetInfo.cpp.

32 {
33  return m_dock;
34 }

References m_dock.

◆ widget()

QWidget * DockWidgetInfo::widget ( )

Definition at line 36 of file DockWidgetInfo.cpp.

37 {
38  return m_widget;
39 }

References m_widget.

Member Data Documentation

◆ m_area

Qt::DockWidgetArea DockWidgetInfo::m_area
private

Definition at line 37 of file DockWidgetInfo.h.

Referenced by area().

◆ m_dock

QDockWidget* DockWidgetInfo::m_dock
private

Definition at line 35 of file DockWidgetInfo.h.

Referenced by dock().

◆ m_widget

QWidget* DockWidgetInfo::m_widget
private

Definition at line 36 of file DockWidgetInfo.h.

Referenced by widget().


The documentation for this class was generated from the following files: