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

0031350: Inspectors - property view in DFBrowser for DumpJson

(cherry picked from commit 19b5d8465313c119c9d2f344041e67883226ec61)
This commit is contained in:
nds
2020-11-09 06:24:03 +03:00
parent dee527369c
commit b34d24534d
46 changed files with 521 additions and 129 deletions

View File

@@ -56,13 +56,13 @@ int DFBrowser_ItemApplication::initRowCount() const
// function : initValue
// purpose :
// =======================================================================
QVariant DFBrowser_ItemApplication::initValue (const int theItemRole) const
QVariant DFBrowser_ItemApplication::initValue (const int theRole) const
{
if (theItemRole == Qt::DisplayRole ||
theItemRole == Qt::EditRole ||
theItemRole == Qt::ToolTipRole ||
theItemRole == DFBrowserPane_ItemRole_DisplayExtended ||
theItemRole == DFBrowserPane_ItemRole_ToolTipExtended)
if (theRole == Qt::DisplayRole ||
theRole == Qt::EditRole ||
theRole == Qt::ToolTipRole ||
theRole == DFBrowserPane_ItemRole_DisplayExtended ||
theRole == DFBrowserPane_ItemRole_ToolTipExtended)
{
return "TDocStd_Application";
}