1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0029018: Documentation - Provide user guide for Qt browser

Documentation is added in a new "Inspector" page of "User Guides".
Inspector plugins has some improvements by the documentation needs.
New DRAW scripts are implemented for 'tinspector' command.
This commit is contained in:
nds
2017-08-28 12:29:29 +03:00
committed by bugmaster
parent 434098193a
commit d2c909178e
117 changed files with 3166 additions and 463 deletions

View File

@@ -51,9 +51,13 @@ public:
//! \param theAttribute an attribute
void SetAttribute (const Handle(TDF_Attribute)& theAttribute) { myAttribute = theAttribute; }
//! Returns the current attribute
//! \return an attribute
Handle(TDF_Attribute) GetAttribute () const { initItem(); return myAttribute; }
//! Set state if the attribute is current(corresponds to the selected attribute in tree)
//! \param theCurrent boolean state
void setCurrentAttribute (const bool theCurrent) { myIsCurrentItem = theCurrent; }
void setCurrentAttribute (const bool theCurrent) { Reset(); myIsCurrentItem = theCurrent; }
//! Returns child attribute of the current attribute
//! \param theChildRow an index of a child attribute