Changeset 4356 in ntrip for trunk/BNC/src/rinex/polarplot.cpp
- Timestamp:
- Jun 24, 2012, 6:52:38 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/polarplot.cpp
r4345 r4356 33 33 QwtSymbol ss(symbol); 34 34 const QwtPointPolar& point = sample(ii); 35 const QColor color = colorMap.color( QwtInterval(0.0, 1.0), point._value);35 const QColor color = colorMap.color(_scaleInterval, point._value); 36 36 ss.setBrush(QBrush(color)); 37 37 ss.setPen(QPen(color)); … … 42 42 // Constructor 43 43 //////////////////////////////////////////////////////////////////////////// 44 t_polarPlot::t_polarPlot(const QwtText& title, QWidget* parent) : 44 t_polarPlot::t_polarPlot(const QwtText& title, const QwtInterval& scaleInterval, 45 QWidget* parent) : QwtPolarPlot(title, parent) { 45 46 46 QwtPolarPlot(title, parent) {47 _scaleInterval = scaleInterval; 47 48 48 49 setPlotBackground(Qt::white); … … 81 82 void t_polarPlot::addCurve(QVector<t_polarPoint*>* data) { 82 83 t_polarCurve* curve = new t_polarCurve(); 84 curve->setScaleInterval(_scaleInterval); 83 85 curve->setStyle(QwtPolarCurve::NoCurve); // draw only symbols 84 86 curve->setSymbol(new QwtSymbol(QwtSymbol::Ellipse,
Note:
See TracChangeset
for help on using the changeset viewer.