15 #ifndef BORNAGAIN_GUI_MODEL_MODEL_MODELPATH_H
16 #define BORNAGAIN_GUI_MODEL_MODEL_MODELPATH_H
Base class for a GUI data item.
Base class for a GUI data collection. A collection is e.g. all real data (RealDataModel)....
bool isValidItem(SessionModel *model, SessionItem *item, const QModelIndex &parent)
Iterates through all the model and returns true if item is found. This is to.
SessionItem * ancestor(SessionItem *item, const QString &requiredModelType)
Returns ancestor of given modelType for given item.