Salome HOME
Fix for bug IPAL10143 : Black rectangle in SUPERVISIUON viewer.
[modules/gui.git] / src / SUPERVGraph / SUPERVGraph_ViewFrame.h
index e6b07bb3e0da9b82608c7bf950d12d8e5d98baf7..e4d76feaf5dbe8641f8df2d1718b8a9435953731 100755 (executable)
@@ -52,8 +52,11 @@ class /*SUPERVGRAPH_EXPORT*/ SUPERVGraph_View: public QWidget, public SUIT_Popup
   virtual QString popupClientType() const { return Type(); }
   virtual void    contextMenuPopup( QPopupMenu* );
   
+  virtual void resizeView( QResizeEvent* theEvent ) {};
+  
  protected:
   void init(QWidget* theParent);
+  
 };
 
 class /*SUPERVGRAPH_EXPORT*/ SUPERVGraph_ViewFrame : public SUIT_ViewWindow {
@@ -111,6 +114,9 @@ class /*SUPERVGRAPH_EXPORT*/ SUPERVGraph_ViewFrame : public SUIT_ViewWindow {
   void           onViewBottom();
   void           onViewTop();
   void           onViewTrihedron(); 
+
+ protected:
+  void resizeEvent( QResizeEvent* theEvent );
   
  private:
   SUPERVGraph_View* myView;