X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_ChannelOp.h;h=bb1c5acbf20b6b14e037f7b148f473e0dada911a;hb=81c9f5cdf82909d0aebd2c491c50fa7516cc80b7;hp=ddb294ef771e4c59b7e791e2e69f9e279c7d7d01;hpb=2d99821157e770385d7af917b2d22d6aa3cacb7e;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_ChannelOp.h b/src/HYDROGUI/HYDROGUI_ChannelOp.h index ddb294ef..bb1c5acb 100644 --- a/src/HYDROGUI/HYDROGUI_ChannelOp.h +++ b/src/HYDROGUI/HYDROGUI_ChannelOp.h @@ -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; };