Salome HOME
Profile object creation.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ProfileDlg.h
index 266599303d8940e5cd06a5ee802063d37db31288..388fc48df5ca9b2802a88226824731b4851b1eab 100644 (file)
 
 #include "HYDROGUI_InputPanel.h"
 
+#include <AIS_InteractiveContext.hxx>
+
 class QGroupBox;
 class QLineEdit;
 class CurveCreator_Widget;
+class OCCViewer_ViewWidget;
 class CurveCreator_ICurve;
 class OCCViewer_Viewer;
 
@@ -39,12 +42,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();
 
@@ -67,6 +70,7 @@ private:
   QLineEdit*            myName;
   CurveCreator_Widget*  myEditorWidget;
   //QGroupBox*            myAddElementBox;
+  OCCViewer_ViewWidget* myViewWidget;
 };
 
 #endif