Standard_EXPORT virtual QVariant data (const QModelIndex& theIndex,
int theRole = Qt::DisplayRole) const Standard_OVERRIDE;
- //! Returns count of columns in the model
- //! \param theParent an index of the parent item
- //! \return integer value
- virtual int columnCount (const QModelIndex& theParent = QModelIndex()) const Standard_OVERRIDE
- { (void)theParent; return 1; }
+protected:
+ //! Creates root item
+ //! \param theColumnId index of a column
+ virtual void createRootItem (const int theColumnId);
private: