BornAgain  1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
SpecularDataWidget.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file GUI/View/PlotSpecular/SpecularDataWidget.h
6 //! @brief Defines class SpecularDataWidget
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_PLOTSPECULAR_SPECULARDATAWIDGET_H
16 #define BORNAGAIN_GUI_VIEW_PLOTSPECULAR_SPECULARDATAWIDGET_H
17 
19 
20 class SpecularDataCanvas;
21 class SpecularDataItem;
23 
25  Q_OBJECT
26 
27 public:
28  SpecularDataWidget(QWidget* parent = nullptr);
29 
30  void setItem(SessionItem* jobItem) override;
31 
32  QList<QAction*> actionList() override;
33 
34 private slots:
35  void onContextMenuRequest(const QPoint& point);
36 
37 private:
39 
43 };
44 
45 #endif // BORNAGAIN_GUI_VIEW_PLOTSPECULAR_SPECULARDATAWIDGET_H
Defines class ItemComboWidget.
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
Widget to edit properties of a SpecularDataItem or a Data1DViewItem.
QList< QAction * > actionList() override
SpecularDataPropertyWidget * m_propertyWidget
void setItem(SessionItem *jobItem) override
SpecularDataWidget(QWidget *parent=nullptr)
void onContextMenuRequest(const QPoint &point)
SpecularDataItem * specularDataItem()
SpecularDataCanvas * m_intensity_canvas
QAction * m_togglePropertiesAction