Qwt Polar User's Guide 1.0.0
|
00001 /* -*- mode: C++ ; c-file-style: "stroustrup" -*- ***************************** 00002 * QwtPolar Widget Library 00003 * Copyright (C) 2008 Uwe Rathmann 00004 * 00005 * This library is free software; you can redistribute it and/or 00006 * modify it under the terms of the Qwt License, Version 1.0 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 Q_SLOTS: 00046 virtual void movePlot( int dx, int dy ); 00047 00048 protected: 00049 virtual void widgetMousePressEvent( QMouseEvent * ); 00050 }; 00051 00052 #endif