Salome HOME
Fix for the bug #45: check and warning when the same image is used in 2 arguments.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ProfileDlg.h
index e2f1c5f30a2eee413141537222b126a715b70aa5..5459a5a64d2009eaf1ac659c56fe25aed0e446ad 100644 (file)
 
 #include <AIS_InteractiveContext.hxx>
 
-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
 {
@@ -55,6 +58,15 @@ public:
   void  deleteSelected();
   bool  deleteEnabled();
 
+protected:
+  virtual bool eventFilter( QObject*, QEvent* );
+
+protected slots:
+  void processStartedSubOperation( QWidget* );
+  void processFinishedSubOperation( QWidget* );
+
+  void onMouseMove( SUIT_ViewWindow*, QMouseEvent* );
+
 signals:
   void                  createPreview( QString );
   void                  selectionChanged();
@@ -62,9 +74,11 @@ signals:
   void                  subOperationStarted(QWidget*);
   void                  subOperationFinished(QWidget*);
 private:
-  QLineEdit*            myName;
-  CurveCreator_Widget*  myEditorWidget;
-  OCCViewer_Viewer*     myViewer;
+  QLineEdit*             myName;
+  CurveCreator_Widget*   myEditorWidget;
+  QGroupBox*             myAddElementBox;
+  OCCViewer_ViewManager* myViewManager;
+  QLabel*                myCoordLabel;
 };
 
 #endif