Salome HOME
refs #30 - Sketch base GUI: create, draw lines
[modules/shaper.git] / src / XGUI / XGUI_ViewPort.h
index 0f62915b62782e1e0e6a289b5c02509fe3feab42..a0f9be0db84e93569d12157641528f1e399f725e 100644 (file)
@@ -17,7 +17,7 @@ Q_OBJECT
 public:
   XGUI_ViewPort(XGUI_ViewWindow* theParent, const Handle(V3d_Viewer)& theViewer,
                 V3d_TypeOfView theType = V3d_ORTHOGRAPHIC);
-  ~XGUI_ViewPort();
+  virtual ~XGUI_ViewPort();
 
   virtual QPaintEngine* paintEngine() const
   {
@@ -41,7 +41,7 @@ public:
   void fitRect(const QRect& rect);
   void startZoomAtPoint(int x, int y);
   void zoom(int x0, int y0, int x, int y);
-    void fitAll(bool theKeepScale = false, bool theWithZ = true, bool theUpd = true);
+  void fitAll(bool theKeepScale = false, bool theWithZ = true, bool theUpd = true);
 
   void setAdvancedZoomingEnabled(const bool theState)
   {
@@ -67,6 +67,7 @@ signals:
   void vpMapped();
   void vpTransformed();
   void vpUpdated();
+  void resized();
 
 protected:
   virtual void paintEvent(QPaintEvent*);