Qwt Polar User's Guide: qwt_polar_panner.h Source File

Qwt Polar User's Guide 1.1.1

- Main Page
- Related Pages
- Classes

All Classes Functions Typedefs Enumerations Enumerator Pages
qwt_polar_panner.h
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 1
11
12 #include "qwt_polar_global.h"
13 #include "qwt_panner.h"
14
15 class QwtPolarPlot;
16 class QwtPolarCanvas;
17
31 class QWT_POLAR_EXPORT QwtPolarPanner: public QwtPanner
32 {
33 Q_OBJECT
34
35 public:
36 explicit QwtPolarPanner( QwtPolarCanvas * );
37 virtual ~QwtPolarPanner();
38
39 QwtPolarPlot *plot();
40 const QwtPolarPlot *plot() const;
41
42 QwtPolarCanvas *canvas();
43 const QwtPolarCanvas *canvas() const;
44
45 protected Q_SLOTS:
46 virtual void movePlot( int dx, int dy );
47
48 protected:
49 virtual void widgetMousePressEvent( QMouseEvent * );
50 };
51
52 #endif
QwtPolarPanner
QwtPolarPanner provides panning of a polar plot canvas.
Definition: qwt_polar_panner.h:31
QwtPolarCanvas
Canvas of a QwtPolarPlot.
Definition: qwt_polar_canvas.h:27
QwtPolarPlot
A plotting widget, displaying a polar coordinate system.
Definition: qwt_polar_plot.h:46