Salome HOME
refs #416: to store the open state of object browser items in the binary array
[modules/gui.git] / src / ObjBrowser / OB_Browser.h
index 2df9ff23f4344dffacfcafb7d7631774094b620c..442d9b81b22587a3d481ad7d2ba93b92737edb24 100755 (executable)
@@ -112,6 +112,12 @@ public:
 
   QtxTreeView*           treeView() const;
 
+  QByteArray             getOpenStates( int theColumn ) const;
+  void                   setOpenStates( const QByteArray&, int theColumn );
+
+  typedef QMap<QString, bool> MapOfOpenStates;
+  void                   openStates( bool isGet, MapOfOpenStates&, const QModelIndex& theIndex, int theColumn );
+
 signals:
   void                   selectionChanged();
   //void                   doubleClicked( SUIT_DataObject* );