Salome HOME
refs #430: incorrect coordinates in dump polyline
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ProfileDlg.h
index f4c760562f8c7054bc9e51c2041544a4120d6965..7c9e0d46d5340aa2200a5e89d176b48aa87bb55f 100644 (file)
 
 #include <AIS_InteractiveContext.hxx>
 
-class QLineEdit;
 class CurveCreator_Widget;
 class CurveCreator_ICurve;
 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<int> 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;
+  QLineEdit*             myName;
+  CurveCreator_Widget*   myEditorWidget;
+  QGroupBox*             myAddElementBox;
   OCCViewer_ViewManager* myViewManager;
+  QLabel*                myCoordLabel;
 };
 
 #endif