X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_ProfileDlg.h;h=7c9e0d46d5340aa2200a5e89d176b48aa87bb55f;hb=a1431f03eac1d1aed4203d0568d987c41ce939b3;hp=388fc48df5ca9b2802a88226824731b4851b1eab;hpb=8cf8e5df32a76302cf00863147bbab55a3b45dbe;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_ProfileDlg.h b/src/HYDROGUI/HYDROGUI_ProfileDlg.h index 388fc48d..7c9e0d46 100644 --- a/src/HYDROGUI/HYDROGUI_ProfileDlg.h +++ b/src/HYDROGUI/HYDROGUI_ProfileDlg.h @@ -27,12 +27,13 @@ #include -class QGroupBox; -class QLineEdit; class CurveCreator_Widget; -class OCCViewer_ViewWidget; class CurveCreator_ICurve; -class OCCViewer_Viewer; +class OCCViewer_ViewManager; +class SUIT_ViewWindow; +class QGroupBox; +class QLineEdit; +class QLabel; class HYDROGUI_ProfileDlg : public HYDROGUI_InputPanel { @@ -52,14 +53,19 @@ public: void reset(); QList getSelectedSections(); - QList< QPair< int, int > > getSelectedPoints(); void deleteSelected(); bool deleteEnabled(); +protected: + virtual bool eventFilter( QObject*, QEvent* ); + protected slots: - void processStartedSubOperation( QWidget* ); + void processStartedSubOperation( QWidget*, bool ); void processFinishedSubOperation( QWidget* ); + + void onMouseMove( SUIT_ViewWindow*, QMouseEvent* ); + signals: void createPreview( QString ); void selectionChanged(); @@ -67,10 +73,11 @@ signals: void subOperationStarted(QWidget*); void subOperationFinished(QWidget*); private: - QLineEdit* myName; - CurveCreator_Widget* myEditorWidget; - //QGroupBox* myAddElementBox; - OCCViewer_ViewWidget* myViewWidget; + QLineEdit* myName; + CurveCreator_Widget* myEditorWidget; + QGroupBox* myAddElementBox; + OCCViewer_ViewManager* myViewManager; + QLabel* myCoordLabel; }; #endif