1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00

0029025: TInspector include files are not installed to inc directory by CMake

TInspector headers are collected in 'inc/tools' directory.

Extending DRAW Commands;

Eliminating warnings;

Improve Export to ShapeView dialog;

Avoid crash with QML using;
This commit is contained in:
nds 2017-08-24 08:25:47 +03:00 committed by bugmaster
parent 340054e17a
commit 0cb512c013
272 changed files with 1980 additions and 903 deletions

View File

@ -789,8 +789,7 @@ else()
# collect all the headers to <binary dir>/inc folder # collect all the headers to <binary dir>/inc folder
string(TIMESTAMP CURRENT_TIME "%H:%M:%S") string(TIMESTAMP CURRENT_TIME "%H:%M:%S")
message (STATUS "\nInfo: \(${CURRENT_TIME}\) Start collecting all OCCT tool header files into ${CMAKE_BINARY_DIR}/tools/inc ...") message (STATUS "\nInfo: \(${CURRENT_TIME}\) Start collecting all OCCT tool header files into ${CMAKE_BINARY_DIR}/tools/inc ...")
COLLECT_AND_INSTALL_OCCT_HEADER_FILES ("${CMAKE_BINARY_DIR}/${INSTALL_DIR_INCLUDE}" "${BUILD_TOOL_TOOLKITS}" "${CMAKE_SOURCE_DIR}/tools" "tools") COLLECT_AND_INSTALL_OCCT_HEADER_FILES ("${CMAKE_BINARY_DIR}" "${BUILD_TOOL_TOOLKITS}" "${CMAKE_SOURCE_DIR}/tools" "${INSTALL_DIR_INCLUDE}/inspector")
include_directories (${CMAKE_BINARY_DIR}/${INSTALL_DIR_INCLUDE}/tools)
# check qt 3rdparty path # check qt 3rdparty path

View File

@ -340,7 +340,7 @@ macro (COLLECT_AND_INSTALL_OCCT_HEADER_FILES ROOT_TARGET_OCCT_DIR OCCT_BUILD_TOO
string(TIMESTAMP CURRENT_TIME "%H:%M:%S") string(TIMESTAMP CURRENT_TIME "%H:%M:%S")
message (STATUS "Info: \(${CURRENT_TIME}\) Checking headers in inc folder...") message (STATUS "Info: \(${CURRENT_TIME}\) Checking headers in inc folder...")
file (GLOB OCCT_HEADER_FILES_OLD "${ROOT_TARGET_OCCT_DIR}/inc/*") file (GLOB OCCT_HEADER_FILES_OLD "${ROOT_TARGET_OCCT_DIR}/${OCCT_INSTALL_DIR_PREFIX}/*")
foreach (OCCT_HEADER_FILE_OLD ${OCCT_HEADER_FILES_OLD}) foreach (OCCT_HEADER_FILE_OLD ${OCCT_HEADER_FILES_OLD})
get_filename_component (HEADER_FILE_NAME ${OCCT_HEADER_FILE_OLD} NAME) get_filename_component (HEADER_FILE_NAME ${OCCT_HEADER_FILE_OLD} NAME)
string (REGEX MATCH "^[a-zA-Z0-9]+" PACKAGE_NAME "${HEADER_FILE_NAME}") string (REGEX MATCH "^[a-zA-Z0-9]+" PACKAGE_NAME "${HEADER_FILE_NAME}")

View File

@ -14,9 +14,11 @@
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <OSD_Environment.hxx>
#include <TInspectorEXE_OpenFileDialog.hxx> #include <TInspectorEXE_OpenFileDialog.hxx>
#include <TInspector_Communicator.hxx>
#include <inspector/TInspector_Communicator.hxx>
#include <OSD_Environment.hxx>
#include <QAction> #include <QAction>
#include <QApplication> #include <QApplication>

View File

@ -14,10 +14,10 @@
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <TInspectorEXE_OpenFileDialog.hxx> #include <TInspectorEXE_OpenFileDialog.hxx>
#include <TInspector_Communicator.hxx>
#include <TInspectorEXE_OpenFileViewModel.hxx> #include <TInspectorEXE_OpenFileViewModel.hxx>
#include <inspector/TInspector_Communicator.hxx>
#include <QApplication> #include <QApplication>
#include <QCompleter> #include <QCompleter>
#include <QDir> #include <QDir>

View File

@ -7,6 +7,6 @@ set aSetAttr1 100
set aLabel 0:2 set aLabel 0:2
SetInteger Doc ${aLabel} ${aSetAttr1} SetInteger Doc ${aLabel} ${aSetAttr1}
tinspector -dfbrowser tinspector -plugins dfbrowser
tinspector -update tinspector -update

View File

@ -5,7 +5,7 @@ pload INSPECTOR
chrono qat start chrono qat start
# Create a new document and set UndoLimit # Create a new document and set UndoLimit
NewDocument D BinOcaf NewDocument D BinOcaf
tinspector -dfbrowser tinspector -plugins dfbrowser
#NewDocument D #NewDocument D
cpulimit 300 cpulimit 300

View File

@ -13,17 +13,17 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowser_AttributePaneStack.hxx> #include <inspector/DFBrowser_AttributePaneStack.hxx>
#include <DFBrowserPane_AttributePaneAPI.hxx> #include <inspector/DFBrowserPane_AttributePaneAPI.hxx>
#include <DFBrowserPane_AttributePaneSelector.hxx> #include <inspector/DFBrowserPane_AttributePaneSelector.hxx>
#include <DFBrowser_Item.hxx> #include <inspector/DFBrowser_Item.hxx>
#include <DFBrowser_Module.hxx> #include <inspector/DFBrowser_Module.hxx>
#include <DFBrowser_Tools.hxx> #include <inspector/DFBrowser_Tools.hxx>
#include <DFBrowser_TreeLevelView.hxx> #include <inspector/DFBrowser_TreeLevelView.hxx>
#include <DFBrowser_TreeModel.hxx> #include <inspector/DFBrowser_TreeModel.hxx>
#include <DFBrowser_SearchView.hxx> #include <inspector/DFBrowser_SearchView.hxx>
#include <DFBrowser_Window.hxx> #include <inspector/DFBrowser_Window.hxx>
#include <TDF_Attribute.hxx> #include <TDF_Attribute.hxx>

View File

@ -16,9 +16,10 @@
#ifndef DFBrowser_AttributePaneStack_H #ifndef DFBrowser_AttributePaneStack_H
#define DFBrowser_AttributePaneStack_H #define DFBrowser_AttributePaneStack_H
#include <DFBrowser_AttributePaneType.hxx> #include <inspector/DFBrowser_AttributePaneType.hxx>
#include <inspector/TreeModel_ItemBase.hxx>
#include <Standard.hxx> #include <Standard.hxx>
#include <TreeModel_ItemBase.hxx>
#include <QMap> #include <QMap>
#include <QItemSelection> #include <QItemSelection>

View File

@ -14,11 +14,11 @@
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowser_Communicator.hxx> #include <inspector/DFBrowser_Communicator.hxx>
#include <CDF_Session.hxx> #include <CDF_Session.hxx>
#include <DFBrowser_Module.hxx> #include <inspector/DFBrowser_Module.hxx>
#include <DFBrowser_Window.hxx> #include <inspector/DFBrowser_Window.hxx>
// ======================================================================= // =======================================================================
// function : CreateCommunicator // function : CreateCommunicator

View File

@ -16,10 +16,11 @@
#ifndef DFBrowser_Communicator_H #ifndef DFBrowser_Communicator_H
#define DFBrowser_Communicator_H #define DFBrowser_Communicator_H
#include <DFBrowser_Window.hxx> #include <inspector/DFBrowser_Window.hxx>
#include <inspector/TInspectorAPI_Communicator.hxx>
#include <Standard.hxx> #include <Standard.hxx>
#include <Standard_Macro.hxx> #include <Standard_Macro.hxx>
#include <TInspectorAPI_Communicator.hxx>
#include <QObject> #include <QObject>

View File

@ -13,13 +13,13 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowser_DumpView.hxx> #include <inspector/DFBrowser_DumpView.hxx>
#include <DFBrowser_Item.hxx> #include <inspector/DFBrowser_Item.hxx>
#include <DFBrowser_Window.hxx> #include <inspector/DFBrowser_Window.hxx>
#include <DFBrowser_TreeLevelView.hxx> #include <inspector/DFBrowser_TreeLevelView.hxx>
#include <OSD_OpenFile.hxx> #include <OSD_OpenFile.hxx>
#include <TreeModel_ModelBase.hxx> #include <inspector/TreeModel_ModelBase.hxx>
#include <QAbstractItemModel> #include <QAbstractItemModel>
#include <QDir> #include <QDir>
@ -52,7 +52,6 @@ void DFBrowser_DumpView::OnTreeViewSelectionChanged (const QItemSelection& theSe
QString aDumpInfo; QString aDumpInfo;
const QModelIndex& anIndex = aFirstColumnSelectedIndices.first(); const QModelIndex& anIndex = aFirstColumnSelectedIndices.first();
TreeModel_ItemBasePtr anItemBase = TreeModel_ModelBase::GetItemByIndex (anIndex); TreeModel_ItemBasePtr anItemBase = TreeModel_ModelBase::GetItemByIndex (anIndex);
//#define REQUIRE_OCAF_REVIEW:18 : start
DFBrowser_ItemPtr anItem; DFBrowser_ItemPtr anItem;
if (anItemBase) if (anItemBase)
anItem = itemDynamicCast<DFBrowser_Item> (anItemBase); anItem = itemDynamicCast<DFBrowser_Item> (anItemBase);
@ -87,7 +86,6 @@ void DFBrowser_DumpView::OnTreeViewSelectionChanged (const QItemSelection& theSe
aFile.close(); aFile.close();
QDir aDir; QDir aDir;
aDir.remove (aFileName.ToCString()); aDir.remove (aFileName.ToCString());
//#define REQUIRE_OCAF_REVIEW:18 : end
if (!aDumpInfo.isEmpty()) if (!aDumpInfo.isEmpty())
{ {
myTextEdit->setVisible (true); myTextEdit->setVisible (true);

View File

@ -13,9 +13,9 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowser_HighlightDelegate.hxx> #include <inspector/DFBrowser_HighlightDelegate.hxx>
#include <DFBrowser_Window.hxx> #include <inspector/DFBrowser_Window.hxx>
#include <QPainter> #include <QPainter>
// ======================================================================= // =======================================================================

View File

@ -13,15 +13,15 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowser_Item.hxx> #include <inspector/DFBrowser_Item.hxx>
#include <DFBrowser_ItemRole.hxx> #include <inspector/DFBrowser_ItemRole.hxx>
#include <DFBrowser_Module.hxx> #include <inspector/DFBrowser_Module.hxx>
#include <DFBrowser_Tools.hxx> #include <inspector/DFBrowser_Tools.hxx>
#include <DFBrowserPane_AttributePane.hxx> #include <inspector/DFBrowserPane_AttributePane.hxx>
#include <DFBrowserPane_ItemRole.hxx> #include <inspector/DFBrowserPane_ItemRole.hxx>
#include <DFBrowserPane_Tools.hxx> #include <inspector/DFBrowserPane_Tools.hxx>
#include <TDF_AttributeIterator.hxx> #include <TDF_AttributeIterator.hxx>
#include <TDF_ChildIterator.hxx> #include <TDF_ChildIterator.hxx>
@ -31,7 +31,6 @@
const int INFO_LENGHT = 60; const int INFO_LENGHT = 60;
//#define REQUIRE_OCAF_REVIEW:23
// ======================================================================= // =======================================================================
// function : hasAttribute // function : hasAttribute
// purpose : // purpose :

View File

@ -16,7 +16,7 @@
#ifndef DFBrowser_Item_H #ifndef DFBrowser_Item_H
#define DFBrowser_Item_H #define DFBrowser_Item_H
#include <DFBrowser_ItemBase.hxx> #include <inspector/DFBrowser_ItemBase.hxx>
#include <TDF_Attribute.hxx> #include <TDF_Attribute.hxx>
#include <Standard.hxx> #include <Standard.hxx>

View File

@ -13,20 +13,18 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowser_ItemApplication.hxx> #include <inspector/DFBrowser_ItemApplication.hxx>
#include <DFBrowser_Item.hxx> #include <inspector/DFBrowser_Item.hxx>
#include <DFBrowser_ItemDocument.hxx> #include <inspector/DFBrowser_ItemDocument.hxx>
#include <DFBrowser_Module.hxx> #include <inspector/DFBrowser_Module.hxx>
#include <DFBrowser_Tools.hxx> #include <inspector/DFBrowser_Tools.hxx>
#include <DFBrowserPane_AttributePane.hxx> #include <inspector/DFBrowserPane_AttributePane.hxx>
#include <DFBrowserPane_ItemRole.hxx> #include <inspector/DFBrowserPane_ItemRole.hxx>
#include <QObject> #include <QObject>
//#define REQUIRE_OCAF_REVIEW:21
// ======================================================================= // =======================================================================
// function : createChild // function : createChild
// purpose : // purpose :

View File

@ -16,7 +16,8 @@
#ifndef DFBrowser_ItemApplication_H #ifndef DFBrowser_ItemApplication_H
#define DFBrowser_ItemApplication_H #define DFBrowser_ItemApplication_H
#include <DFBrowser_ItemBase.hxx> #include <inspector/DFBrowser_ItemBase.hxx>
#include <TDocStd_Application.hxx> #include <TDocStd_Application.hxx>
class DFBrowser_ItemApplication; class DFBrowser_ItemApplication;

View File

@ -13,15 +13,15 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowser_ItemBase.hxx> #include <inspector/DFBrowser_ItemBase.hxx>
#include <DFBrowser_Item.hxx> #include <inspector/DFBrowser_Item.hxx>
#include <DFBrowser_Module.hxx> #include <inspector/DFBrowser_Module.hxx>
#include <DFBrowser_Tools.hxx> #include <inspector/DFBrowser_Tools.hxx>
#include <DFBrowserPane_AttributePane.hxx> #include <inspector/DFBrowserPane_AttributePane.hxx>
#include <DFBrowserPane_ItemRole.hxx> #include <inspector/DFBrowserPane_ItemRole.hxx>
#include <DFBrowserPane_Tools.hxx> #include <inspector/DFBrowserPane_Tools.hxx>
#include <TDataStd_Name.hxx> #include <TDataStd_Name.hxx>
#include <TDF_ChildIterator.hxx> #include <TDF_ChildIterator.hxx>
@ -30,7 +30,6 @@
#include <QIcon> #include <QIcon>
#include <QVariant> #include <QVariant>
//#define REQUIRE_OCAF_REVIEW:20
// ======================================================================= // =======================================================================
// function : Constructor // function : Constructor
// purpose : // purpose :

View File

@ -17,9 +17,10 @@
#define DFBrowser_ItemBase_H #define DFBrowser_ItemBase_H
#include <Standard.hxx> #include <Standard.hxx>
#include <TreeModel_ItemBase.hxx>
#include <TDF_Label.hxx> #include <TDF_Label.hxx>
#include <inspector/TreeModel_ItemBase.hxx>
class DFBrowser_ItemBase; class DFBrowser_ItemBase;
class DFBrowser_Module; class DFBrowser_Module;
typedef QExplicitlySharedDataPointer<DFBrowser_ItemBase> DFBrowser_ItemBasePtr; typedef QExplicitlySharedDataPointer<DFBrowser_ItemBase> DFBrowser_ItemBasePtr;

View File

@ -13,22 +13,20 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowser_ItemDocument.hxx> #include <inspector/DFBrowser_ItemDocument.hxx>
#include <DFBrowser_Item.hxx> #include <inspector/DFBrowser_Item.hxx>
#include <DFBrowser_ItemApplication.hxx> #include <inspector/DFBrowser_ItemApplication.hxx>
#include <DFBrowser_ItemDocument.hxx> #include <inspector/DFBrowser_ItemDocument.hxx>
#include <DFBrowser_Tools.hxx> #include <inspector/DFBrowser_Tools.hxx>
#include <DFBrowserPane_AttributePane.hxx> #include <inspector/DFBrowserPane_AttributePane.hxx>
#include <DFBrowserPane_ItemRole.hxx> #include <inspector/DFBrowserPane_ItemRole.hxx>
#include <QIcon> #include <QIcon>
#include <QLabel> #include <QLabel>
#include <QObject> #include <QObject>
//#define REQUIRE_OCAF_REVIEW:22
// ======================================================================= // =======================================================================
// function : GetLabel // function : GetLabel
// purpose : // purpose :

View File

@ -16,7 +16,8 @@
#ifndef DFBrowser_ItemDocument_H #ifndef DFBrowser_ItemDocument_H
#define DFBrowser_ItemDocument_H #define DFBrowser_ItemDocument_H
#include <DFBrowser_ItemBase.hxx> #include <inspector/DFBrowser_ItemBase.hxx>
#include <Standard.hxx> #include <Standard.hxx>
#include <TDocStd_Document.hxx> #include <TDocStd_Document.hxx>

View File

@ -13,22 +13,22 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowser_Module.hxx> #include <inspector/DFBrowser_Module.hxx>
#include <DFBrowser_Item.hxx> #include <inspector/DFBrowser_Item.hxx>
#include <DFBrowser_ItemApplication.hxx> #include <inspector/DFBrowser_ItemApplication.hxx>
#include <DFBrowser_ItemBase.hxx> #include <inspector/DFBrowser_ItemBase.hxx>
#include <DFBrowser_ItemRole.hxx> #include <inspector/DFBrowser_ItemRole.hxx>
#include <DFBrowser_Tools.hxx> #include <inspector/DFBrowser_Tools.hxx>
#include <DFBrowser_TreeModel.hxx> #include <inspector/DFBrowser_TreeModel.hxx>
#include <DFBrowserPane_AttributePane.hxx> #include <inspector/DFBrowserPane_AttributePane.hxx>
#include <DFBrowserPane_AttributePaneCreator.hxx> #include <inspector/DFBrowserPane_AttributePaneCreator.hxx>
#include <DFBrowserPane_ItemRole.hxx> #include <inspector/DFBrowserPane_ItemRole.hxx>
#include <DFBrowserPane_Tools.hxx> #include <inspector/DFBrowserPane_Tools.hxx>
#include <DFBrowserPaneXDE_AttributePaneCreator.hxx> #include <inspector/DFBrowserPaneXDE_AttributePaneCreator.hxx>
#include <DFBrowserPaneXDE_Tools.hxx> #include <inspector/DFBrowserPaneXDE_Tools.hxx>
#include <XCAFApp_Application.hxx> #include <XCAFApp_Application.hxx>

View File

@ -16,15 +16,16 @@
#ifndef DFBrowser_Module_H #ifndef DFBrowser_Module_H
#define DFBrowser_Module_H #define DFBrowser_Module_H
#include <inspector/DFBrowser_TreeModel.hxx>
#include <inspector/TreeModel_ItemBase.hxx>
#include <AIS_InteractiveContext.hxx> #include <AIS_InteractiveContext.hxx>
#include <DFBrowser_TreeModel.hxx>
#include <NCollection_Map.hxx> #include <NCollection_Map.hxx>
#include <Standard.hxx> #include <Standard.hxx>
#include <TCollection_AsciiString.hxx> #include <TCollection_AsciiString.hxx>
#include <TDF_Attribute.hxx> #include <TDF_Attribute.hxx>
#include <TDocStd_Application.hxx> #include <TDocStd_Application.hxx>
#include <TopoDS_Shape.hxx> #include <TopoDS_Shape.hxx>
#include <TreeModel_ItemBase.hxx>
#include <QObject> #include <QObject>

View File

@ -13,7 +13,7 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowser_OpenApplication.hxx> #include <inspector/DFBrowser_OpenApplication.hxx>
#include <BinDrivers.hxx> #include <BinDrivers.hxx>
#include <BinLDrivers.hxx> #include <BinLDrivers.hxx>
@ -32,7 +32,6 @@
#include <XmlXCAFDrivers.hxx> #include <XmlXCAFDrivers.hxx>
#include <UTL.hxx> #include <UTL.hxx>
//#define REQUIRE_OCAF_REVIEW:24
namespace DFBrowser_OpenApplication namespace DFBrowser_OpenApplication
{ {

View File

@ -13,13 +13,13 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowser_PropertyPanel.hxx> #include <inspector/DFBrowser_PropertyPanel.hxx>
#include <DFBrowser_AttributePaneStack.hxx> #include <inspector/DFBrowser_AttributePaneStack.hxx>
#include <DFBrowser_Item.hxx> #include <inspector/DFBrowser_Item.hxx>
#include <DFBrowser_SearchView.hxx> #include <inspector/DFBrowser_SearchView.hxx>
#include <DFBrowser_Window.hxx> #include <inspector/DFBrowser_Window.hxx>
#include <DFBrowser_TreeLevelView.hxx> #include <inspector/DFBrowser_TreeLevelView.hxx>
#include <QAbstractItemModel> #include <QAbstractItemModel>
#include <QGridLayout> #include <QGridLayout>

View File

@ -16,8 +16,9 @@
#ifndef DFBrowser_PropertyPanel_H #ifndef DFBrowser_PropertyPanel_H
#define DFBrowser_PropertyPanel_H #define DFBrowser_PropertyPanel_H
#include <inspector/TreeModel_ItemBase.hxx>
#include <Standard.hxx> #include <Standard.hxx>
#include <TreeModel_ItemBase.hxx>
#include <QItemSelection> #include <QItemSelection>
#include <QObject> #include <QObject>

View File

@ -13,12 +13,12 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowser_SearchLine.hxx> #include <inspector/DFBrowser_SearchLine.hxx>
#include <DFBrowser_SearchLineModel.hxx> #include <inspector/DFBrowser_SearchLineModel.hxx>
#include <DFBrowser_Window.hxx> #include <inspector/DFBrowser_Window.hxx>
#include <DFBrowserPane_Tools.hxx> #include <inspector/DFBrowserPane_Tools.hxx>
#include <DFBrowser_Module.hxx> #include <inspector/DFBrowser_Module.hxx>
#include <TDocStd_Application.hxx> #include <TDocStd_Application.hxx>
#include <TDocStd_Document.hxx> #include <TDocStd_Document.hxx>

View File

@ -16,7 +16,8 @@
#ifndef DFBrowser_SearchLine_H #ifndef DFBrowser_SearchLine_H
#define DFBrowser_SearchLine_H #define DFBrowser_SearchLine_H
#include <DFBrowser_SearchLineModel.hxx> // to include DFBrowser_SearchItemInfo #include <inspector/DFBrowser_SearchLineModel.hxx> // to include DFBrowser_SearchItemInfo
#include <Standard.hxx> #include <Standard.hxx>
#include <TDocStd_Application.hxx> #include <TDocStd_Application.hxx>
#include <TDF_Label.hxx> #include <TDF_Label.hxx>

View File

@ -13,14 +13,14 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowser_SearchLineModel.hxx> #include <inspector/DFBrowser_SearchLineModel.hxx>
#include <DFBrowser_Module.hxx> #include <inspector/DFBrowser_Module.hxx>
#include <DFBrowser_Tools.hxx> #include <inspector/DFBrowser_Tools.hxx>
#include <DFBrowserPane_AttributePane.hxx> #include <inspector/DFBrowserPane_AttributePane.hxx>
#include <DFBrowserPane_ItemRole.hxx> #include <inspector/DFBrowserPane_ItemRole.hxx>
#include <DFBrowserPane_Tools.hxx> #include <inspector/DFBrowserPane_Tools.hxx>
#include <QDir> #include <QDir>
#include <QIcon> #include <QIcon>
@ -139,6 +139,8 @@ QVariant DFBrowser_SearchLineModel::data (const QModelIndex& theIndex, int theRo
anIcon = DFBrowser_Module::GetAttributeInfo (anAttributeName.toUtf8().data(), anIcon = DFBrowser_Module::GetAttributeInfo (anAttributeName.toUtf8().data(),
myModule, DFBrowserPane_ItemRole_Decoration_40x40, 0); myModule, DFBrowserPane_ItemRole_Decoration_40x40, 0);
} }
else
anIcon = DFBrowser_Tools::GetLabelIcon (TDF_Label(), false);
return anIcon; return anIcon;
} }
if (theRole == Qt::SizeHintRole) return QSize (80, 80); if (theRole == Qt::SizeHintRole) return QSize (80, 80);

View File

@ -16,11 +16,12 @@
#ifndef DFBrowser_SearchLineModel_H #ifndef DFBrowser_SearchLineModel_H
#define DFBrowser_SearchLineModel_H #define DFBrowser_SearchLineModel_H
#include <DFBrowser_SearchItemInfo.hxx> #include <inspector/DFBrowser_SearchItemInfo.hxx>
#include <inspector/TreeModel_ItemBase.hxx>
#include <Standard.hxx> #include <Standard.hxx>
#include <TDF_Attribute.hxx> #include <TDF_Attribute.hxx>
#include <TDF_Label.hxx> #include <TDF_Label.hxx>
#include <TreeModel_ItemBase.hxx>
#ifdef _MSC_VER #ifdef _MSC_VER
#pragma warning(disable : 4127) // conditional expression is constant #pragma warning(disable : 4127) // conditional expression is constant

View File

@ -13,14 +13,14 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowser_SearchView.hxx> #include <inspector/DFBrowser_SearchView.hxx>
#include <DFBrowser_HighlightDelegate.hxx> #include <inspector/DFBrowser_HighlightDelegate.hxx>
#include <DFBrowser_SearchLine.hxx> #include <inspector/DFBrowser_SearchLine.hxx>
#include <DFBrowser_SearchLineModel.hxx> #include <inspector/DFBrowser_SearchLineModel.hxx>
#include <DFBrowser_Window.hxx> #include <inspector/DFBrowser_Window.hxx>
#include <DFBrowserPane_Tools.hxx> #include <inspector/DFBrowserPane_Tools.hxx>
#include <QAbstractProxyModel> #include <QAbstractProxyModel>
#include <QGridLayout> #include <QGridLayout>

View File

@ -16,9 +16,10 @@
#ifndef DFBrowser_SearchView_H #ifndef DFBrowser_SearchView_H
#define DFBrowser_SearchView_H #define DFBrowser_SearchView_H
#include <DFBrowser_SearchLine.hxx> #include <inspector/DFBrowser_SearchLine.hxx>
#include <inspector/TreeModel_ItemBase.hxx>
#include <Standard.hxx> #include <Standard.hxx>
#include <TreeModel_ItemBase.hxx>
#include <QItemSelection> #include <QItemSelection>
#include <QObject> #include <QObject>

View File

@ -13,9 +13,9 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowser_Shortcut.hxx> #include <inspector/DFBrowser_Shortcut.hxx>
#include <DFBrowser_Module.hxx> #include <inspector/DFBrowser_Module.hxx>
#include <QApplication> #include <QApplication>
#include <QKeyEvent> #include <QKeyEvent>

View File

@ -13,13 +13,13 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowser_Thread.hxx> #include <inspector/DFBrowser_Thread.hxx>
#include <DFBrowser_ThreadItemSearch.hxx> #include <inspector/DFBrowser_ThreadItemSearch.hxx>
#include <DFBrowser_ThreadItemUsedShapesMap.hxx> #include <inspector/DFBrowser_ThreadItemUsedShapesMap.hxx>
#include <DFBrowser_TreeLevelLine.hxx> #include <inspector/DFBrowser_TreeLevelLine.hxx>
#include <DFBrowser_SearchLine.hxx> #include <inspector/DFBrowser_SearchLine.hxx>
#include <DFBrowser_Window.hxx> #include <inspector/DFBrowser_Window.hxx>
#include <QThread> #include <QThread>

View File

@ -13,13 +13,13 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowser_ThreadItemSearch.hxx> #include <inspector/DFBrowser_ThreadItemSearch.hxx>
#include <DFBrowser_Module.hxx> #include <inspector/DFBrowser_Module.hxx>
#include <DFBrowser_Tools.hxx> #include <inspector/DFBrowser_Tools.hxx>
#include <DFBrowser_TreeModel.hxx> #include <inspector/DFBrowser_TreeModel.hxx>
#include <DFBrowser_SearchLine.hxx> #include <inspector/DFBrowser_SearchLine.hxx>
#include <DFBrowserPane_Tools.hxx> #include <inspector/DFBrowserPane_Tools.hxx>
#include <TDataStd_Comment.hxx> #include <TDataStd_Comment.hxx>
#include <TDataStd_Name.hxx> #include <TDataStd_Name.hxx>
@ -43,7 +43,6 @@ void DFBrowser_ThreadItemSearch::Run()
myDocumentValues.clear(); myDocumentValues.clear();
myDocumentInfoValues.clear(); myDocumentInfoValues.clear();
//#define REQUIRE_OCAF_REVIEW:25 : start
QMap<QString, DFBrowser_SearchItemInfo> anAdditionalValues; QMap<QString, DFBrowser_SearchItemInfo> anAdditionalValues;
QStringList anInfoValues; QStringList anInfoValues;
QStringList aCurrentPath; QStringList aCurrentPath;
@ -62,7 +61,6 @@ void DFBrowser_ThreadItemSearch::Run()
myDocumentValues[aDocId] = anAdditionalValues; myDocumentValues[aDocId] = anAdditionalValues;
myDocumentInfoValues[aDocId] = anInfoValues; myDocumentInfoValues[aDocId] = anInfoValues;
} }
//#define REQUIRE_OCAF_REVIEW:25 : end
} }
// ======================================================================= // =======================================================================
@ -116,8 +114,7 @@ void DFBrowser_ThreadItemSearch::addLabel (const TDF_Label& theLabel, const QStr
if (!theValues.contains (anEntry)) if (!theValues.contains (anEntry))
{ {
theInfoValues.append (anEntry); theInfoValues.append (anEntry);
theValues[anEntry] = DFBrowser_SearchItemInfo (DFBrowser_Tools::GetLabelIcon (theLabel, false), theValues[anEntry] = DFBrowser_SearchItemInfo ("40x40_label_icon", anEntry, theCurrentPath, QDir::separator());
anEntry, theCurrentPath, QDir::separator());
} }
} }

View File

@ -16,8 +16,9 @@
#ifndef DFBrowser_ThreadItemSearch_H #ifndef DFBrowser_ThreadItemSearch_H
#define DFBrowser_ThreadItemSearch_H #define DFBrowser_ThreadItemSearch_H
#include <DFBrowser_ThreadItem.hxx> #include <inspector/DFBrowser_ThreadItem.hxx>
#include <DFBrowser_SearchLineModel.hxx> // to include DFBrowser_SearchItemInfo #include <inspector/DFBrowser_SearchLineModel.hxx> // to include DFBrowser_SearchItemInfo
#include <Standard.hxx> #include <Standard.hxx>
#include <TDF_Label.hxx> #include <TDF_Label.hxx>

View File

@ -13,14 +13,14 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowser_ThreadItemUsedShapesMap.hxx> #include <inspector/DFBrowser_ThreadItemUsedShapesMap.hxx>
#include <DFBrowser_Module.hxx> #include <inspector/DFBrowser_Module.hxx>
#include <DFBrowser_Tools.hxx> #include <inspector/DFBrowser_Tools.hxx>
#include <DFBrowser_TreeModel.hxx> #include <inspector/DFBrowser_TreeModel.hxx>
#include <DFBrowserPane_TNamingUsedShapes.hxx> #include <inspector/DFBrowserPane_TNamingUsedShapes.hxx>
#include <DFBrowserPane_Tools.hxx> #include <inspector/DFBrowserPane_Tools.hxx>
#include <TNaming_DataMapIteratorOfDataMapOfShapePtrRefShape.hxx> #include <TNaming_DataMapIteratorOfDataMapOfShapePtrRefShape.hxx>
#include <TNaming_PtrRefShape.hxx> #include <TNaming_PtrRefShape.hxx>
@ -89,7 +89,10 @@ void DFBrowser_ThreadItemUsedShapesMap::ApplyValues()
TreeModel_ItemBasePtr anItemBase = TreeModel_ModelBase::GetItemByIndex TreeModel_ItemBasePtr anItemBase = TreeModel_ModelBase::GetItemByIndex
(aDFBrowserModel->FindIndexByAttribute (aRefIt.Key())); (aDFBrowserModel->FindIndexByAttribute (aRefIt.Key()));
if (anItemBase) if (anItemBase)
{
anItemBase->Reset();
anItemBase->Init(); anItemBase->Init();
}
} }
// clear cache // clear cache
myAttributeRefs.Clear(); myAttributeRefs.Clear();
@ -205,7 +208,6 @@ void DFBrowser_ThreadItemUsedShapesMap::addValue (const TCollection_AsciiString&
// function : findReferences // function : findReferences
// purpose : // purpose :
// ======================================================================= // =======================================================================
//#define REQUIRE_OCAF_REVIEW:26 : start
void DFBrowser_ThreadItemUsedShapesMap::findReferences (Handle(TDF_Attribute) theAttribute, void DFBrowser_ThreadItemUsedShapesMap::findReferences (Handle(TDF_Attribute) theAttribute,
std::list<TCollection_AsciiString>& theReferences) std::list<TCollection_AsciiString>& theReferences)
{ {
@ -219,4 +221,3 @@ void DFBrowser_ThreadItemUsedShapesMap::findReferences (Handle(TDF_Attribute) th
anEntryIt != anEntries.end(); anEntryIt++) anEntryIt != anEntries.end(); anEntryIt++)
theReferences.push_back (anEntryIt->first); theReferences.push_back (anEntryIt->first);
} }
//#define REQUIRE_OCAF_REVIEW:26 : end

View File

@ -16,7 +16,8 @@
#ifndef DFBROWSER_ThreadItemUsedShapesMap_H #ifndef DFBROWSER_ThreadItemUsedShapesMap_H
#define DFBROWSER_ThreadItemUsedShapesMap_H #define DFBROWSER_ThreadItemUsedShapesMap_H
#include <DFBrowser_ThreadItem.hxx> #include <inspector/DFBrowser_ThreadItem.hxx>
#include <NCollection_DataMap.hxx> #include <NCollection_DataMap.hxx>
#include <Standard.hxx> #include <Standard.hxx>
#include <TCollection_AsciiString.hxx> #include <TCollection_AsciiString.hxx>

View File

@ -13,12 +13,12 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowser_Tools.hxx> #include <inspector/DFBrowser_Tools.hxx>
#include <DFBrowser_ItemBase.hxx> #include <inspector/DFBrowser_ItemBase.hxx>
#include <DFBrowserPane_AttributePaneCreator.hxx> #include <inspector/DFBrowserPane_AttributePaneCreator.hxx>
#include <DFBrowserPane_Tools.hxx> #include <inspector/DFBrowserPane_Tools.hxx>
#include <TCollection_AsciiString.hxx> #include <TCollection_AsciiString.hxx>
#include <TDF_Tool.hxx> #include <TDF_Tool.hxx>
@ -33,8 +33,6 @@
#include <QPalette> #include <QPalette>
#include <QWidget> #include <QWidget>
//#define REQUIRE_OCAF_REVIEW:27
namespace DFBrowser_Tools namespace DFBrowser_Tools
{ {
// ======================================================================= // =======================================================================

View File

@ -16,9 +16,10 @@
#ifndef DFBrowser_Tools_H #ifndef DFBrowser_Tools_H
#define DFBrowser_Tools_H #define DFBrowser_Tools_H
#include <inspector/TreeModel_ItemBase.hxx>
#include <Standard.hxx> #include <Standard.hxx>
#include <Standard_GUID.hxx> #include <Standard_GUID.hxx>
#include <TreeModel_ItemBase.hxx>
#include <TDocStd_Document.hxx> #include <TDocStd_Document.hxx>
#include <TDF_Label.hxx> #include <TDF_Label.hxx>
#include <TDF_Attribute.hxx> #include <TDF_Attribute.hxx>

View File

@ -13,14 +13,14 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowser_TreeLevelLine.hxx> #include <inspector/DFBrowser_TreeLevelLine.hxx>
#include <DFBrowser_SearchLine.hxx> #include <inspector/DFBrowser_SearchLine.hxx>
#include <DFBrowser_Window.hxx> #include <inspector/DFBrowser_Window.hxx>
#include <DFBrowser_TreeLevelLineDelegate.hxx> #include <inspector/DFBrowser_TreeLevelLineDelegate.hxx>
#include <DFBrowser_TreeLevelLineModel.hxx> #include <inspector/DFBrowser_TreeLevelLineModel.hxx>
#include <DFBrowserPane_Tools.hxx> #include <inspector/DFBrowserPane_Tools.hxx>
#include <QAbstractItemModel> #include <QAbstractItemModel>
#include <QFrame> #include <QFrame>

View File

@ -16,8 +16,9 @@
#ifndef DFBrowser_TreeLevelLine_H #ifndef DFBrowser_TreeLevelLine_H
#define DFBrowser_TreeLevelLine_H #define DFBrowser_TreeLevelLine_H
#include <inspector/TreeModel_ItemBase.hxx>
#include <Standard.hxx> #include <Standard.hxx>
#include <TreeModel_ItemBase.hxx>
#include <QItemSelection> #include <QItemSelection>
#include <QObject> #include <QObject>

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowser_TreeLevelLineDelegate.hxx> #include <inspector/DFBrowser_TreeLevelLineDelegate.hxx>
#include <DFBrowser_Window.hxx> #include <inspector/DFBrowser_Window.hxx>
#include <QPainter> #include <QPainter>

View File

@ -13,10 +13,10 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowser_TreeLevelLineModel.hxx> #include <inspector/DFBrowser_TreeLevelLineModel.hxx>
#include <DFBrowser_ItemBase.hxx> #include <inspector/DFBrowser_ItemBase.hxx>
#include <TreeModel_ModelBase.hxx> #include <inspector/TreeModel_ModelBase.hxx>
#include <QIcon> #include <QIcon>
#include <QWidget> #include <QWidget>

View File

@ -16,8 +16,9 @@
#ifndef DFBrowser_TreeLevelLineModel_H #ifndef DFBrowser_TreeLevelLineModel_H
#define DFBrowser_TreeLevelLineModel_H #define DFBrowser_TreeLevelLineModel_H
#include <inspector/TreeModel_ItemBase.hxx>
#include <Standard.hxx> #include <Standard.hxx>
#include <TreeModel_ItemBase.hxx>
#include <QAbstractTableModel> #include <QAbstractTableModel>
#include <QObject> #include <QObject>

View File

@ -13,13 +13,13 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowser_TreeLevelView.hxx> #include <inspector/DFBrowser_TreeLevelView.hxx>
#include <DFBrowser_Item.hxx> #include <inspector/DFBrowser_Item.hxx>
#include <DFBrowser_TreeLevelViewModel.hxx> #include <inspector/DFBrowser_TreeLevelViewModel.hxx>
#include <DFBrowser_Window.hxx> #include <inspector/DFBrowser_Window.hxx>
#include <DFBrowserPane_Tools.hxx> #include <inspector/DFBrowserPane_Tools.hxx>
#include <TreeModel_ModelBase.hxx> #include <inspector/TreeModel_ModelBase.hxx>
#include <QItemSelectionModel> #include <QItemSelectionModel>

View File

@ -16,8 +16,9 @@
#ifndef DFBrowser_TreeLevelView_H #ifndef DFBrowser_TreeLevelView_H
#define DFBrowser_TreeLevelView_H #define DFBrowser_TreeLevelView_H
#include <inspector/TreeModel_ItemBase.hxx>
#include <Standard.hxx> #include <Standard.hxx>
#include <TreeModel_ItemBase.hxx>
#include <QObject> #include <QObject>
#include <QItemSelection> #include <QItemSelection>

View File

@ -13,18 +13,18 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowser_TreeLevelViewModel.hxx> #include <inspector/DFBrowser_TreeLevelViewModel.hxx>
#include <DFBrowser_Item.hxx> #include <inspector/DFBrowser_Item.hxx>
#include <DFBrowser_ItemRole.hxx> #include <inspector/DFBrowser_ItemRole.hxx>
#include <DFBrowser_Module.hxx> #include <inspector/DFBrowser_Module.hxx>
#include <DFBrowser_Tools.hxx> #include <inspector/DFBrowser_Tools.hxx>
#include <DFBrowser_TreeLevelView.hxx> #include <inspector/DFBrowser_TreeLevelView.hxx>
#include <TDF_AttributeIterator.hxx> #include <TDF_AttributeIterator.hxx>
#include <TDF_ChildIterator.hxx> #include <TDF_ChildIterator.hxx>
#include <TDF_Label.hxx> #include <TDF_Label.hxx>
#include <TreeModel_ModelBase.hxx> #include <inspector/TreeModel_ModelBase.hxx>
#include <QIcon> #include <QIcon>

View File

@ -13,14 +13,14 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowser_TreeModel.hxx> #include <inspector/DFBrowser_TreeModel.hxx>
#include <DFBrowser_Item.hxx> #include <inspector/DFBrowser_Item.hxx>
#include <DFBrowser_ItemApplication.hxx> #include <inspector/DFBrowser_ItemApplication.hxx>
#include <DFBrowser_ItemDocument.hxx> #include <inspector/DFBrowser_ItemDocument.hxx>
#include <DFBrowser_Module.hxx> #include <inspector/DFBrowser_Module.hxx>
#include <DFBrowser_Window.hxx> #include <inspector/DFBrowser_Window.hxx>
#include <DFBrowserPane_Tools.hxx> #include <inspector/DFBrowserPane_Tools.hxx>
#include <NCollection_List.hxx> #include <NCollection_List.hxx>
#include <TDocStd_Application.hxx> #include <TDocStd_Application.hxx>
@ -30,7 +30,6 @@
#include <QAbstractItemModel> #include <QAbstractItemModel>
//#define REQUIRE_OCAF_REVIEW:19
// ======================================================================= // =======================================================================
// function : Constructor // function : Constructor
// purpose : // purpose :
@ -71,7 +70,6 @@ Handle(TDocStd_Application) DFBrowser_TreeModel::GetTDocStdApplication() const
// ======================================================================= // =======================================================================
QModelIndex DFBrowser_TreeModel::FindIndex (const TDF_Label& theLabel) const QModelIndex DFBrowser_TreeModel::FindIndex (const TDF_Label& theLabel) const
{ {
//#define REQUIRE_OCAF_REVIEW:10 : start (GetReferences)
TDF_Label aRoot = theLabel.Root(); TDF_Label aRoot = theLabel.Root();
NCollection_List<TDF_Label> aLabels; NCollection_List<TDF_Label> aLabels;
@ -124,7 +122,6 @@ QModelIndex DFBrowser_TreeModel::FindIndex (const TDF_Label& theLabel) const
} }
} }
} }
//#define REQUIRE_OCAF_REVIEW:10 : end
return aParentIndex; return aParentIndex;
} }
@ -233,10 +230,8 @@ QModelIndex DFBrowser_TreeModel::FindIndexByAttribute (Handle(TDF_Attribute) the
void DFBrowser_TreeModel::ConvertToIndices (const NCollection_List<TDF_Label>& theReferences, void DFBrowser_TreeModel::ConvertToIndices (const NCollection_List<TDF_Label>& theReferences,
QModelIndexList& theIndices) QModelIndexList& theIndices)
{ {
//#define REQUIRE_OCAF_REVIEW:10 : start (GetReferences)
for (NCollection_List<TDF_Label>::Iterator aLabelItr (theReferences); aLabelItr.More(); aLabelItr.Next()) for (NCollection_List<TDF_Label>::Iterator aLabelItr (theReferences); aLabelItr.More(); aLabelItr.Next())
theIndices.append (FindIndex (aLabelItr.Value())); theIndices.append (FindIndex (aLabelItr.Value()));
//#define REQUIRE_OCAF_REVIEW:10 : end
} }
// ======================================================================= // =======================================================================

View File

@ -16,12 +16,13 @@
#ifndef DFBrowser_TreeModel_H #ifndef DFBrowser_TreeModel_H
#define DFBrowser_TreeModel_H #define DFBrowser_TreeModel_H
#include <DFBrowser_ItemBase.hxx> #include <inspector/DFBrowser_ItemBase.hxx>
#include <inspector/TreeModel_ModelBase.hxx>
#include <NCollection_List.hxx> #include <NCollection_List.hxx>
#include <Standard.hxx> #include <Standard.hxx>
#include <TDF_Label.hxx> #include <TDF_Label.hxx>
#include <TDocStd_Application.hxx> #include <TDocStd_Application.hxx>
#include <TreeModel_ModelBase.hxx>
#include <QByteArray> #include <QByteArray>
#include <QHash> #include <QHash>

View File

@ -13,7 +13,7 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowser_TreeView.hxx> #include <inspector/DFBrowser_TreeView.hxx>
// ======================================================================= // =======================================================================
// function : SetPredefinedSize // function : SetPredefinedSize

View File

@ -13,7 +13,7 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowser_Window.hxx> #include <inspector/DFBrowser_Window.hxx>
#include <AIS_InteractiveContext.hxx> #include <AIS_InteractiveContext.hxx>
#include <AIS_InteractiveObject.hxx> #include <AIS_InteractiveObject.hxx>
@ -21,40 +21,44 @@
#include <CDF_Session.hxx> #include <CDF_Session.hxx>
#include <DFBrowserPane_AttributePaneAPI.hxx> #include <inspector/DFBrowserPane_AttributePaneAPI.hxx>
#include <DFBrowser_AttributePaneStack.hxx> #include <inspector/DFBrowser_AttributePaneStack.hxx>
#include <DFBrowser_AttributePaneType.hxx> #include <inspector/DFBrowser_AttributePaneType.hxx>
#include <DFBrowser_DumpView.hxx> #include <inspector/DFBrowser_DumpView.hxx>
#include <DFBrowser_Item.hxx> #include <inspector/DFBrowser_Item.hxx>
#include <DFBrowser_Module.hxx> #include <inspector/DFBrowser_ItemApplication.hxx>
#include <DFBrowser_OpenApplication.hxx> #include <inspector/DFBrowser_Module.hxx>
#include <DFBrowser_PropertyPanel.hxx> #include <inspector/DFBrowser_OpenApplication.hxx>
#include <DFBrowser_SearchLine.hxx> #include <inspector/DFBrowser_PropertyPanel.hxx>
#include <DFBrowser_SearchView.hxx> #include <inspector/DFBrowser_SearchLine.hxx>
#include <DFBrowser_Shortcut.hxx> #include <inspector/DFBrowser_SearchView.hxx>
#include <DFBrowser_Thread.hxx> #include <inspector/DFBrowser_Shortcut.hxx>
#include <DFBrowser_ThreadItemSearch.hxx> #include <inspector/DFBrowser_Thread.hxx>
#include <DFBrowser_ThreadItemUsedShapesMap.hxx> #include <inspector/DFBrowser_ThreadItemSearch.hxx>
#include <DFBrowser_Tools.hxx> #include <inspector/DFBrowser_ThreadItemUsedShapesMap.hxx>
#include <DFBrowser_TreeLevelLine.hxx> #include <inspector/DFBrowser_Tools.hxx>
#include <DFBrowser_TreeLevelView.hxx> #include <inspector/DFBrowser_TreeLevelLine.hxx>
#include <DFBrowser_TreeModel.hxx> #include <inspector/DFBrowser_TreeLevelView.hxx>
#include <DFBrowser_TreeView.hxx> #include <inspector/DFBrowser_TreeModel.hxx>
#include <inspector/DFBrowser_TreeView.hxx>
#include <DFBrowserPane_AttributePaneSelector.hxx> #include <inspector/DFBrowserPane_AttributePaneSelector.hxx>
#include <DFBrowserPane_SelectionKind.hxx> #include <inspector/DFBrowserPane_SelectionKind.hxx>
#include <DFBrowserPane_Tools.hxx> #include <inspector/DFBrowserPane_Tools.hxx>
#include <OSD_Directory.hxx> #include <OSD_Directory.hxx>
#include <OSD_Environment.hxx> #include <OSD_Environment.hxx>
#include <OSD_Protection.hxx> #include <OSD_Protection.hxx>
#include <View_Displayer.hxx> #include <inspector/View_Displayer.hxx>
#include <View_ToolBar.hxx> #include <inspector/View_ToolBar.hxx>
#include <View_Viewer.hxx> #include <inspector/View_Viewer.hxx>
#include <View_Widget.hxx> #include <inspector/View_Widget.hxx>
#include <View_Window.hxx> #include <inspector/View_Window.hxx>
#include <TDF_Tool.hxx>
#include <inspector/TreeModel_MessageDialog.hxx>
#include <QAction> #include <QAction>
#include <QApplication> #include <QApplication>
@ -100,7 +104,7 @@ const int DEFAULT_BROWSER_HEIGHT = 800;
// purpose : // purpose :
// ======================================================================= // =======================================================================
DFBrowser_Window::DFBrowser_Window() DFBrowser_Window::DFBrowser_Window()
: myModule (0), myParent (0), myPropertyPanel (0) : myModule (0), myParent (0), myPropertyPanel (0), myExportToShapeViewDialog (0)
{ {
myMainWindow = new QMainWindow (0); myMainWindow = new QMainWindow (0);
@ -237,6 +241,72 @@ void DFBrowser_Window::UpdateContent()
myParameters->SetFileNames(aName, NCollection_List<TCollection_AsciiString>()); myParameters->SetFileNames(aName, NCollection_List<TCollection_AsciiString>());
} }
onUpdateClicked(); onUpdateClicked();
// make parameter items selected if defined
if (myParameters->FindSelectedNames(aName))
{
const NCollection_List<TCollection_AsciiString>& aSelected = myParameters->GetSelectedNames (aName);
DFBrowser_TreeModel* aTreeModel = dynamic_cast<DFBrowser_TreeModel*> (myTreeView->model());
Handle(TDocStd_Application) anApplication = aTreeModel->GetTDocStdApplication();
QItemSelectionModel* aSelectionModel = myTreeView->selectionModel();
aSelectionModel->clear();
NCollection_List<TCollection_AsciiString>::Iterator aSelectedIt (aSelected);
if (aSelectedIt.More())
{
TCollection_AsciiString aLabelEntry = aSelectedIt.Value();
TDF_Label aLabel;
for (Standard_Integer aDocId = 1, aNbDoc = anApplication->NbDocuments(); aDocId <= aNbDoc; aDocId++)
{
Handle(TDocStd_Document) aDocument;
anApplication->GetDocument (aDocId, aDocument);
TDF_Tool::Label(aDocument->GetData(), aLabelEntry.ToCString(), aLabel, Standard_False);
if (!aLabel.IsNull())
break;
}
if (!aLabel.IsNull())
{
QModelIndex anIndexToBeSelected = aTreeModel->FindIndex (aLabel);
TCollection_AsciiString anAttributeType;
aSelectedIt.Next();
// find attribute by attribute type on the given label
if (aSelectedIt.More())
{
anAttributeType = aSelectedIt.Value();
TreeModel_ItemBasePtr aLabelItem = TreeModel_ModelBase::GetItemByIndex (anIndexToBeSelected);
//DFBrowser_ItemPtr anItem = itemDynamicCast<DFBrowser_Item> (anItemBase);
for (int aChildId = 0, aNbChildren = aLabelItem->rowCount(); aChildId < aNbChildren; aChildId++)
{
QModelIndex anIndex = aTreeModel->index (aChildId, 0, anIndexToBeSelected);
TreeModel_ItemBasePtr anItemBase = TreeModel_ModelBase::GetItemByIndex (anIndex);
DFBrowser_ItemPtr anItem = itemDynamicCast<DFBrowser_Item> (anItemBase);
if (anItem->HasAttribute())
{
// processing attribute in theValue
DFBrowser_ItemApplicationPtr aRootAppItem = itemDynamicCast<DFBrowser_ItemApplication>(aTreeModel->RootItem (0));
QString anAttributeInfo = DFBrowser_Module::GetAttributeInfo (anItem->GetAttribute(), aRootAppItem->GetModule(),
Qt::DisplayRole, 0).toString();
if (anAttributeInfo == anAttributeType.ToCString())
{
anIndexToBeSelected = anIndex;
break;
}
}
}
}
aSelectionModel->select (anIndexToBeSelected, QItemSelectionModel::Select);
myTreeView->scrollTo (anIndexToBeSelected);
}
}
myParameters->SetSelectedNames(aName, NCollection_List<TCollection_AsciiString>());
}
} }
// ======================================================================= // =======================================================================
@ -326,8 +396,6 @@ void DFBrowser_Window::Init (const NCollection_List<Handle(Standard_Transient)>&
// ======================================================================= // =======================================================================
void DFBrowser_Window::OpenFile (const TCollection_AsciiString& theFileName) void DFBrowser_Window::OpenFile (const TCollection_AsciiString& theFileName)
{ {
//#define REQUIRE_OCAF_REVIEW:28 (check that previous application is correctly closed) : start
QApplication::setOverrideCursor (Qt::WaitCursor); QApplication::setOverrideCursor (Qt::WaitCursor);
myThread->TerminateThread(); myThread->TerminateThread();
@ -389,7 +457,6 @@ void DFBrowser_Window::OpenFile (const TCollection_AsciiString& theFileName)
myModule->SetInitialTreeViewSelection(); myModule->SetInitialTreeViewSelection();
QApplication::restoreOverrideCursor(); QApplication::restoreOverrideCursor();
} }
//#define REQUIRE_OCAF_REVIEW:28 (check that previous application is correctly closed) : end
} }
// ======================================================================= // =======================================================================
@ -665,18 +732,27 @@ void DFBrowser_Window::onPaneSelectionChanged (const QItemSelection&,
return; return;
TCollection_AsciiString aPluginName ("TKShapeView"); TCollection_AsciiString aPluginName ("TKShapeView");
if (!myParameters->FindParameters (aPluginName)) NCollection_List<Handle(Standard_Transient)> aParameters;
return; if (myParameters->FindParameters (aPluginName))
aParameters = myParameters->Parameters (aPluginName);
NCollection_List<Handle(Standard_Transient)> aParameters = myParameters->Parameters (aPluginName);
int aParametersCount = aParameters.Extent(); int aParametersCount = aParameters.Extent();
anAttributePane->GetSelectionParameters (aSelectionModel, aParameters); anAttributePane->GetSelectionParameters (aSelectionModel, aParameters);
if (aParametersCount != aParameters.Extent()) // some TShapes are added if (aParametersCount != aParameters.Extent()) // some TShapes are added
{ {
myParameters->SetParameters (aPluginName, aParameters); TCollection_AsciiString aPluginShortName = aPluginName.SubString (3, aPluginName.Length());
QMessageBox::information (0, "Information", QString ("TShape %1 is sent to %2 tool.") QString aMessage = QString ("TShape %1 is sent to %2.")
.arg (DFBrowserPane_Tools::GetPointerInfo (aParameters.Last()).ToCString()) .arg (DFBrowserPane_Tools::GetPointerInfo (aParameters.Last()).ToCString())
.arg (aPluginName.ToCString())); .arg (aPluginShortName.ToCString());
QString aQuestion = QString ("Would you like to activate %1 immediately?\n")
.arg (aPluginShortName.ToCString()).toStdString().c_str();
if (!myExportToShapeViewDialog)
myExportToShapeViewDialog = new TreeModel_MessageDialog (myParent, aMessage, aQuestion);
else
myExportToShapeViewDialog->SetInformation (aMessage);
myExportToShapeViewDialog->Start();
myParameters->SetParameters (aPluginName, aParameters, myExportToShapeViewDialog->IsAccepted());
} }
return; return;
} }
@ -700,9 +776,7 @@ void DFBrowser_Window::onPaneSelectionChanged (const QItemSelection&,
Handle(TDF_Attribute) anAttribute = myModule->FindAttribute (aSelectedIndex); Handle(TDF_Attribute) anAttribute = myModule->FindAttribute (aSelectedIndex);
NCollection_List<TDF_Label> aReferences; NCollection_List<TDF_Label> aReferences;
Handle(Standard_Transient) aPresentation; Handle(Standard_Transient) aPresentation;
//#define REQUIRE_OCAF_REVIEW:10 : start (GetReferences)
anAttributePane->GetReferences (anAttribute, aReferences, aPresentation); anAttributePane->GetReferences (anAttribute, aReferences, aPresentation);
//#define REQUIRE_OCAF_REVIEW:10 : end
QModelIndexList anIndices; QModelIndexList anIndices;
DFBrowser_TreeModel* aTreeModel = dynamic_cast<DFBrowser_TreeModel*> (myTreeView->model()); DFBrowser_TreeModel* aTreeModel = dynamic_cast<DFBrowser_TreeModel*> (myTreeView->model());
if (!aReferences.IsEmpty()) if (!aReferences.IsEmpty())

View File

@ -16,13 +16,14 @@
#ifndef DFBrowser_Window_H #ifndef DFBrowser_Window_H
#define DFBrowser_Window_H #define DFBrowser_Window_H
#include <inspector/TInspectorAPI_PluginParameters.hxx>
#include <AIS_InteractiveObject.hxx> #include <AIS_InteractiveObject.hxx>
#include <AIS_ListOfInteractive.hxx> #include <AIS_ListOfInteractive.hxx>
#include <NCollection_List.hxx> #include <NCollection_List.hxx>
#include <Standard.hxx> #include <Standard.hxx>
#include <TCollection_AsciiString.hxx> #include <TCollection_AsciiString.hxx>
#include <TDF_Label.hxx> #include <TDF_Label.hxx>
#include <TInspectorAPI_PluginParameters.hxx>
#ifdef _MSC_VER #ifdef _MSC_VER
#pragma warning(disable : 4127) // conditional expression is constant #pragma warning(disable : 4127) // conditional expression is constant
@ -39,6 +40,8 @@ class DFBrowser_Shortcut;
class DFBrowser_Thread; class DFBrowser_Thread;
class DFBrowser_TreeLevelLine; class DFBrowser_TreeLevelLine;
class TreeModel_MessageDialog;
class View_ToolBar; class View_ToolBar;
class View_Window; class View_Window;
@ -234,6 +237,7 @@ private:
DFBrowser_DumpView* myDumpView; //!< Text editor where "Dump" method output is shown DFBrowser_DumpView* myDumpView; //!< Text editor where "Dump" method output is shown
DFBrowser_Thread* myThread; //!< Threads manipulator, starting thread items, listens finalizing DFBrowser_Thread* myThread; //!< Threads manipulator, starting thread items, listens finalizing
DFBrowser_Shortcut* myShortcut; //!< Short cut processor, F5 - updates OCAF view model content DFBrowser_Shortcut* myShortcut; //!< Short cut processor, F5 - updates OCAF view model content
TreeModel_MessageDialog* myExportToShapeViewDialog; //!< dialog about exporting TopoDS_Shape to ShapeView plugin
Handle(TInspectorAPI_PluginParameters) myParameters; //!< contains application, context, files that should be opened Handle(TInspectorAPI_PluginParameters) myParameters; //!< contains application, context, files that should be opened
}; };

View File

@ -13,11 +13,11 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowserPane_AttributePane.hxx> #include <inspector/DFBrowserPane_AttributePane.hxx>
#include <DFBrowserPane_ItemRole.hxx> #include <inspector/DFBrowserPane_ItemRole.hxx>
#include <DFBrowserPane_TableView.hxx> #include <inspector/DFBrowserPane_TableView.hxx>
#include <DFBrowserPane_Tools.hxx> #include <inspector/DFBrowserPane_Tools.hxx>
#include <DFBrowserPane_AttributePaneModel.hxx> #include <inspector/DFBrowserPane_AttributePaneModel.hxx>
#include <AIS_InteractiveObject.hxx> #include <AIS_InteractiveObject.hxx>
@ -27,8 +27,6 @@
#include <QTableView> #include <QTableView>
#include <QWidget> #include <QWidget>
//#define REQUIRE_OCAF_REVIEW:3 : start
// ======================================================================= // =======================================================================
// function : Constructor // function : Constructor
// purpose : // purpose :
@ -154,4 +152,3 @@ QMap<int, int> DFBrowserPane_AttributePane::getTableColumnWidths() const
aValues.insert (aColumnId, DFBrowserPane_Tools::DefaultPanelColumnWidth (aColumnId)); aValues.insert (aColumnId, DFBrowserPane_Tools::DefaultPanelColumnWidth (aColumnId));
return aValues; return aValues;
} }
//#define REQUIRE_OCAF_REVIEW:2 : end

View File

@ -16,7 +16,7 @@
#ifndef DFBrowserPane_AttributePane_H #ifndef DFBrowserPane_AttributePane_H
#define DFBrowserPane_AttributePane_H #define DFBrowserPane_AttributePane_H
#include <DFBrowserPane_AttributePaneAPI.hxx> #include <inspector/DFBrowserPane_AttributePaneAPI.hxx>
#include <TDF_Attribute.hxx> #include <TDF_Attribute.hxx>
#include <TDF_Label.hxx> #include <TDF_Label.hxx>

View File

@ -13,15 +13,15 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowserPane_AttributePaneCreator.hxx> #include <inspector/DFBrowserPane_AttributePaneCreator.hxx>
#include <TDF_Attribute.hxx> #include <TDF_Attribute.hxx>
#include <TDF_Reference.hxx> #include <TDF_Reference.hxx>
// the types are defined in TDF library // the types are defined in TDF library
#include <DFBrowserPane_TDFReference.hxx> #include <inspector/DFBrowserPane_TDFReference.hxx>
#include <DFBrowserPane_TDFTagSource.hxx> #include <inspector/DFBrowserPane_TDFTagSource.hxx>
#include <TDataStd_Current.hxx> #include <TDataStd_Current.hxx>
#include <TDataStd_Name.hxx> #include <TDataStd_Name.hxx>
@ -68,61 +68,60 @@
// the types are defined in TDataStd.cdl // the types are defined in TDataStd.cdl
// Basic attributes // Basic attributes
#include <DFBrowserPane_TDataStdCurrent.hxx> #include <inspector/DFBrowserPane_TDataStdCurrent.hxx>
#include <DFBrowserPane_TDataStdName.hxx> #include <inspector/DFBrowserPane_TDataStdName.hxx>
#include <DFBrowserPane_TDataStdComment.hxx> #include <inspector/DFBrowserPane_TDataStdComment.hxx>
#include <DFBrowserPane_TDataStdInteger.hxx> #include <inspector/DFBrowserPane_TDataStdInteger.hxx>
#include <DFBrowserPane_TDataStdIntegerArray.hxx> #include <inspector/DFBrowserPane_TDataStdIntegerArray.hxx>
#include <DFBrowserPane_TDataStdReal.hxx> #include <inspector/DFBrowserPane_TDataStdReal.hxx>
#include <DFBrowserPane_TDataStdRealArray.hxx> #include <inspector/DFBrowserPane_TDataStdRealArray.hxx>
#include <DFBrowserPane_TDataStdExtStringArray.hxx> #include <inspector/DFBrowserPane_TDataStdExtStringArray.hxx>
#include <DFBrowserPane_TDataStdUAttribute.hxx> #include <inspector/DFBrowserPane_TDataStdUAttribute.hxx>
#include <DFBrowserPane_TDataStdTreeNode.hxx> #include <inspector/DFBrowserPane_TDataStdTreeNode.hxx>
#include <DFBrowserPane_TDataStdDirectory.hxx> #include <inspector/DFBrowserPane_TDataStdDirectory.hxx>
#include <DFBrowserPane_TDataStdNoteBook.hxx> #include <inspector/DFBrowserPane_TDataStdNoteBook.hxx>
#include <DFBrowserPane_TDataStdExpression.hxx> #include <inspector/DFBrowserPane_TDataStdExpression.hxx>
#include <DFBrowserPane_TDataStdRelation.hxx> #include <inspector/DFBrowserPane_TDataStdRelation.hxx>
#include <DFBrowserPane_TDataStdVariable.hxx> #include <inspector/DFBrowserPane_TDataStdVariable.hxx>
//Extension //Extension
#include <DFBrowserPane_TDataStdTick.hxx> #include <inspector/DFBrowserPane_TDataStdTick.hxx>
#include <DFBrowserPane_TDataStdAsciiString.hxx> #include <inspector/DFBrowserPane_TDataStdAsciiString.hxx>
#include <DFBrowserPane_TDataStdIntPackedMap.hxx> #include <inspector/DFBrowserPane_TDataStdIntPackedMap.hxx>
// Lists: // Lists:
#include <DFBrowserPane_TDataStdIntegerList.hxx> #include <inspector/DFBrowserPane_TDataStdIntegerList.hxx>
#include <DFBrowserPane_TDataStdRealList.hxx> #include <inspector/DFBrowserPane_TDataStdRealList.hxx>
#include <DFBrowserPane_TDataStdExtStringList.hxx> #include <inspector/DFBrowserPane_TDataStdExtStringList.hxx>
#include <DFBrowserPane_TDataStdBooleanList.hxx> #include <inspector/DFBrowserPane_TDataStdBooleanList.hxx>
#include <DFBrowserPane_TDataStdReferenceList.hxx> #include <inspector/DFBrowserPane_TDataStdReferenceList.hxx>
// Arrays: // Arrays:
#include <DFBrowserPane_TDataStdBooleanArray.hxx> #include <inspector/DFBrowserPane_TDataStdBooleanArray.hxx>
#include <DFBrowserPane_TDataStdReferenceArray.hxx> #include <inspector/DFBrowserPane_TDataStdReferenceArray.hxx>
#include <DFBrowserPane_TDataStdByteArray.hxx> #include <inspector/DFBrowserPane_TDataStdByteArray.hxx>
#include <DFBrowserPane_TDataStdNamedData.hxx> #include <inspector/DFBrowserPane_TDataStdNamedData.hxx>
// TDocStd attributes // TDocStd attributes
#include <DFBrowserPane_TDocStdModified.hxx> #include <inspector/DFBrowserPane_TDocStdModified.hxx>
#include <DFBrowserPane_TDocStdOwner.hxx> #include <inspector/DFBrowserPane_TDocStdOwner.hxx>
#include <DFBrowserPane_TDocStdXLink.hxx> #include <inspector/DFBrowserPane_TDocStdXLink.hxx>
#include <DFBrowserPane_TDocStdXLinkRoot.hxx> #include <inspector/DFBrowserPane_TDocStdXLinkRoot.hxx>
// TPrsStd attributes // TPrsStd attributes
#include <DFBrowserPane_TPrsStdAISViewer.hxx> #include <inspector/DFBrowserPane_TPrsStdAISViewer.hxx>
#include <DFBrowserPane_TPrsStdAISPresentation.hxx> #include <inspector/DFBrowserPane_TPrsStdAISPresentation.hxx>
// TNaming attributes // TNaming attributes
#include <DFBrowserPane_TNamingNamedShape.hxx> #include <inspector/DFBrowserPane_TNamingNamedShape.hxx>
#include <DFBrowserPane_TNamingNaming.hxx> #include <inspector/DFBrowserPane_TNamingNaming.hxx>
#include <DFBrowserPane_TNamingUsedShapes.hxx> #include <inspector/DFBrowserPane_TNamingUsedShapes.hxx>
// TFunction attributes // TFunction attributes
#include <DFBrowserPane_TFunctionFunction.hxx> #include <inspector/DFBrowserPane_TFunctionFunction.hxx>
#include <DFBrowserPane_TFunctionGraphNode.hxx> #include <inspector/DFBrowserPane_TFunctionGraphNode.hxx>
#include <DFBrowserPane_TFunctionScope.hxx> #include <inspector/DFBrowserPane_TFunctionScope.hxx>
//#define REQUIRE_OCAF_REVIEW:1 : start
// ======================================================================= // =======================================================================
// function : Constructor // function : Constructor
// purpose : // purpose :
@ -216,5 +215,3 @@ DFBrowserPane_AttributePaneAPI* DFBrowserPane_AttributePaneCreator::CreateAttrib
return aPane; return aPane;
} }
//#define REQUIRE_OCAF_REVIEW : end

View File

@ -16,8 +16,9 @@
#ifndef DFBrowserPane_AttributePaneCreator_H #ifndef DFBrowserPane_AttributePaneCreator_H
#define DFBrowserPane_AttributePaneCreator_H #define DFBrowserPane_AttributePaneCreator_H
#include <DFBrowserPane_AttributePaneAPI.hxx> #include <inspector/DFBrowserPane_AttributePaneAPI.hxx>
#include <DFBrowserPane_AttributePaneCreatorAPI.hxx> #include <inspector/DFBrowserPane_AttributePaneCreatorAPI.hxx>
#include <Standard.hxx> #include <Standard.hxx>
//! \class DFBrowserPane_AttributePaneCreator //! \class DFBrowserPane_AttributePaneCreator

View File

@ -13,7 +13,7 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowserPane_AttributePaneModel.hxx> #include <inspector/DFBrowserPane_AttributePaneModel.hxx>
// ======================================================================= // =======================================================================
// function : Constructor // function : Constructor

View File

@ -13,7 +13,7 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowserPane_AttributePaneSelector.hxx> #include <inspector/DFBrowserPane_AttributePaneSelector.hxx>
#include <QItemSelectionModel> #include <QItemSelectionModel>

View File

@ -13,17 +13,16 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowserPane_HelperArray.hxx> #include <inspector/DFBrowserPane_HelperArray.hxx>
#include <DFBrowserPane_TableView.hxx> #include <inspector/DFBrowserPane_TableView.hxx>
#include <DFBrowserPane_AttributePaneModel.hxx> #include <inspector/DFBrowserPane_AttributePaneModel.hxx>
#include <QList> #include <QList>
#include <QVariant> #include <QVariant>
#include <QGridLayout> #include <QGridLayout>
#include <QWidget> #include <QWidget>
//#define REQUIRE_OCAF_REVIEW:6 : start
// ======================================================================= // =======================================================================
// function : Constructor // function : Constructor
// purpose : // purpose :
@ -86,4 +85,3 @@ void DFBrowserPane_HelperArray::GetShortAttributeInfo (const Handle(TDF_Attribut
for (int aRowId = 0, aRows = myValuesModel->rowCount(); aRowId < aRows; aRowId++) for (int aRowId = 0, aRows = myValuesModel->rowCount(); aRowId < aRows; aRowId++)
theValues.append (myValuesModel->data (myValuesModel->index (aRowId, 0))); theValues.append (myValuesModel->data (myValuesModel->index (aRowId, 0)));
} }
//#define REQUIRE_OCAF_REVIEW:6 : end

View File

@ -13,7 +13,7 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowserPane_HelperExport.hxx> #include <inspector/DFBrowserPane_HelperExport.hxx>
#include <BRepTools.hxx> #include <BRepTools.hxx>
#include <TCollection_AsciiString.hxx> #include <TCollection_AsciiString.hxx>

View File

@ -16,7 +16,7 @@
#ifndef DFBrowserPane_HelperExport_H #ifndef DFBrowserPane_HelperExport_H
#define DFBrowserPane_HelperExport_H #define DFBrowserPane_HelperExport_H
#include <DFBrowserPane.hxx> #include <inspector/DFBrowserPane.hxx>
#include <TopoDS_Shape.hxx> #include <TopoDS_Shape.hxx>
#ifdef _MSC_VER #ifdef _MSC_VER

View File

@ -13,7 +13,7 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowserPane_HelperGroupContent.hxx> #include <inspector/DFBrowserPane_HelperGroupContent.hxx>
#include <QHBoxLayout> #include <QHBoxLayout>
#include <QWidget> #include <QWidget>

View File

@ -13,7 +13,7 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowserPane_ItemDelegateButton.hxx> #include <inspector/DFBrowserPane_ItemDelegateButton.hxx>
#include <QAbstractItemModel> #include <QAbstractItemModel>
#include <QEvent> #include <QEvent>

View File

@ -13,10 +13,10 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowserPane_TDFReference.hxx> #include <inspector/DFBrowserPane_TDFReference.hxx>
#include <DFBrowserPane_TableView.hxx> #include <inspector/DFBrowserPane_TableView.hxx>
#include <DFBrowserPane_Tools.hxx> #include <inspector/DFBrowserPane_Tools.hxx>
#include <TDF_Reference.hxx> #include <TDF_Reference.hxx>

View File

@ -16,7 +16,8 @@
#ifndef DFBrowserPane_TDFReference_H #ifndef DFBrowserPane_TDFReference_H
#define DFBrowserPane_TDFReference_H #define DFBrowserPane_TDFReference_H
#include <DFBrowserPane_AttributePane.hxx> #include <inspector/DFBrowserPane_AttributePane.hxx>
#include <Standard.hxx> #include <Standard.hxx>
//! \class DFBrowserPane_TDFReference //! \class DFBrowserPane_TDFReference

View File

@ -13,7 +13,7 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowserPane_TDFTagSource.hxx> #include <inspector/DFBrowserPane_TDFTagSource.hxx>
#include <TDF_TagSource.hxx> #include <TDF_TagSource.hxx>

View File

@ -16,7 +16,8 @@
#ifndef DFBrowserPane_TDFTagSource_H #ifndef DFBrowserPane_TDFTagSource_H
#define DFBrowserPane_TDFTagSource_H #define DFBrowserPane_TDFTagSource_H
#include <DFBrowserPane_AttributePane.hxx> #include <inspector/DFBrowserPane_AttributePane.hxx>
#include <Standard.hxx> #include <Standard.hxx>
//! \class DFBrowserPane_TDFTagSource //! \class DFBrowserPane_TDFTagSource

View File

@ -13,14 +13,13 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowserPane_TDataStdAsciiString.hxx> #include <inspector/DFBrowserPane_TDataStdAsciiString.hxx>
#include <TDataStd_AsciiString.hxx> #include <TDataStd_AsciiString.hxx>
#include <QVariant> #include <QVariant>
#include <QIcon> #include <QIcon>
//#define REQUIRE_OCAF_REVIEW:4 : start
// ======================================================================= // =======================================================================
// function : GetValues // function : GetValues
// purpose : // purpose :
@ -32,4 +31,3 @@ void DFBrowserPane_TDataStdAsciiString::GetValues (const Handle(TDF_Attribute)&
if (!anAttribute.IsNull()) if (!anAttribute.IsNull())
theValues.append (anAttribute->Get().ToCString()); theValues.append (anAttribute->Get().ToCString());
} }
//#define REQUIRE_OCAF_REVIEW:4 : end

View File

@ -16,7 +16,8 @@
#ifndef DFBrowserPane_TDataStdAsciiString_H #ifndef DFBrowserPane_TDataStdAsciiString_H
#define DFBrowserPane_TDataStdAsciiString_H #define DFBrowserPane_TDataStdAsciiString_H
#include <DFBrowserPane_AttributePane.hxx> #include <inspector/DFBrowserPane_AttributePane.hxx>
#include <Standard.hxx> #include <Standard.hxx>
//! \class DFBrowserPane_TDataStdAsciiString //! \class DFBrowserPane_TDataStdAsciiString

View File

@ -13,10 +13,10 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowserPane_TDataStdBooleanArray.hxx> #include <inspector/DFBrowserPane_TDataStdBooleanArray.hxx>
#include <DFBrowserPane_TableView.hxx> #include <inspector/DFBrowserPane_TableView.hxx>
#include <DFBrowserPane_AttributePaneModel.hxx> #include <inspector/DFBrowserPane_AttributePaneModel.hxx>
#include <DFBrowserPane_HelperArray.hxx> #include <inspector/DFBrowserPane_HelperArray.hxx>
#include <TDataStd_BooleanArray.hxx> #include <TDataStd_BooleanArray.hxx>
@ -28,7 +28,6 @@
#include <QWidget> #include <QWidget>
#include <QGridLayout> #include <QGridLayout>
//#define REQUIRE_OCAF_REVIEW:5 : start
// ======================================================================= // =======================================================================
// function : CreateWidget // function : CreateWidget
// purpose : // purpose :
@ -84,4 +83,3 @@ void DFBrowserPane_TDataStdBooleanArray::GetShortAttributeInfo (const Handle(TDF
myArrayTableHelper.Init (aValues); myArrayTableHelper.Init (aValues);
return myArrayTableHelper.GetShortAttributeInfo (theAttribute, theValues); return myArrayTableHelper.GetShortAttributeInfo (theAttribute, theValues);
} }
//#define REQUIRE_OCAF_REVIEW:5 : end

View File

@ -16,10 +16,10 @@
#ifndef DFBrowserPane_TDataStdBooleanArray_H #ifndef DFBrowserPane_TDataStdBooleanArray_H
#define DFBrowserPane_TDataStdBooleanArray_H #define DFBrowserPane_TDataStdBooleanArray_H
#include <DFBrowserPane_AttributePane.hxx> #include <inspector/DFBrowserPane_AttributePane.hxx>
#include <Standard.hxx> #include <inspector/DFBrowserPane_HelperArray.hxx>
#include <DFBrowserPane_HelperArray.hxx> #include <Standard.hxx>
//! \class DFBrowserPane_TDataStdBooleanArray //! \class DFBrowserPane_TDataStdBooleanArray
//! \brief The class to manipulate of TDataStd_BooleanArray attribute //! \brief The class to manipulate of TDataStd_BooleanArray attribute

View File

@ -13,7 +13,7 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowserPane_TDataStdBooleanList.hxx> #include <inspector/DFBrowserPane_TDataStdBooleanList.hxx>
#include <TDataStd_BooleanList.hxx> #include <TDataStd_BooleanList.hxx>
#include <TDataStd_ListIteratorOfListOfByte.hxx> #include <TDataStd_ListIteratorOfListOfByte.hxx>

View File

@ -16,7 +16,8 @@
#ifndef DFBrowserPane_TDataStdBooleanList_H #ifndef DFBrowserPane_TDataStdBooleanList_H
#define DFBrowserPane_TDataStdBooleanList_H #define DFBrowserPane_TDataStdBooleanList_H
#include <DFBrowserPane_AttributePane.hxx> #include <inspector/DFBrowserPane_AttributePane.hxx>
#include <Standard.hxx> #include <Standard.hxx>
//! \class DFBrowserPane_TDataStdBooleanList //! \class DFBrowserPane_TDataStdBooleanList

View File

@ -13,10 +13,10 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowserPane_TDataStdByteArray.hxx> #include <inspector/DFBrowserPane_TDataStdByteArray.hxx>
#include <DFBrowserPane_TableView.hxx> #include <inspector/DFBrowserPane_TableView.hxx>
#include <DFBrowserPane_AttributePaneModel.hxx> #include <inspector/DFBrowserPane_AttributePaneModel.hxx>
#include <DFBrowserPane_HelperArray.hxx> #include <inspector/DFBrowserPane_HelperArray.hxx>
#include <TDataStd_ByteArray.hxx> #include <TDataStd_ByteArray.hxx>

View File

@ -16,10 +16,10 @@
#ifndef DFBrowserPane_TDataStdByteArray_H #ifndef DFBrowserPane_TDataStdByteArray_H
#define DFBrowserPane_TDataStdByteArray_H #define DFBrowserPane_TDataStdByteArray_H
#include <DFBrowserPane_AttributePane.hxx> #include <inspector/DFBrowserPane_AttributePane.hxx>
#include <Standard.hxx> #include <inspector/DFBrowserPane_HelperArray.hxx>
#include <DFBrowserPane_HelperArray.hxx> #include <Standard.hxx>
//! \class DFBrowserPane_TDataStdByteArray //! \class DFBrowserPane_TDataStdByteArray
//! \brief The class to manipulate of TDataStd_ByteArra attribute //! \brief The class to manipulate of TDataStd_ByteArra attribute

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowserPane_TDataStdComment.hxx> #include <inspector/DFBrowserPane_TDataStdComment.hxx>
#include <DFBrowserPane_Tools.hxx> #include <inspector/DFBrowserPane_Tools.hxx>
#include <TDataStd_Comment.hxx> #include <TDataStd_Comment.hxx>

View File

@ -16,7 +16,8 @@
#ifndef DFBrowserPane_TDataStdComment_H #ifndef DFBrowserPane_TDataStdComment_H
#define DFBrowserPane_TDataStdComment_H #define DFBrowserPane_TDataStdComment_H
#include <DFBrowserPane_AttributePane.hxx> #include <inspector/DFBrowserPane_AttributePane.hxx>
#include <Standard.hxx> #include <Standard.hxx>
//! \class DFBrowserPane_TDataStdComment //! \class DFBrowserPane_TDataStdComment

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowserPane_TDataStdCurrent.hxx> #include <inspector/DFBrowserPane_TDataStdCurrent.hxx>
#include <DFBrowserPane_Tools.hxx> #include <inspector/DFBrowserPane_Tools.hxx>
#include <TDataStd_Current.hxx> #include <TDataStd_Current.hxx>

View File

@ -16,7 +16,8 @@
#ifndef DFBrowserPane_TDataStdCurrent_H #ifndef DFBrowserPane_TDataStdCurrent_H
#define DFBrowserPane_TDataStdCurrent_H #define DFBrowserPane_TDataStdCurrent_H
#include <DFBrowserPane_AttributePane.hxx> #include <inspector/DFBrowserPane_AttributePane.hxx>
#include <Standard.hxx> #include <Standard.hxx>
//! \class DFBrowserPane_TDataStdCurrent //! \class DFBrowserPane_TDataStdCurrent

View File

@ -13,7 +13,7 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowserPane_TDataStdDirectory.hxx> #include <inspector/DFBrowserPane_TDataStdDirectory.hxx>
#include <TDataStd_Directory.hxx> #include <TDataStd_Directory.hxx>

View File

@ -16,7 +16,8 @@
#ifndef DFBrowserPane_TDataStdDirectory_H #ifndef DFBrowserPane_TDataStdDirectory_H
#define DFBrowserPane_TDataStdDirectory_H #define DFBrowserPane_TDataStdDirectory_H
#include <DFBrowserPane_AttributePane.hxx> #include <inspector/DFBrowserPane_AttributePane.hxx>
#include <Standard.hxx> #include <Standard.hxx>
//! \class DFBrowserPane_TDataStdDirectory //! \class DFBrowserPane_TDataStdDirectory

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowserPane_TDataStdExpression.hxx> #include <inspector/DFBrowserPane_TDataStdExpression.hxx>
#include <DFBrowserPane_Tools.hxx> #include <inspector/DFBrowserPane_Tools.hxx>
#include <TDataStd_Expression.hxx> #include <TDataStd_Expression.hxx>
#include <QVariant> #include <QVariant>

View File

@ -16,7 +16,8 @@
#ifndef DFBrowserPane_TDataStdExpression_H #ifndef DFBrowserPane_TDataStdExpression_H
#define DFBrowserPane_TDataStdExpression_H #define DFBrowserPane_TDataStdExpression_H
#include <DFBrowserPane_AttributePane.hxx> #include <inspector/DFBrowserPane_AttributePane.hxx>
#include <Standard.hxx> #include <Standard.hxx>
//! \class DFBrowserPane_TDataStdExpression //! \class DFBrowserPane_TDataStdExpression

View File

@ -13,11 +13,11 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowserPane_TDataStdExtStringArray.hxx> #include <inspector/DFBrowserPane_TDataStdExtStringArray.hxx>
#include <DFBrowserPane_Tools.hxx> #include <inspector/DFBrowserPane_Tools.hxx>
#include <DFBrowserPane_TableView.hxx> #include <inspector/DFBrowserPane_TableView.hxx>
#include <DFBrowserPane_AttributePaneModel.hxx> #include <inspector/DFBrowserPane_AttributePaneModel.hxx>
#include <DFBrowserPane_HelperArray.hxx> #include <inspector/DFBrowserPane_HelperArray.hxx>
#include <TDataStd_ExtStringArray.hxx> #include <TDataStd_ExtStringArray.hxx>

View File

@ -16,10 +16,10 @@
#ifndef DFBrowserPane_TDataStdExtStringArray_H #ifndef DFBrowserPane_TDataStdExtStringArray_H
#define DFBrowserPane_TDataStdExtStringArray_H #define DFBrowserPane_TDataStdExtStringArray_H
#include <DFBrowserPane_AttributePane.hxx> #include <inspector/DFBrowserPane_AttributePane.hxx>
#include <Standard.hxx> #include <inspector/DFBrowserPane_HelperArray.hxx>
#include <DFBrowserPane_HelperArray.hxx> #include <Standard.hxx>
//! \class DFBrowserPane_TDataStdExtStringArray //! \class DFBrowserPane_TDataStdExtStringArray
//! \brief The class to manipulate of TDataStd_ExtStringArray attribute //! \brief The class to manipulate of TDataStd_ExtStringArray attribute

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowserPane_TDataStdExtStringList.hxx> #include <inspector/DFBrowserPane_TDataStdExtStringList.hxx>
#include <DFBrowserPane_Tools.hxx> #include <inspector/DFBrowserPane_Tools.hxx>
#include <TDataStd_ExtStringList.hxx> #include <TDataStd_ExtStringList.hxx>
#include <TDataStd_ListIteratorOfListOfExtendedString.hxx> #include <TDataStd_ListIteratorOfListOfExtendedString.hxx>
@ -22,7 +22,6 @@
#include <QVariant> #include <QVariant>
#include <QWidget> #include <QWidget>
//#define REQUIRE_OCAF_REVIEW:7 : start (DFBrowserPane_Tools)
// ======================================================================= // =======================================================================
// function : GetValues // function : GetValues
// purpose : // purpose :
@ -36,4 +35,3 @@ void DFBrowserPane_TDataStdExtStringList::GetValues (const Handle(TDF_Attribute)
for (TDataStd_ListIteratorOfListOfExtendedString aValuesIt(anAttribute->List()); aValuesIt.More(); aValuesIt.Next()) for (TDataStd_ListIteratorOfListOfExtendedString aValuesIt(anAttribute->List()); aValuesIt.More(); aValuesIt.Next())
theValues.append (DFBrowserPane_Tools::ToString (aValuesIt.Value())); theValues.append (DFBrowserPane_Tools::ToString (aValuesIt.Value()));
} }
//#define REQUIRE_OCAF_REVIEW:7 : end

View File

@ -16,7 +16,8 @@
#ifndef DFBrowserPane_TDataStdExtStringList_H #ifndef DFBrowserPane_TDataStdExtStringList_H
#define DFBrowserPane_TDataStdExtStringList_H #define DFBrowserPane_TDataStdExtStringList_H
#include <DFBrowserPane_AttributePane.hxx> #include <inspector/DFBrowserPane_AttributePane.hxx>
#include <Standard.hxx> #include <Standard.hxx>
//! \class DFBrowserPane_TDataStdExtStringList //! \class DFBrowserPane_TDataStdExtStringList

View File

@ -13,7 +13,7 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowserPane_TDataStdIntPackedMap.hxx> #include <inspector/DFBrowserPane_TDataStdIntPackedMap.hxx>
#include <TDataStd_IntPackedMap.hxx> #include <TDataStd_IntPackedMap.hxx>
#include <TColStd_MapIteratorOfPackedMapOfInteger.hxx> #include <TColStd_MapIteratorOfPackedMapOfInteger.hxx>

View File

@ -16,7 +16,8 @@
#ifndef DFBrowserPane_TDataStdIntPackedMap_H #ifndef DFBrowserPane_TDataStdIntPackedMap_H
#define DFBrowserPane_TDataStdIntPackedMap_H #define DFBrowserPane_TDataStdIntPackedMap_H
#include <DFBrowserPane_AttributePane.hxx> #include <inspector/DFBrowserPane_AttributePane.hxx>
#include <Standard.hxx> #include <Standard.hxx>
//! \class DFBrowserPane_TDataStdIntPackedMap //! \class DFBrowserPane_TDataStdIntPackedMap

View File

@ -13,7 +13,7 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowserPane_TDataStdInteger.hxx> #include <inspector/DFBrowserPane_TDataStdInteger.hxx>
#include <TDataStd_Integer.hxx> #include <TDataStd_Integer.hxx>

View File

@ -16,7 +16,8 @@
#ifndef DFBrowserPane_TDataStdInteger_H #ifndef DFBrowserPane_TDataStdInteger_H
#define DFBrowserPane_TDataStdInteger_H #define DFBrowserPane_TDataStdInteger_H
#include <DFBrowserPane_AttributePane.hxx> #include <inspector/DFBrowserPane_AttributePane.hxx>
#include <Standard.hxx> #include <Standard.hxx>
//! \class DFBrowserPane_TDataStdInteger //! \class DFBrowserPane_TDataStdInteger

View File

@ -13,10 +13,10 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowserPane_TDataStdIntegerArray.hxx> #include <inspector/DFBrowserPane_TDataStdIntegerArray.hxx>
#include <DFBrowserPane_TableView.hxx> #include <inspector/DFBrowserPane_TableView.hxx>
#include <DFBrowserPane_AttributePaneModel.hxx> #include <inspector/DFBrowserPane_AttributePaneModel.hxx>
#include <DFBrowserPane_HelperArray.hxx> #include <inspector/DFBrowserPane_HelperArray.hxx>
#include <TDataStd_IntegerArray.hxx> #include <TDataStd_IntegerArray.hxx>

View File

@ -16,10 +16,10 @@
#ifndef DFBrowserPane_TDataStdIntegerArray_H #ifndef DFBrowserPane_TDataStdIntegerArray_H
#define DFBrowserPane_TDataStdIntegerArray_H #define DFBrowserPane_TDataStdIntegerArray_H
#include <DFBrowserPane_AttributePane.hxx> #include <inspector/DFBrowserPane_AttributePane.hxx>
#include <Standard.hxx> #include <inspector/DFBrowserPane_HelperArray.hxx>
#include <DFBrowserPane_HelperArray.hxx> #include <Standard.hxx>
//! \class DFBrowserPane_TDataStdIntegerArray //! \class DFBrowserPane_TDataStdIntegerArray
//! \brief The class to manipulate of TDataStd_IntegerArray attribute //! \brief The class to manipulate of TDataStd_IntegerArray attribute

View File

@ -13,7 +13,7 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowserPane_TDataStdIntegerList.hxx> #include <inspector/DFBrowserPane_TDataStdIntegerList.hxx>
#include <TDataStd_IntegerList.hxx> #include <TDataStd_IntegerList.hxx>
#include <TColStd_ListIteratorOfListOfInteger.hxx> #include <TColStd_ListIteratorOfListOfInteger.hxx>

View File

@ -16,7 +16,8 @@
#ifndef DFBrowserPane_TDataStdIntegerList_H #ifndef DFBrowserPane_TDataStdIntegerList_H
#define DFBrowserPane_TDataStdIntegerList_H #define DFBrowserPane_TDataStdIntegerList_H
#include <DFBrowserPane_AttributePane.hxx> #include <inspector/DFBrowserPane_AttributePane.hxx>
#include <Standard.hxx> #include <Standard.hxx>
//! \class DFBrowserPane_TDataStdIntegerList //! \class DFBrowserPane_TDataStdIntegerList

View File

@ -13,8 +13,8 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowserPane_TDataStdName.hxx> #include <inspector/DFBrowserPane_TDataStdName.hxx>
#include <DFBrowserPane_Tools.hxx> #include <inspector/DFBrowserPane_Tools.hxx>
#include <TDataStd_Name.hxx> #include <TDataStd_Name.hxx>

View File

@ -16,7 +16,8 @@
#ifndef DFBrowserPane_TDataStdName_H #ifndef DFBrowserPane_TDataStdName_H
#define DFBrowserPane_TDataStdName_H #define DFBrowserPane_TDataStdName_H
#include <DFBrowserPane_AttributePane.hxx> #include <inspector/DFBrowserPane_AttributePane.hxx>
#include <Standard.hxx> #include <Standard.hxx>
//! \class DFBrowserPane_TDataStdName //! \class DFBrowserPane_TDataStdName

View File

@ -13,12 +13,12 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowserPane_TDataStdNamedData.hxx> #include <inspector/DFBrowserPane_TDataStdNamedData.hxx>
#include <DFBrowserPane_AttributePaneModel.hxx> #include <inspector/DFBrowserPane_AttributePaneModel.hxx>
#include <DFBrowserPane_HelperGroupContent.hxx> #include <inspector/DFBrowserPane_HelperGroupContent.hxx>
#include <DFBrowserPane_TableView.hxx> #include <inspector/DFBrowserPane_TableView.hxx>
#include <DFBrowserPane_Tools.hxx> #include <inspector/DFBrowserPane_Tools.hxx>
#include <TColStd_DataMapOfStringInteger.hxx> #include <TColStd_DataMapOfStringInteger.hxx>
#include <TColStd_DataMapIteratorOfDataMapOfStringInteger.hxx> #include <TColStd_DataMapIteratorOfDataMapOfStringInteger.hxx>
@ -48,7 +48,6 @@ static const QString VALUES_BYTE = "values_byte";
static const QString VALUES_INT_ARRAY = "values_int_array"; static const QString VALUES_INT_ARRAY = "values_int_array";
static const QString VALUES_REAL_ARRAY = "values_real_array"; static const QString VALUES_REAL_ARRAY = "values_real_array";
//#define REQUIRE_OCAF_REVIEW:9 : start
// ======================================================================= // =======================================================================
// function : Constructor // function : Constructor
// purpose : // purpose :
@ -236,4 +235,3 @@ QList<QVariant> DFBrowserPane_TDataStdNamedData::getPartOfValues (const QString&
} }
return aValues; return aValues;
} }
//#define REQUIRE_OCAF_REVIEW:9 : end

View File

@ -16,7 +16,8 @@
#ifndef DFBrowserPane_TDataStdNamedData_H #ifndef DFBrowserPane_TDataStdNamedData_H
#define DFBrowserPane_TDataStdNamedData_H #define DFBrowserPane_TDataStdNamedData_H
#include <DFBrowserPane_AttributePane.hxx> #include <inspector/DFBrowserPane_AttributePane.hxx>
#include <Standard.hxx> #include <Standard.hxx>
class DFBrowserPane_AttributePaneModel; class DFBrowserPane_AttributePaneModel;

View File

@ -13,7 +13,7 @@
// Alternatively, this file may be used under the terms of Open CASCADE // Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement. // commercial license or contractual agreement.
#include <DFBrowserPane_TDataStdNoteBook.hxx> #include <inspector/DFBrowserPane_TDataStdNoteBook.hxx>
#include <TDataStd_NoteBook.hxx> #include <TDataStd_NoteBook.hxx>

Some files were not shown because too many files have changed in this diff Show More