Salome HOME
Bugs 153, 154.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ProfileDlg.h
index dd5f52223bcdf99e1992a755b4a9ee4a8d68aa29..96f37e7deb17ddc3dc1eb459cc32bd8795f8768b 100644 (file)
 
 #include "HYDROGUI_InputPanel.h"
 
-class QGroupBox;
+#include <AIS_InteractiveContext.hxx>
+
 class QLineEdit;
 class CurveCreator_Widget;
-class OCCViewer_ViewWidget;
 class CurveCreator_ICurve;
 class OCCViewer_Viewer;
+class QGroupBox;
 
 class HYDROGUI_ProfileDlg : public HYDROGUI_InputPanel
 {
@@ -40,12 +41,12 @@ public:
   HYDROGUI_ProfileDlg( HYDROGUI_Module* theModule, const QString& theTitle );
   virtual ~HYDROGUI_ProfileDlg();
 
-  void setOCCViewer( OCCViewer_Viewer* theViewer );
+  Handle(AIS_InteractiveContext) getAISContext();
 
   void  setProfileName( const QString& theName );
   QString getProfileName() const;
        
-  void  setCurve( CurveCreator_ICurve* theCurve );
+  void  setProfile( CurveCreator_ICurve* theProfile );
 
   void  reset();
 
@@ -58,6 +59,7 @@ public:
 protected slots:
   void processStartedSubOperation( QWidget* );
   void processFinishedSubOperation( QWidget* );
+
 signals:
   void                  createPreview( QString );
   void                  selectionChanged();
@@ -67,8 +69,8 @@ signals:
 private:
   QLineEdit*            myName;
   CurveCreator_Widget*  myEditorWidget;
-  //QGroupBox*            myAddElementBox;
-  OCCViewer_ViewWidget* myViewWidget;
+  QGroupBox*            myAddElementBox;
+  OCCViewer_Viewer*     myViewer;
 };
 
 #endif