qwt_polar_panner.h
Go to the documentation of this file.
1 /* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
2  * QwtPolar Widget Library
3  * Copyright (C) 2008 Uwe Rathmann
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the Qwt License, Version 1.0
7  *****************************************************************************/
8 
9 #ifndef QWT_POLAR_PANNER_H
10 #define QWT_POLAR_PANNER_H
11 
12 #include "qwt_global.h"
13 #include "qwt_panner.h"
14 
15 class QwtPolarPlot;
16 class QwtPolarCanvas;
17 
31 {
32  Q_OBJECT
33 
34 public:
35  explicit QwtPolarPanner( QwtPolarCanvas * );
36  virtual ~QwtPolarPanner();
37 
38  QwtPolarPlot *plot();
39  const QwtPolarPlot *plot() const;
40 
41  QwtPolarCanvas *canvas();
42  const QwtPolarCanvas *canvas() const;
43 
44 public Q_SLOTS:
45  virtual void movePlot( int dx, int dy );
46 
47 protected:
48  virtual void widgetMousePressEvent( QMouseEvent * ) QWT_OVERRIDE;
49 };
50 
51 #endif
A plotting widget, displaying a polar coordinate system.
#define QWT_EXPORT
Definition: qwt_global.h:38
QwtPanner provides panning of a widget.
Definition: qwt_panner.h:35
virtual void widgetMousePressEvent(QMouseEvent *)
Definition: qwt_panner.cpp:381
Canvas of a QwtPolarPlot.
QwtPolarPanner provides panning of a polar plot canvas.
#define QWT_OVERRIDE
Definition: qwt_global.h:53


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 03:48:10