Changeset 4329 in ntrip for trunk/BNC/src/rinex/graphwin.h


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

Legend:

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

    r4310 r4329  
    2828#include <QtCore>
    2929#include <QtGui>
     30#include <qwt_color_map.h>
    3031
     32class QwtScaleWidget;
     33
     34//
     35//////////////////////////////////////////////////////////////////////////////
     36class t_colorMap: public QwtLinearColorMap {
     37 public:
     38  t_colorMap() : QwtLinearColorMap(Qt::darkBlue, Qt::yellow) {
     39    addColorStop(0.05, Qt::blue);
     40    addColorStop(0.30, Qt::cyan);
     41    addColorStop(0.60, Qt::green);
     42    addColorStop(0.98, Qt::red);
     43  }
     44};
     45
     46//
     47//////////////////////////////////////////////////////////////////////////////
    3148class t_graphWin : public QDialog {
    3249
     
    4663
    4764 private:
    48   QPushButton* _buttonOK;
     65  QPushButton*    _buttonOK;
     66  QwtScaleWidget* _colorScale;
    4967};
    5068
Note: See TracChangeset for help on using the changeset viewer.