X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_PolylineOp.h;h=25b2f8dc178b341e03bce0e443ca1f08c72e1862;hb=81c9f5cdf82909d0aebd2c491c50fa7516cc80b7;hp=c7fbe6582b5fb85a72146f3a77ab8425692cae9d;hpb=a34b423a7b1c26957b15dcb6b82f6e81e57235f5;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_PolylineOp.h b/src/HYDROGUI/HYDROGUI_PolylineOp.h index c7fbe658..25b2f8dc 100755 --- a/src/HYDROGUI/HYDROGUI_PolylineOp.h +++ b/src/HYDROGUI/HYDROGUI_PolylineOp.h @@ -25,11 +25,9 @@ #include "HYDROGUI_Operation.h" -#include +#include -class OCCViewer_ViewManager; class CurveCreator_Curve; -class CurveCreator_Displayer; class HYDROGUI_PolylineOp : public HYDROGUI_Operation { @@ -42,6 +40,8 @@ public: void deleteSelected(); bool deleteEnabled(); + virtual void updatePreviewZLayer( int theLayer ); + protected: virtual void startOperation(); virtual void abortOperation(); @@ -49,7 +49,8 @@ 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 onEditorSelectionChanged(); @@ -59,12 +60,9 @@ private: void erasePreview(); private: - OCCViewer_ViewManager* myViewManager; - - bool myIsEdit; - Handle(HYDROData_Polyline) myEditedObject; - CurveCreator_Curve* myCurve; - CurveCreator_Displayer* myCurveDisplayer; + bool myIsEdit; + Handle(HYDROData_PolylineXY) myEditedObject; + CurveCreator_Curve* myCurve; }; #endif