{
Q_OBJECT
public:
- XGUI_TopDataModel(const DocumentPtr& theDocument, QObject* theParent);
+ XGUI_TopDataModel(QObject* theParent);
virtual ~XGUI_TopDataModel();
// Reimpl from QAbstractItemModel
{
Q_OBJECT
public:
- XGUI_PartDataModel(const DocumentPtr& theDocument, QObject* theParent);
+ XGUI_PartDataModel(QObject* theParent);
virtual ~XGUI_PartDataModel();
// Reimpl from QAbstractItemModel
virtual FeaturePtr part() const;
private:
+
+ //! Returns document of the current part
DocumentPtr featureDocument() const;
//! Types of QModelIndexes