X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=tools%2FDFBrowserPane%2FDFBrowserPane_TDataStdTreeNodeModel.hxx;h=9f6fdc07b3e8cbe57c0a2a6a5508bdc14a463cff;hb=d2c909178edea381a99889edd7d75b57f4cdf4d3;hpb=434098193aa1f747c50d2a0a709f85c6fe3c8b40 diff --git a/tools/DFBrowserPane/DFBrowserPane_TDataStdTreeNodeModel.hxx b/tools/DFBrowserPane/DFBrowserPane_TDataStdTreeNodeModel.hxx index 22bc9dad81..9f6fdc07b3 100644 --- a/tools/DFBrowserPane/DFBrowserPane_TDataStdTreeNodeModel.hxx +++ b/tools/DFBrowserPane/DFBrowserPane_TDataStdTreeNodeModel.hxx @@ -42,8 +42,11 @@ public: //! \param theAttribute a current attribute Standard_EXPORT void SetAttribute (const Handle(TDF_Attribute)& theAttribute); - //! Returns model index by the attribute. - QModelIndex FindIndex (const Handle(TDF_Attribute)& theAttribute) { (void)theAttribute; return QModelIndex(); } + //! Returns model index by the attribute. The method is recursive. + //! \param theAttribute an attribute that is searched + //! \param theParentIndex an index of the parent item + //! \return the model index + QModelIndex FindIndex (const Handle(TDF_Attribute)& theAttribute, const QModelIndex theParentIndex); //! Returns count of columns in the model. //! \param theParent an index of the parent item