Salome HOME
Icons are shown in the object browser tree.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ProfileDlg.h
index 589eb1d88e1d3d7ccd30cc9ffd44e9bcd95e8f91..e2f1c5f30a2eee413141537222b126a715b70aa5 100644 (file)
@@ -25,7 +25,8 @@
 
 #include "HYDROGUI_InputPanel.h"
 
-class QGroupBox;
+#include <AIS_InteractiveContext.hxx>
+
 class QLineEdit;
 class CurveCreator_Widget;
 class CurveCreator_ICurve;
@@ -39,12 +40,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();
 
@@ -54,9 +55,6 @@ public:
   void  deleteSelected();
   bool  deleteEnabled();
 
-protected slots:
-  void processStartedSubOperation( QWidget* );
-  void processFinishedSubOperation( QWidget* );
 signals:
   void                  createPreview( QString );
   void                  selectionChanged();
@@ -66,7 +64,7 @@ signals:
 private:
   QLineEdit*            myName;
   CurveCreator_Widget*  myEditorWidget;
-  QGroupBox*            myAddElementBox;
+  OCCViewer_Viewer*     myViewer;
 };
 
 #endif