26 #include <qwt_color_map.h>
27 #include <qwt_scale_draw.h>
35 _frequencyPrecision = freqPrecision;
45 return _frequencyPrecision;
50 _frequencyPrecision = newPrecision;
55 return _centerFrequency;
60 _centerFrequency = newFreq;
66 unsigned int _frequencyPrecision;
67 double _centerFrequency;
76 _secondsPerLine = 1.0;
95 _secondsPerLine = newTime;
100 return _secondsPerLine;
108 double _secondsPerLine;
123 virtual QwtText
label(
double value)
const
166 QwtLinearColorMap(Qt::darkCyan, Qt::white)
168 addColorStop(0.25, Qt::cyan);
169 addColorStop(0.5, Qt::yellow);
170 addColorStop(0.75, Qt::red);
178 QwtLinearColorMap(Qt::black, Qt::white)
187 QwtLinearColorMap(Qt::white, Qt::black)
196 QwtLinearColorMap(Qt::black, Qt::white)
198 addColorStop(0.5, Qt::darkRed);
206 QwtLinearColorMap(QColor(0, 0, 0, 0),
207 QColor(255, 255, 193, 255))
209 addColorStop(0.167, QColor( 86, 0, 153, 45));
210 addColorStop(0.333, QColor(147, 51, 119, 91));
211 addColorStop(0.500, QColor(226, 51, 71, 140));
212 addColorStop(0.667, QColor(255, 109, 0, 183));
213 addColorStop(0.833, QColor(255, 183, 0, 221));
221 QwtLinearColorMap(QColor(0, 0, 0, 0),
222 QColor(255, 255, 255, 255))
224 addColorStop(0.167, QColor( 0, 0, 127, 25));
225 addColorStop(0.333, QColor( 0, 63, 153, 86));
226 addColorStop(0.500, QColor(76, 114, 178, 127));
227 addColorStop(0.667, QColor(153, 165, 204, 178));
228 addColorStop(0.833, QColor(204, 216, 229, 211));
236 QwtLinearColorMap(low, high)
241 #endif //QTGUI_TYPES_H