Salome HOME
refs #430: incorrect coordinates in dump polyline
[modules/hydro.git] / src / HYDROData / HYDROData_Digue.h
index c4145d220c439c2e881a5bbfdc3a68fc92c7a7a1..18d114c91ef79cb455c388988700312eff64d179 100644 (file)
@@ -30,9 +30,26 @@ public:
   HYDRODATA_EXPORT virtual const ObjectKind GetKind() const {return KIND_DIGUE;}
 
   /**
-   * Dump object to Python script representation.
+   * Returns default filling color for new digue.
    */
-  HYDRODATA_EXPORT virtual QStringList DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const;
+  HYDRODATA_EXPORT static QColor DefaultFillingColor();
+
+  /**
+   * Returns default border color for new digue.
+   */
+  HYDRODATA_EXPORT static QColor DefaultBorderColor();
+
+protected:
+
+  /**
+   * Returns default filling color for new object.
+   */
+  HYDRODATA_EXPORT virtual QColor getDefaultFillingColor() const;
+
+  /**
+   * Returns default border color for new object.
+   */
+  HYDRODATA_EXPORT virtual QColor getDefaultBorderColor() const;
 
 protected: