mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0029674: Improvements in Inspector tool
- preferences for dock windows geometry, tree view columns and current view projection; - ViewControl package for common functionality between plugins; - processing Location and Orientation for external TopoDS_Shape object - 'F5' key to update content of each plugin - visibility column in tree view (used now only in ShapeView) - properties child item for context (presents tree of current Filters of context)
This commit is contained in:
@@ -164,12 +164,13 @@ int DFBrowserPaneXDE_AttributeCommonPane::GetSelectionKind (QItemSelectionModel*
|
||||
// purpose :
|
||||
// =======================================================================
|
||||
void DFBrowserPaneXDE_AttributeCommonPane::GetSelectionParameters (QItemSelectionModel* theModel,
|
||||
NCollection_List<Handle(Standard_Transient)>& theParameters)
|
||||
NCollection_List<Handle(Standard_Transient)>& theParameters,
|
||||
NCollection_List<TCollection_AsciiString>& theItemNames)
|
||||
{
|
||||
if (myStandardPane)
|
||||
myStandardPane->GetSelectionParameters (theModel, theParameters);
|
||||
myStandardPane->GetSelectionParameters (theModel, theParameters, theItemNames);
|
||||
|
||||
DFBrowserPane_AttributePane::GetSelectionParameters (theModel, theParameters);
|
||||
DFBrowserPane_AttributePane::GetSelectionParameters (theModel, theParameters, theItemNames);
|
||||
}
|
||||
|
||||
// =======================================================================
|
||||
|
@@ -83,8 +83,10 @@ public:
|
||||
//! Returns selection parameters, that may be useful for communicate between tools
|
||||
//! \param theModel one of selection models provided by this pane
|
||||
//! \theParameters a container of parameters, might be extended depending on the pane state(e.g. selection)
|
||||
//! \theItemNames names to be selected for each selection parameter
|
||||
Standard_EXPORT virtual void GetSelectionParameters (QItemSelectionModel* theModel,
|
||||
NCollection_List<Handle(Standard_Transient)>& theParameters) Standard_OVERRIDE;
|
||||
NCollection_List<Handle(Standard_Transient)>& theParameters,
|
||||
NCollection_List<TCollection_AsciiString>& theItemNames) Standard_OVERRIDE;
|
||||
|
||||
//! Returns presentation of the attribute to be visualized in the view
|
||||
//! \param theAttribute a current attribute
|
||||
|
Reference in New Issue
Block a user