Salome HOME
Fix for bug 10438: Crash during Explode on Blocks operation (Global selection on...
[modules/gui.git] / src / SUIT / SUIT_DataObject.h
index f303d0dea2df5ca460f7870492be1b67cd028f1a..8b76beaafdf08bd580a700976aaa27d74f8f920e 100755 (executable)
@@ -18,6 +18,9 @@ typedef QPtrListIterator<SUIT_DataObject> DataObjectListIterator;
 #pragma warning( disable:4251 )
 #endif
 
+/*!
+  Class provide support data object.
+*/
 class SUIT_EXPORT SUIT_DataObject  
 {
 public:
@@ -36,6 +39,7 @@ public:
   int                         childCount() const;
   int                         childPos( const SUIT_DataObject* ) const;
   SUIT_DataObject*            childObject( const int ) const;
+  int                         level() const;
 
   SUIT_DataObject*            nextBrother() const;
   SUIT_DataObject*            prevBrother() const;
@@ -71,6 +75,9 @@ public:
   virtual bool                isOn() const;
   virtual void                setOn( const bool );
 
+  virtual bool                isOpen() const;
+  virtual void                setOpen( const bool );
+
   virtual SUIT_DataObjectKey* key() const;
 
   bool                        connect( QObject*, const char* );
@@ -81,6 +88,7 @@ public:
   void                        dump( const int indent = 2 ) const; // dump to cout
 
 private:
+  bool                        myOpen;
   bool                        myCheck;
   Signal*                     mySignal;
   SUIT_DataObject*            myParent;