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 
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 
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:
43 
45 };
46 
47 #endif // BORNAGAIN_GUI_VIEW_IMPORT_REALDATAMASKWIDGET_H
Defines class ItemComboWidget.
Container holding various masks as children.
Definition: MaskItems.h:202
Main class to draw masks on top of intensity data map.
Definition: MaskEditor.h:31
The RealDataMaskWidget class provides mask editing for RealDataItem on ImportDataView.
void subscribeToItem() override
void unsubscribeFromItem() override
QList< QAction * > actionList() override
MaskContainerItem * maskContainer(IntensityDataItem *intensityData)
RealDataMaskWidget(QWidget *parent=nullptr)
MaskEditor * m_maskEditor
IntensityDataItem * intensityDataItem()
The SessionItemWidget class is a base for all widgets representing the content of SessionItem....
Base class for a GUI data item.
Definition: SessionItem.h:204