]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/XGUI/XGUI_DataModel.h
Salome HOME
Issue #2916: Remember expanded items before Object Browser update and restore them...
[modules/shaper.git] / src / XGUI / XGUI_DataModel.h
index 159750143284f1112ce7d7a6d9b8f16b63092ea2..54181442184d8f54ec59b3a3adcd3eaf808a76b7 100644 (file)
@@ -156,7 +156,12 @@ public:
 
   DocumentPtr document(const QModelIndex& theIndex) const;
 
+  QModelIndex getIndex(ModuleBase_ITreeNode* theNode, int thCol) const;
+
 signals:
+  void beforeTreeRebuild();
+
+
   /// Signal about tree had been rebuilt
   void treeRebuilt();
 
@@ -170,8 +175,6 @@ private:
 
   QModelIndex getParentIndex(ModuleBase_ITreeNode* theNode, int thCol) const;
 
-  QModelIndex getIndex(ModuleBase_ITreeNode* theNode, int thCol) const;
-
   void updateSubTree(ModuleBase_ITreeNode* theParent);
 
   /// Find a root index which contains objects of the given document