15 #include <qwt_color_map.h>
16 #include <qwt_scale_draw.h>
42 _frequencyPrecision = freqPrecision;
52 _frequencyPrecision = newPrecision;
61 unsigned int _frequencyPrecision;
62 double _centerFrequency;
71 _secondsPerLine = 1.0;
91 double _secondsPerLine;
105 QwtText
label(
double value)
const override
144 addColorStop(0.25, Qt::cyan);
145 addColorStop(0.5, Qt::yellow);
146 addColorStop(0.75, Qt::red);
167 addColorStop(0.5, Qt::darkRed);
176 addColorStop(0.167, QColor(86, 0, 153, 45));
177 addColorStop(0.333, QColor(147, 51, 119, 91));
178 addColorStop(0.500, QColor(226, 51, 71, 140));
179 addColorStop(0.667, QColor(255, 109, 0, 183));
180 addColorStop(0.833, QColor(255, 183, 0, 221));
187 ColorMap_Cool() : QwtLinearColorMap(QColor(0, 0, 0, 0), QColor(255, 255, 255, 255))
189 addColorStop(0.167, QColor(0, 0, 127, 25));
190 addColorStop(0.333, QColor(0, 63, 153, 86));
191 addColorStop(0.500, QColor(76, 114, 178, 127));
192 addColorStop(0.667, QColor(153, 165, 204, 178));
193 addColorStop(0.833, QColor(204, 216, 229, 211));
Definition: qtgui_types.h:157
ColorMap_BlackHot()
Definition: qtgui_types.h:159
Definition: qtgui_types.h:185
ColorMap_Cool()
Definition: qtgui_types.h:187
Definition: qtgui_types.h:163
ColorMap_Incandescent()
Definition: qtgui_types.h:165
Definition: qtgui_types.h:140
ColorMap_MultiColor()
Definition: qtgui_types.h:142
Definition: qtgui_types.h:172
ColorMap_Sunset()
Definition: qtgui_types.h:174
Definition: qtgui_types.h:198
ColorMap_UserDefined(QColor low, QColor high)
Definition: qtgui_types.h:200
Definition: qtgui_types.h:151
ColorMap_WhiteHot()
Definition: qtgui_types.h:153
Definition: qtgui_types.h:98
FreqDisplayScaleDraw(const unsigned int precision)
Definition: qtgui_types.h:100
virtual void initiateUpdate(void)
Definition: qtgui_types.h:110
QwtText label(double value) const override
Definition: qtgui_types.h:105
Definition: qtgui_types.h:38
virtual void setCenterFrequency(const double newFreq)
Definition: qtgui_types.h:57
virtual ~FreqOffsetAndPrecisionClass()
Definition: qtgui_types.h:46
virtual unsigned int getFrequencyPrecision() const
Definition: qtgui_types.h:48
FreqOffsetAndPrecisionClass(const int freqPrecision)
Definition: qtgui_types.h:40
virtual void setFrequencyPrecision(const unsigned int newPrecision)
Definition: qtgui_types.h:50
virtual double getCenterFrequency() const
Definition: qtgui_types.h:55
Definition: qtgui_types.h:66
TimeScaleData()
Definition: qtgui_types.h:68
virtual ~TimeScaleData()
Definition: qtgui_types.h:74
virtual double getSecondsPerLine() const
Definition: qtgui_types.h:85
virtual void setZeroTime(const gr::high_res_timer_type newTime)
Definition: qtgui_types.h:78
virtual void setSecondsPerLine(const double newTime)
Definition: qtgui_types.h:83
virtual gr::high_res_timer_type getZeroTime() const
Definition: qtgui_types.h:76
intensity_t
Definition: qtgui_types.h:125
@ INTENSITY_COLOR_MAP_TYPE_MULTI_COLOR
Definition: qtgui_types.h:126
@ INTENSITY_COLOR_MAP_TYPE_USER_DEFINED
Definition: qtgui_types.h:130
@ INTENSITY_COLOR_MAP_TYPE_WHITE_HOT
Definition: qtgui_types.h:127
@ INTENSITY_COLOR_MAP_TYPE_SUNSET
Definition: qtgui_types.h:131
@ INTENSITY_COLOR_MAP_TYPE_COOL
Definition: qtgui_types.h:132
@ INTENSITY_COLOR_MAP_TYPE_BLACK_HOT
Definition: qtgui_types.h:128
@ INTENSITY_COLOR_MAP_TYPE_INCANDESCENT
Definition: qtgui_types.h:129
data_type_t
Definition: qtgui_types.h:22
@ INT_VEC
Definition: qtgui_types.h:28
@ INT
Definition: qtgui_types.h:23
@ DOUBLE
Definition: qtgui_types.h:25
@ FLOAT_VEC
Definition: qtgui_types.h:29
@ STRING
Definition: qtgui_types.h:27
@ DOUBLE_VEC
Definition: qtgui_types.h:30
@ COMPLEX_VEC
Definition: qtgui_types.h:31
@ COMPLEX
Definition: qtgui_types.h:26
@ FLOAT
Definition: qtgui_types.h:24
graph_t
Definition: qtgui_types.h:119
@ NUM_GRAPH_VERT
Definition: qtgui_types.h:122
@ NUM_GRAPH_NONE
Definition: qtgui_types.h:120
@ NUM_GRAPH_HORIZ
Definition: qtgui_types.h:121
GNU Radio logging wrapper.
Definition: basic_block.h:29
high_res_timer_type high_res_timer_epoch(void)
Get the tick count at the epoch.
Definition: high_res_timer.h:144
signed long long high_res_timer_type
Typedef for the timer tick count.
Definition: high_res_timer.h:40