Salome HOME
refs #430: incorrect coordinates in dump polyline
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ChannelOp.h
index ddb294ef771e4c59b7e791e2e69f9e279c7d7d01..bb1c5acbf20b6b14e037f7b148f473e0dada911a 100644 (file)
@@ -46,22 +46,27 @@ protected:
 
   virtual HYDROGUI_InputPanel* createInputPanel() const;
 
-  virtual bool               processApply( int& theUpdateFlags, QString& theErrorMsg );
+  virtual bool               processApply( int& theUpdateFlags, QString& theErrorMsg,
+                                           QStringList& theBrowseObjectsEntries );
 
 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 QColor             getDefaultFillingColor() const;
+
+  virtual QColor             getDefaultBorderColor() const;
+
+  virtual HYDROGUI_Shape*    getPreviewShape() const { return myPreviewPrs; };
 
 protected:
   bool                       myIsEdit;
   Handle(HYDROData_Channel)  myEditedObject;
 
-  OCCViewer_ViewManager*     myViewManager;
-
   HYDROGUI_Shape*            myPreviewPrs;
 };