Changeset 4356 in ntrip for trunk/BNC/src/rinex/polarplot.h


Ignore:
Timestamp:
Jun 24, 2012, 6:52:38 PM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/rinex/polarplot.h

    r4345 r4356  
    1212  t_polarCurve() {}
    1313  virtual ~t_polarCurve() {}
     14  void setScaleInterval(const QwtInterval& scaleInterval) {
     15    _scaleInterval = scaleInterval;
     16  }
    1417 protected:
    15    virtual void drawSymbols(QPainter* painter, const QwtSymbol& symbol,
    16                             const QwtScaleMap& azimuthMap,
    17                             const QwtScaleMap& radialMap,
    18                             const QPointF& pole, int from, int to) const;
     18  virtual void drawSymbols(QPainter* painter, const QwtSymbol& symbol,
     19                           const QwtScaleMap& azimuthMap,
     20                           const QwtScaleMap& radialMap,
     21                           const QPointF& pole, int from, int to) const;
     22 private:
     23  QwtInterval _scaleInterval;
    1924};
    2025
     
    6368
    6469 public:
    65   t_polarPlot(const QwtText& title, QWidget* = 0);
     70  t_polarPlot(const QwtText& title, const QwtInterval& scaleInterval,
     71              QWidget* = 0);
    6672  void addCurve(QVector<t_polarPoint*>* data);
    6773
    6874 private:
     75  QwtInterval _scaleInterval;
    6976};
    7077
Note: See TracChangeset for help on using the changeset viewer.