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
18
#include "
GUI/View/Common/SessionItemWidget.h
"
19
20
class
SpecularDataCanvas
;
21
class
SpecularDataItem
;
22
class
SpecularDataPropertyWidget
;
23
24
class
SpecularDataWidget
:
public
SessionItemWidget
{
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
:
38
SpecularDataItem
*
specularDataItem
();
39
40
SpecularDataCanvas
*
m_intensity_canvas
;
41
SpecularDataPropertyWidget
*
m_propertyWidget
;
42
QAction*
m_togglePropertiesAction
;
43
};
44
45
#endif
// BORNAGAIN_GUI_VIEW_PLOTSPECULAR_SPECULARDATAWIDGET_H
SessionItemWidget.h
Defines class ItemComboWidget.
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
SpecularDataCanvas
Definition:
SpecularDataCanvas.h:25
SpecularDataItem
Definition:
SpecularDataItem.h:23
SpecularDataPropertyWidget
Widget to edit properties of a SpecularDataItem or a Data1DViewItem.
Definition:
SpecularDataPropertyWidget.h:35
SpecularDataWidget
Definition:
SpecularDataWidget.h:24
SpecularDataWidget::actionList
QList< QAction * > actionList() override
Definition:
SpecularDataWidget.cpp:56
SpecularDataWidget::m_propertyWidget
SpecularDataPropertyWidget * m_propertyWidget
Definition:
SpecularDataWidget.h:41
SpecularDataWidget::setItem
void setItem(SessionItem *jobItem) override
Definition:
SpecularDataWidget.cpp:47
SpecularDataWidget::SpecularDataWidget
SpecularDataWidget(QWidget *parent=nullptr)
Definition:
SpecularDataWidget.cpp:24
SpecularDataWidget::onContextMenuRequest
void onContextMenuRequest(const QPoint &point)
Definition:
SpecularDataWidget.cpp:61
SpecularDataWidget::specularDataItem
SpecularDataItem * specularDataItem()
Definition:
SpecularDataWidget.cpp:69
SpecularDataWidget::m_intensity_canvas
SpecularDataCanvas * m_intensity_canvas
Definition:
SpecularDataWidget.h:40
SpecularDataWidget::m_togglePropertiesAction
QAction * m_togglePropertiesAction
Definition:
SpecularDataWidget.h:42
GUI
View
PlotSpecular
SpecularDataWidget.h
Generated by
1.9.1