BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
RealDataMaskWidget.h
Go to the documentation of this file.
1
// ************************************************************************************************
2
//
3
// BornAgain: simulate and fit reflection and scattering
4
//
5
//! @file GUI/View/Import/RealDataMaskWidget.h
6
//! @brief Defines class RealDataMaskWidget
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_IMPORT_REALDATAMASKWIDGET_H
16
#define BORNAGAIN_GUI_VIEW_IMPORT_REALDATAMASKWIDGET_H
17
18
#include "
GUI/View/Common/SessionItemWidget.h
"
19
20
class
SessionItem
;
21
class
MaskEditor
;
22
class
IntensityDataItem
;
23
class
QAction;
24
class
MaskContainerItem
;
25
26
//! The RealDataMaskWidget class provides mask editing for RealDataItem on ImportDataView.
27
28
class
RealDataMaskWidget
:
public
SessionItemWidget
{
29
Q_OBJECT
30
31
public
:
32
RealDataMaskWidget
(QWidget* parent =
nullptr
);
33
34
QList<QAction*>
actionList
()
override
;
35
36
protected
:
37
void
subscribeToItem
()
override
;
38
void
unsubscribeFromItem
()
override
;
39
40
private
:
41
IntensityDataItem
*
intensityDataItem
();
42
MaskContainerItem
*
maskContainer
(
IntensityDataItem
* intensityData);
43
44
MaskEditor
*
m_maskEditor
;
45
};
46
47
#endif
// BORNAGAIN_GUI_VIEW_IMPORT_REALDATAMASKWIDGET_H
SessionItemWidget.h
Defines class ItemComboWidget.
IntensityDataItem
Definition:
IntensityDataItem.h:26
MaskContainerItem
Container holding various masks as children.
Definition:
MaskItems.h:202
MaskEditor
Main class to draw masks on top of intensity data map.
Definition:
MaskEditor.h:31
RealDataMaskWidget
The RealDataMaskWidget class provides mask editing for RealDataItem on ImportDataView.
Definition:
RealDataMaskWidget.h:28
RealDataMaskWidget::subscribeToItem
void subscribeToItem() override
Definition:
RealDataMaskWidget.cpp:48
RealDataMaskWidget::unsubscribeFromItem
void unsubscribeFromItem() override
Definition:
RealDataMaskWidget.cpp:56
RealDataMaskWidget::actionList
QList< QAction * > actionList() override
Definition:
RealDataMaskWidget.cpp:43
RealDataMaskWidget::maskContainer
MaskContainerItem * maskContainer(IntensityDataItem *intensityData)
Definition:
RealDataMaskWidget.cpp:68
RealDataMaskWidget::RealDataMaskWidget
RealDataMaskWidget(QWidget *parent=nullptr)
Definition:
RealDataMaskWidget.cpp:23
RealDataMaskWidget::m_maskEditor
MaskEditor * m_maskEditor
Definition:
RealDataMaskWidget.h:44
RealDataMaskWidget::intensityDataItem
IntensityDataItem * intensityDataItem()
Definition:
RealDataMaskWidget.cpp:61
SessionItemWidget
The SessionItemWidget class is a base for all widgets representing the content of SessionItem....
Definition:
SessionItemWidget.h:30
SessionItem
Base class for a GUI data item.
Definition:
SessionItem.h:204
GUI
View
Import
RealDataMaskWidget.h
Generated by
1.9.1