Changeset 4330 in ntrip
- Timestamp:
- Jun 23, 2012, 6:39:54 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/graphwin.cpp
r4329 r4330 41 41 #include "graphwin.h" 42 42 #include "qwt_scale_widget.h" 43 #include <qwt_scale_engine.h> 43 44 44 45 using namespace std; … … 74 75 _colorScale->setTitle( title ); 75 76 76 _colorScale->setColorMap(QwtInterval(0.0, 1.0), new t_colorMap()); 77 QwtInterval interval(0.0, 1.0); 78 _colorScale->setColorMap(interval, new t_colorMap()); 79 80 QwtLinearScaleEngine scaleEngine; 81 _colorScale->setScaleDiv(scaleEngine.transformation(), 82 scaleEngine.divideScale(interval.minValue(), interval.maxValue(), 8, 5)); 77 83 78 84 // Layout
Note:
See TracChangeset
for help on using the changeset viewer.