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