BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
DistributionDialog.h
Go to the documentation of this file.
1
// ************************************************************************************************
2
//
3
// BornAgain: simulate and fit reflection and scattering
4
//
5
//! @file GUI/coregui/Views/InfoWidgets/DistributionDialog.h
6
//! @brief Defines class DistributionDialog
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_COREGUI_VIEWS_INFOWIDGETS_DISTRIBUTIONDIALOG_H
16
#define BORNAGAIN_GUI_COREGUI_VIEWS_INFOWIDGETS_DISTRIBUTIONDIALOG_H
17
18
#include <QDialog>
19
class
DistributionEditor
;
20
class
SessionItem
;
21
22
//! The dialog which shows an editor to change parameters of DistributionItem
23
class
DistributionDialog
:
public
QDialog {
24
Q_OBJECT
25
26
public
:
27
DistributionDialog
(QWidget* parent = 0);
28
virtual
~DistributionDialog
() {}
29
30
void
setItem
(
SessionItem
* item);
31
void
setNameOfEditor
(
const
QString&
name
);
32
33
private
:
34
DistributionEditor
*
m_editor
;
35
};
36
37
#endif
// BORNAGAIN_GUI_COREGUI_VIEWS_INFOWIDGETS_DISTRIBUTIONDIALOG_H
DistributionDialog
The dialog which shows an editor to change parameters of DistributionItem.
Definition:
DistributionDialog.h:23
DistributionDialog::setNameOfEditor
void setNameOfEditor(const QString &name)
Definition:
DistributionDialog.cpp:56
DistributionDialog::~DistributionDialog
virtual ~DistributionDialog()
Definition:
DistributionDialog.h:28
DistributionDialog::m_editor
DistributionEditor * m_editor
Definition:
DistributionDialog.h:34
DistributionDialog::DistributionDialog
DistributionDialog(QWidget *parent=0)
Definition:
DistributionDialog.cpp:22
DistributionDialog::setItem
void setItem(SessionItem *item)
Definition:
DistributionDialog.cpp:51
DistributionEditor
The DistributionEditor class, being a child of DistributionDialog, contains a widget to show Distribu...
Definition:
DistributionEditor.h:29
SessionItem
Definition:
SessionItem.h:33
RealSpace::Particles::name
QString const & name(EShape k)
Definition:
particles.cpp:21
GUI
coregui
Views
InfoWidgets
DistributionDialog.h
Generated by
1.9.1