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:
@@ -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";
|
||||
}
|
||||
|
Reference in New Issue
Block a user