Salome HOME
Selector implementation for OCC viewer.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_DataObject.h
index 33b53a36a8914b97a74ee413828d788b9ea1afb8..edb79f02e7006e87eea1ef74943fd9c5b18aa3c7 100644 (file)
@@ -68,6 +68,11 @@ public:
    */
   virtual QString name() const;
 
+  /**
+   * Returns the font of displayed object name.
+   */
+  virtual QFont font( const int = SUIT_DataObject::NameId ) const;
+
   /**
    * Returns the model data object.
    */
@@ -111,7 +116,8 @@ public:
    * \param theName displayed name
    */
   HYDROGUI_NamedObject( SUIT_DataObject* theParent,
-                        const QString& theName );
+                        const QString& theName,
+                        const QString& theParentEntry  );
     
   /**
    * Returns the unique object identifier string.
@@ -125,6 +131,7 @@ public:
 
 private:
   QString myName; ///< name in the OB
+  QString myParentEntry;
 };
 
 #endif