BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
ItemFactory.h
Go to the documentation of this file.
1
// ************************************************************************************************
2
//
3
// BornAgain: simulate and fit reflection and scattering
4
//
5
//! @file GUI/Model/MakeItem/ItemFactory.h
6
//! @brief Defines namespace GUI::Model::ItemFactory
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_MODEL_MAKEITEM_ITEMFACTORY_H
16
#define BORNAGAIN_GUI_MODEL_MAKEITEM_ITEMFACTORY_H
17
18
#include <QString>
19
20
class
SessionItem
;
21
22
namespace
GUI::Model::ItemFactory
{
23
24
//! create SessionItem of specific type and parent
25
SessionItem
*
CreateItem
(
const
QString& model_name,
SessionItem
* parent =
nullptr
);
26
27
}
// namespace GUI::Model::ItemFactory
28
29
#endif
// BORNAGAIN_GUI_MODEL_MAKEITEM_ITEMFACTORY_H
SessionItem
Base class for a GUI data item.
Definition:
SessionItem.h:204
GUI::Model::ItemFactory
Definition:
ItemFactory.h:22
GUI::Model::ItemFactory::CreateItem
SessionItem * CreateItem(const QString &model_name, SessionItem *parent=nullptr)
create SessionItem of specific type and parent
Definition:
ItemFactory.cpp:19
GUI
Model
MakeItem
ItemFactory.h
Generated by
1.9.1