Salome HOME
refs #525: autocolor of zones in a calculation case.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ProfileDlg.h
index d8ec36bb944f449dd561adabcf863585a3a4f689..d49f29f5842d48f2bc302106a7c39a3bb0f051a2 100644 (file)
@@ -23,7 +23,7 @@
 #ifndef HYDROGUI_PROFILEDLG_H
 #define HYDROGUI_PROFILEDLG_H
 
-#include "HYDROGUI_InputPanel.h"
+#include "HYDROGUI_ViewerDlg.h"
 
 #include <AIS_InteractiveContext.hxx>
 
@@ -35,7 +35,7 @@ class QGroupBox;
 class QLineEdit;
 class QLabel;
 
-class HYDROGUI_ProfileDlg : public HYDROGUI_InputPanel
+class HYDROGUI_ProfileDlg : public HYDROGUI_ViewerDlg
 {
   Q_OBJECT
 
@@ -43,8 +43,6 @@ public:
   HYDROGUI_ProfileDlg( HYDROGUI_Module* theModule, const QString& theTitle );
   virtual ~HYDROGUI_ProfileDlg();
 
-  Handle(AIS_InteractiveContext) getAISContext();
-
   void  setProfileName( const QString& theName );
   QString getProfileName() const;
        
@@ -57,27 +55,24 @@ public:
   void  deleteSelected();
   bool  deleteEnabled();
 
-protected:
-  virtual bool eventFilter( QObject*, QEvent* );
-
 protected slots:
   void processStartedSubOperation( QWidget*, bool );
   void processFinishedSubOperation( QWidget* );
 
-  void onMouseMove( SUIT_ViewWindow*, QMouseEvent* );
-
 signals:
   void                  createPreview( QString );
   void                  selectionChanged();
   void                  widgetCreated(QWidget*);
   void                  subOperationStarted(QWidget*);
   void                  subOperationFinished(QWidget*);
+
+protected:
+  virtual Handle(AIS_Trihedron) trihedron();
+
 private:
   QLineEdit*             myName;
   CurveCreator_Widget*   myEditorWidget;
   QGroupBox*             myAddElementBox;
-  OCCViewer_ViewManager* myViewManager;
-  QLabel*                myCoordLabel;
 };
 
 #endif