Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members   Examples  

zoomablesplinegraph.h

00001 #include "splinegraph.h"
00002 #include <qvbox.h>
00003 #include <qpushbutton.h>
00004 
00005 class ZoomableSplineGraph : public QVBox {
00006   Q_OBJECT
00007 
00008 public:
00009   ZoomableSplineGraph(SplineInterpolator *, float _xmin, float _xmax, float _ymin, float _ymax);
00010   void setPoints(vector<float> &_xpts, vector<float> &_ypts);
00011 
00012 public slots:
00013   void XZoomInClicked();
00014   void XZoomOutClicked();
00015 
00016 private:
00017   SplineGraph * sg;
00018   float xmin,xmax,ymin,ymax;
00019   int xzoom;
00020   QPushButton *zi,*zo;
00021 };
00022 
00023 

Generated at Sun Jan 18 20:51:22 2004 for Jezabel by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001