Salome HOME
Bugs 153, 154.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ProfileDlg.h
index 589eb1d88e1d3d7ccd30cc9ffd44e9bcd95e8f91..96f37e7deb17ddc3dc1eb459cc32bd8795f8768b 100644 (file)
 
 #include "HYDROGUI_InputPanel.h"
 
-class QGroupBox;
+#include <AIS_InteractiveContext.hxx>
+
 class QLineEdit;
 class CurveCreator_Widget;
 class CurveCreator_ICurve;
 class OCCViewer_Viewer;
+class QGroupBox;
 
 class HYDROGUI_ProfileDlg : public HYDROGUI_InputPanel
 {
@@ -39,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();
 
@@ -57,6 +59,7 @@ public:
 protected slots:
   void processStartedSubOperation( QWidget* );
   void processFinishedSubOperation( QWidget* );
+
 signals:
   void                  createPreview( QString );
   void                  selectionChanged();
@@ -67,6 +70,7 @@ private:
   QLineEdit*            myName;
   CurveCreator_Widget*  myEditorWidget;
   QGroupBox*            myAddElementBox;
+  OCCViewer_Viewer*     myViewer;
 };
 
 #endif