X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_ProfileDlg.h;h=7c9e0d46d5340aa2200a5e89d176b48aa87bb55f;hb=81c9f5cdf82909d0aebd2c491c50fa7516cc80b7;hp=96f37e7deb17ddc3dc1eb459cc32bd8795f8768b;hpb=f8d32cb2595584ebe43d5a664a457500e17e454d;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_ProfileDlg.h b/src/HYDROGUI/HYDROGUI_ProfileDlg.h index 96f37e7d..7c9e0d46 100644 --- a/src/HYDROGUI/HYDROGUI_ProfileDlg.h +++ b/src/HYDROGUI/HYDROGUI_ProfileDlg.h @@ -27,11 +27,13 @@ #include -class QLineEdit; class CurveCreator_Widget; class CurveCreator_ICurve; -class OCCViewer_Viewer; +class OCCViewer_ViewManager; +class SUIT_ViewWindow; class QGroupBox; +class QLineEdit; +class QLabel; class HYDROGUI_ProfileDlg : public HYDROGUI_InputPanel { @@ -51,15 +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_Viewer* myViewer; + QLineEdit* myName; + CurveCreator_Widget* myEditorWidget; + QGroupBox* myAddElementBox; + OCCViewer_ViewManager* myViewManager; + QLabel* myCoordLabel; }; #endif