Salome HOME
lot 10 - warnings for DTM - untested
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_Overview.h
index 11df12af6a3d435967238bdc34332aee05bb5126..6ab94a4b231260712735e01bb5be7e8642603aa5 100644 (file)
 #ifndef HYDROGUI_OVERVIEW_H
 #define HYDROGUI_OVERVIEW_H
 
-#include <QDockWidget>
+#include <QFrame>
+#include <OCCViewer_ViewWindow.h>
+#include <AIS_InteractiveContext.hxx>
 
 class OCCViewer_ViewPort3d;
 class OCCViewer_ViewFrame;
 class HYDROGUI_OverviewBand;
+class QGridLayout;
 
-class HYDROGUI_Overview : public QDockWidget
+class HYDROGUI_Overview : public QFrame
 {
   Q_OBJECT
 
@@ -42,15 +45,21 @@ public:
 
   QImage dump() const;
 
+  Handle(AIS_InteractiveContext) context() const;
+
 protected:
   virtual bool eventFilter( QObject*, QEvent* );
+  void CustomFitSelection() const;
+  Bnd_Box BoundingForSelection() const;
 
 private slots:
+  void OnTransformationAfterOp( OCCViewer_ViewWindow::OperationType );
   void OnTransformation();
   void OnMouseEvent( QMouseEvent* );
   void OnResizeEvent( QResizeEvent* );
 
 private:
+  QGridLayout*           myLayout;
   int                    myMargin;
   OCCViewer_ViewFrame*   myMainView;
   OCCViewer_ViewPort3d*  myViewPort;