BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Defines ModelPath namespace. More...
Go to the source code of this file.
Namespaces | |
ModelPath | |
Functions | |
const SessionItem * | ModelPath::ancestor (const SessionItem *item, const QString &requiredModelType) |
Returns ancestor of given modelType for given item. More... | |
QModelIndex | ModelPath::getIndexFromPath (const SessionModel *model, const QString &path) |
SessionItem * | ModelPath::getItemFromPath (const QString &relPath, const SessionItem *parent) |
returns an item from relative path wrt to given parent More... | |
QString | ModelPath::getPathFromIndex (const QModelIndex &index) |
bool | ModelPath::isValidItem (SessionModel *model, SessionItem *item, const QModelIndex &parent) |
Iterates through all the model and returns true if item is found. This is to. More... | |
QString | ModelPath::itemPathTranslation (const SessionItem &item, const SessionItem *topItem=0) |
Returns translation of item path to domain name. More... | |
Defines ModelPath namespace.
Definition in file ModelPath.h.