Salome HOME
PR: quadtree
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ChannelOp.h
index eb15b4e861515b35970a17934079f49412935369..798d7a89ae747e3aa981f3111758b83421a87c8b 100644 (file)
@@ -49,14 +49,18 @@ protected:
   virtual bool               processApply( int& theUpdateFlags, QString& theErrorMsg );
 
 protected slots:
-  virtual void               onCreatePreview( const bool theIsInit = false );
+  virtual void               onCreatePreview();
 
 protected:
   virtual void               erasePreview();
 
-  virtual Handle(HYDROData_Channel) getObjectToEdit() const;
+  virtual Handle(HYDROData_Channel) createNewObject() const;
 
-  virtual HYDROGUI_Shape*   getPreviewShape() const { return myPreviewPrs; };
+  virtual QColor             getDefaultFillingColor() const;
+
+  virtual QColor             getDefaultBorderColor() const;
+
+  virtual HYDROGUI_Shape*    getPreviewShape() const { return myPreviewPrs; };
 
 protected:
   bool                       myIsEdit;