//! Removes sub-model on removing a part object. Also it removes QModelIndex-es which refer to this model
void removeSubModel(int theModelId);
//! Removes sub-model on removing a part object. Also it removes QModelIndex-es which refer to this model
void removeSubModel(int theModelId);
//! Returns true if the given model is a one of sub-models (of both types)
bool isSubModel(const QAbstractItemModel* theModel) const;
//! Returns true if the given model is a one of sub-models (of both types)
bool isSubModel(const QAbstractItemModel* theModel) const;
//! Data model of top part of data tree (not parts object)
PartSet_TopDataModel* myModel;
//! Data models for Parts data tree representation (one data model per a one part)
//! Data model of top part of data tree (not parts object)
PartSet_TopDataModel* myModel;
//! Data models for Parts data tree representation (one data model per a one part)
QModelIndex myActivePartIndex;
//! List of saved QModelIndexes created by sub-models
QList<QModelIndex*> myIndexes;
QModelIndex myActivePartIndex;
//! List of saved QModelIndexes created by sub-models
QList<QModelIndex*> myIndexes;