Line | |
---|
1 |
|
---|
2 | #ifndef POLARPLOT_H
|
---|
3 | #define POLARPLOT_H
|
---|
4 |
|
---|
5 | #include <qwt_polar_plot.h>
|
---|
6 | #include <qwt_polar_curve.h>
|
---|
7 |
|
---|
8 | class t_polarCurve : public QwtPolarCurve {
|
---|
9 | public:
|
---|
10 | t_polarCurve();
|
---|
11 | virtual ~t_polarCurve();
|
---|
12 | protected:
|
---|
13 | virtual void drawSymbols (QPainter* painter, const QwtSymbol& symbol,
|
---|
14 | const QwtScaleMap& azimuthMap,
|
---|
15 | const QwtScaleMap& radialMap,
|
---|
16 | const QPointF& pole, int from, int to) const;
|
---|
17 | };
|
---|
18 |
|
---|
19 | class t_polarPlot: public QwtPolarPlot {
|
---|
20 | Q_OBJECT
|
---|
21 |
|
---|
22 | public:
|
---|
23 | t_polarPlot(QWidget* = 0);
|
---|
24 | ~t_polarPlot();
|
---|
25 |
|
---|
26 | public slots:
|
---|
27 |
|
---|
28 | private:
|
---|
29 | t_polarCurve* createCurve() const;
|
---|
30 | };
|
---|
31 |
|
---|
32 | #endif
|
---|
33 |
|
---|
34 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.