1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +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

@@ -24,9 +24,9 @@
#pragma warning(disable : 4127) // conditional expression is constant
#endif
#include <QGridLayout>
#include <QVariant>
#include <QWidget>
#include <QGridLayout>
// =======================================================================
// function : CreateWidget
@@ -62,13 +62,13 @@ void DFBrowserPane_TDataStdBooleanArray::GetValues (const Handle(TDF_Attribute)&
QList<QVariant>& theValues)
{
Handle(TDataStd_BooleanArray) anAttribute = Handle(TDataStd_BooleanArray)::DownCast (theAttribute);
if (!anAttribute.IsNull())
{
theValues.append (anAttribute->Lower());
theValues.append (anAttribute->Upper());
for (int aValuesId = anAttribute->Lower(); aValuesId <= anAttribute->Upper(); aValuesId++)
theValues.append (anAttribute->Value (aValuesId));
}
if (anAttribute.IsNull())
return;
theValues.append (anAttribute->Lower());
theValues.append (anAttribute->Upper());
for (int aValueId = anAttribute->Lower(); aValueId <= anAttribute->Upper(); aValueId++)
theValues.append (anAttribute->Value (aValueId));
}
// =======================================================================