27 #include <qwt_color_map.h> 28 #include <qwt_scale_draw.h> 53 _frequencyPrecision = freqPrecision;
63 _frequencyPrecision = newPrecision;
72 unsigned int _frequencyPrecision;
73 double _centerFrequency;
82 _secondsPerLine = 1.0;
102 double _secondsPerLine;
116 virtual QwtText
label(
double value)
const 118 return QString(
"%1").arg(value, 0,
'f', getFrequencyPrecision());
155 addColorStop(0.25, Qt::cyan);
156 addColorStop(0.5, Qt::yellow);
157 addColorStop(0.75, Qt::red);
178 addColorStop(0.5, Qt::darkRed);
187 addColorStop(0.167, QColor(86, 0, 153, 45));
188 addColorStop(0.333, QColor(147, 51, 119, 91));
189 addColorStop(0.500, QColor(226, 51, 71, 140));
190 addColorStop(0.667, QColor(255, 109, 0, 183));
191 addColorStop(0.833, QColor(255, 183, 0, 221));
198 ColorMap_Cool() : QwtLinearColorMap(QColor(0, 0, 0, 0), QColor(255, 255, 255, 255))
200 addColorStop(0.167, QColor(0, 0, 127, 25));
201 addColorStop(0.333, QColor(0, 63, 153, 86));
202 addColorStop(0.500, QColor(76, 114, 178, 127));
203 addColorStop(0.667, QColor(153, 165, 204, 178));
204 addColorStop(0.833, QColor(204, 216, 229, 211));
214 #endif // QTGUI_TYPES_H data_type_t
Definition: qtgui_types.h:33
Definition: qtgui_types.h:132
TimeScaleData()
Definition: qtgui_types.h:79
ColorMap_Incandescent()
Definition: qtgui_types.h:176
virtual QwtText label(double value) const
Definition: qtgui_types.h:116
Definition: qtgui_types.h:146
virtual gr::high_res_timer_type getZeroTime() const
Definition: qtgui_types.h:87
high_res_timer_type high_res_timer_epoch(void)
Get the tick count at the epoch.
Definition: high_res_timer.h:159
virtual unsigned int getFrequencyPrecision() const
Definition: qtgui_types.h:59
Definition: qtgui_types.h:76
Definition: qtgui_types.h:108
ColorMap_MultiColor()
Definition: qtgui_types.h:153
Definition: qtgui_types.h:41
Definition: qtgui_types.h:40
Definition: qtgui_types.h:143
virtual void setCenterFrequency(const double newFreq)
Definition: qtgui_types.h:68
Definition: qtgui_types.h:42
graph_t
Definition: qtgui_types.h:130
Definition: qtgui_types.h:38
virtual ~TimeScaleData()
Definition: qtgui_types.h:85
Definition: qtgui_types.h:195
virtual double getSecondsPerLine() const
Definition: qtgui_types.h:96
virtual ~FreqOffsetAndPrecisionClass()
Definition: qtgui_types.h:57
Definition: qtgui_types.h:145
Definition: qtgui_types.h:147
Definition: qtgui_types.h:39
Definition: qtgui_types.h:34
Definition: qtgui_types.h:48
Definition: qtgui_types.h:36
Definition: qtgui_types.h:37
Definition: qtgui_types.h:142
Definition: qtgui_types.h:144
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:43
Definition: qtgui_types.h:133
virtual void setZeroTime(const gr::high_res_timer_type newTime)
Definition: qtgui_types.h:89
Definition: qtgui_types.h:182
signed long long high_res_timer_type
Typedef for the timer tick count.
Definition: high_res_timer.h:49
ColorMap_BlackHot()
Definition: qtgui_types.h:170
Definition: qtgui_types.h:35
virtual void initiateUpdate(void)
Definition: qtgui_types.h:121
Definition: qtgui_types.h:150
ColorMap_Sunset()
Definition: qtgui_types.h:185
virtual double getCenterFrequency() const
Definition: qtgui_types.h:66
ColorMap_WhiteHot()
Definition: qtgui_types.h:164
Definition: qtgui_types.h:161
virtual void setSecondsPerLine(const double newTime)
Definition: qtgui_types.h:94
FreqDisplayScaleDraw(const unsigned int precision)
Definition: qtgui_types.h:111
Definition: qtgui_types.h:141
Definition: qtgui_types.h:208
Definition: qtgui_types.h:173
FreqOffsetAndPrecisionClass(const int freqPrecision)
Definition: qtgui_types.h:51
virtual void setFrequencyPrecision(const unsigned int newPrecision)
Definition: qtgui_types.h:61
ColorMap_Cool()
Definition: qtgui_types.h:198
Definition: qtgui_types.h:131
Definition: qtgui_types.h:167
ColorMap_UserDefined(QColor low, QColor high)
Definition: qtgui_types.h:211