Salome HOME
Fix for bug 10438: Crash during Explode on Blocks operation (Global selection on...
[modules/gui.git] / src / SUPERVGraph / SUPERVGraph_ViewFrame.cxx
index b468104832d3fb91c0cbe56203ccd3a8da87ac77..ddab29d9507401760e91e64a41858169ebc337bc 100755 (executable)
@@ -26,7 +26,6 @@
 //  Module : SALOME
 //  $Header$
 
-using namespace std;
 #include "SUPERVGraph_ViewFrame.h"
 
 #include "utilities.h"
@@ -35,6 +34,8 @@ using namespace std;
 #include <qlayout.h>
 #include <qcolordialog.h>
 
+using namespace std;
+
 
 SUPERVGraph_View::SUPERVGraph_View( QWidget* theParent ): QWidget( theParent )
 {
@@ -278,3 +279,8 @@ void SUPERVGraph_ViewFrame::redo( const _PTR(Study)& aStudy,
   MESSAGE ( "SUPERVGraph_ViewFrame::redo" )
 }
 
+void SUPERVGraph_ViewFrame::resizeEvent( QResizeEvent* theEvent )
+{
+  QMainWindow::resizeEvent( theEvent );
+  if ( myView ) myView->resizeView( theEvent );
+}