Salome HOME
Fix compilation error (conflict of OK name between OCCT Plate_Plate.hxx and GEOM...
[modules/geom.git] / src / DependencyTree / DependencyTree_View.h
old mode 100755 (executable)
new mode 100644 (file)
index 2989337..e0a0665
@@ -1,4 +1,4 @@
-// Copyright (C) 2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2014-2024  CEA, EDF, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -60,7 +60,6 @@ public:
   void                    wheelEvent( QWheelEvent* event );
 
   QString                 getViewName() const;
-  int                     getStudyId() const;
 
   DependencyTree_Object*  getObjectByEntry( const std::string& );
 
@@ -68,6 +67,10 @@ public slots:
 
   void                    onRebuildModel();
 
+protected:
+
+  void                    resizeEvent( QResizeEvent *event );
+
 private slots:
 
   void                    onUpdateModel();
@@ -93,6 +96,8 @@ private:
   void                    updateView();
   void                    clearView( bool );
 
+  void                    fitWindow();
+
   int                     checkMaxLevelsNumber();
 
   void                    getNewTreeModel( bool = true, bool = true );
@@ -123,7 +128,6 @@ private:
   QCheckBox*              myDisplayDescendants;
   QPushButton*            updateButton;
 
-  SALOMEDS::Study_var     myStudy;
   LightApp_SelectionMgr*  mySelectionMgr;
   GEOM::string_array_var  myMainEntries;