mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +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:
@@ -50,6 +50,16 @@ public:
|
||||
//! \param theParent a parent class
|
||||
Standard_EXPORT virtual void SetParent (void* theParent) = 0;
|
||||
|
||||
//! Provide container for actions available in inspector on general level
|
||||
//! \param theMenu if Qt implementation, it is QMenu object
|
||||
Standard_EXPORT virtual void FillActionsMenu (void* theMenu) { (void)theMenu; }
|
||||
|
||||
//! Returns plugin preferences, empty implementation by default
|
||||
virtual void GetPreferences (TInspectorAPI_PreferencesDataMap&) {}
|
||||
|
||||
//! Applies plugin preferences, empty implementation by default
|
||||
virtual void SetPreferences (const TInspectorAPI_PreferencesDataMap&) {}
|
||||
|
||||
//! Calls update of the plugin's content
|
||||
Standard_EXPORT virtual void UpdateContent() = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user