00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef QWT_POLAR_PANNER_H
00010 #define QWT_POLAR_PANNER_H 1
00011
00012 #include "qwt_polar_global.h"
00013 #include "qwt_panner.h"
00014
00015 class QwtPolarPlot;
00016 class QwtPolarCanvas;
00017
00031 class QWT_POLAR_EXPORT QwtPolarPanner: public QwtPanner
00032 {
00033 Q_OBJECT
00034
00035 public:
00036 explicit QwtPolarPanner(QwtPolarCanvas *);
00037 virtual ~QwtPolarPanner();
00038
00039 QwtPolarPlot *plot();
00040 const QwtPolarPlot *plot() const;
00041
00042 QwtPolarCanvas *canvas();
00043 const QwtPolarCanvas *canvas() const;
00044
00045 protected slots:
00046 virtual void movePlot(int dx, int dy);
00047
00048 protected:
00049 virtual void widgetMousePressEvent(QMouseEvent *);
00050 };
00051
00052 #endif