]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Integrate patch from A.Geay (move getPlotObject() and getPlotCurve() fucntions to...
authorvsr <vsr@opencascade.com>
Tue, 8 Nov 2011 09:09:48 +0000 (09:09 +0000)
committervsr <vsr@opencascade.com>
Tue, 8 Nov 2011 09:09:48 +0000 (09:09 +0000)
src/Plot2d/Plot2d_ViewFrame.h

index 5c49e9f100e89da2367d6e3c25c7a81b3d20cf71..71985514a6d7dbb8bee85c187e34481d707c5a5e 100755 (executable)
@@ -170,23 +170,19 @@ public:
   Plot2d_Curve*  getClosestCurve( QPoint, double&, int& ) const;
   
   Plot2d_Object* getPlotObject( QwtPlotItem* ) const;
-
+  QwtPlotItem*   getPlotObject( Plot2d_Object* ) const;
+  QwtPlotCurve*  getPlotCurve( Plot2d_Curve* ) const;
+  Plot2d_Plot2d* getPlot() const { return myPlot; }
 protected:
   int            testOperation( const QMouseEvent& );
   void           readPreferences();
   void           writePreferences();
   QString        getInfo( const QPoint& );
   virtual void   wheelEvent( QWheelEvent* );
-  QwtPlotCurve*  getPlotCurve( Plot2d_Curve* ) const;
   bool           hasPlotCurve( Plot2d_Curve* ) const;
   void           setCurveType( QwtPlotCurve*, int );
-  QwtPlotItem*   getPlotObject( Plot2d_Object* ) const;
   bool           hasPlotObject( Plot2d_Object* ) const;
 
-
-  
-  
-
 public slots:
   void           onViewPan(); 
   void           onViewZoom();