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