Salome HOME
lots 3,8
[modules/hydro.git] / src / HYDROData / HYDROData_Entity.h
index bba4f693f77f8f47b1f4fecf52bc106625eadb96..f55fa33acf5ecbc56ec86ecb009dceea6cc8e6c2 100644 (file)
@@ -296,6 +296,14 @@ public:
    * \param theDefColor default color to return if attribute has not been set before
    */
   HYDRODATA_EXPORT QColor GetColor( const QColor& theDefColor, const int theTag = 0 ) const;
+
+  /* Internal method that used to retreive the color attribute
+    * \param theTag tag of a label that keeps the attribute (for 0 this is myLab)
+   * \param theOutColor color to return if attribute has been set before
+   * \return true if attribute is present
+   */
+  HYDRODATA_EXPORT bool GetColor( QColor& theOutColor,
+                                  const int     theTag ) const;
  
 protected: