BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Functions | |
SessionItem * | CreateItem (const QString &model_name, SessionItem *parent=nullptr) |
create SessionItem of specific type and parent More... | |
SessionItem * GUI::Model::ItemFactory::CreateItem | ( | const QString & | model_name, |
SessionItem * | parent = nullptr |
||
) |
create SessionItem of specific type and parent
Definition at line 19 of file ItemFactory.cpp.
References ItemCatalog::createItemPtr(), SessionItem::insertChild(), and ItemCatalog::instance().
Referenced by SessionItem::addGroupProperty(), GroupItemController::addItem(), SessionItem::addProperty(), and SessionModel::insertNewItem().