QWidget for displaying frequency domain (PSD) plots. More...
#include <gnuradio/qtgui/FrequencyDisplayPlot.h>
Public Member Functions | |
FrequencyDisplayPlot (int nplots, QWidget *) | |
virtual | ~FrequencyDisplayPlot () |
void | setFrequencyRange (const double, const double, const double units=1000.0, const std::string &strunits="kHz") |
double | getStartFrequency () const |
double | getStopFrequency () const |
void | plotNewData (const std::vector< double * > dataPoints, const int64_t numDataPoints, const double noiseFloorAmplitude, const double peakFrequency, const double peakAmplitude, const double timeInterval) |
void | plotNewData (const double *dataPoints, const int64_t numDataPoints, const double noiseFloorAmplitude, const double peakFrequency, const double peakAmplitude, const double timeInterval) |
void | clearMaxData () |
void | clearMinData () |
void | replot () |
void | setYaxis (double min, double max) |
void | setTraceColour (QColor) |
void | setBGColour (QColor c) |
void | showCFMarker (const bool) |
const bool | getMaxFFTVisible () const |
const bool | getMinFFTVisible () const |
const QColor | getMinFFTColor () const |
const QColor | getMaxFFTColor () const |
const QColor | getMarkerLowerIntensityColor () const |
const bool | getMarkerLowerIntensityVisible () const |
const QColor | getMarkerUpperIntensityColor () const |
const bool | getMarkerUpperIntensityVisible () const |
const QColor | getMarkerPeakAmplitudeColor () const |
const bool | getMarkerNoiseFloorAmplitudeVisible () const |
const QColor | getMarkerNoiseFloorAmplitudeColor () const |
const QColor | getMarkerCFColor () const |
Public Member Functions inherited from DisplayPlot | |
DisplayPlot (int nplots, QWidget *) | |
virtual | ~DisplayPlot () |
const QColor | getLineColor1 () const |
const QColor | getLineColor2 () const |
const QColor | getLineColor3 () const |
const QColor | getLineColor4 () const |
const QColor | getLineColor5 () const |
const QColor | getLineColor6 () const |
const QColor | getLineColor7 () const |
const QColor | getLineColor8 () const |
const QColor | getLineColor9 () const |
int | getLineWidth1 () const |
int | getLineWidth2 () const |
int | getLineWidth3 () const |
int | getLineWidth4 () const |
int | getLineWidth5 () const |
int | getLineWidth6 () const |
int | getLineWidth7 () const |
int | getLineWidth8 () const |
int | getLineWidth9 () const |
const Qt::PenStyle | getLineStyle1 () const |
const Qt::PenStyle | getLineStyle2 () const |
const Qt::PenStyle | getLineStyle3 () const |
const Qt::PenStyle | getLineStyle4 () const |
const Qt::PenStyle | getLineStyle5 () const |
const Qt::PenStyle | getLineStyle6 () const |
const Qt::PenStyle | getLineStyle7 () const |
const Qt::PenStyle | getLineStyle8 () const |
const Qt::PenStyle | getLineStyle9 () const |
const QwtSymbol::Style | getLineMarker1 () const |
const QwtSymbol::Style | getLineMarker2 () const |
const QwtSymbol::Style | getLineMarker3 () const |
const QwtSymbol::Style | getLineMarker4 () const |
const QwtSymbol::Style | getLineMarker5 () const |
const QwtSymbol::Style | getLineMarker6 () const |
const QwtSymbol::Style | getLineMarker7 () const |
const QwtSymbol::Style | getLineMarker8 () const |
const QwtSymbol::Style | getLineMarker9 () const |
int | getMarkerAlpha1 () const |
int | getMarkerAlpha2 () const |
int | getMarkerAlpha3 () const |
int | getMarkerAlpha4 () const |
int | getMarkerAlpha5 () const |
int | getMarkerAlpha6 () const |
int | getMarkerAlpha7 () const |
int | getMarkerAlpha8 () const |
int | getMarkerAlpha9 () const |
QColor | getZoomerColor () const |
QColor | getPaletteColor () const |
int | getAxisLabelFontSize (int axisId) const |
int | getYaxisLabelFontSize () const |
int | getXaxisLabelFontSize () const |
int | getAxesLabelFontSize () const |
Additional Inherited Members | |
Public Types inherited from DisplayPlot | |
typedef QwtSymbol::Style | QwtSymbolStyle |
Signals inherited from DisplayPlot | |
void | plotPointSelected (const QPointF p) |
Protected Slots inherited from DisplayPlot | |
virtual void | legendEntryChecked (QwtPlotItem *plotItem, bool on) |
virtual void | legendEntryChecked (const QVariant &plotItem, bool on, int index) |
Protected Attributes inherited from DisplayPlot | |
int | d_nplots |
std::vector< QwtPlotCurve * > | d_plot_curve |
QwtPlotPanner * | d_panner |
QwtPlotZoomer * | d_zoomer |
QwtDblClickPlotPicker * | d_picker |
QwtPlotMagnifier * | d_magnifier |
int64_t | d_numPoints |
bool | d_stop |
QList< QColor > | d_trace_colors |
bool | d_autoscale_state |
QWidget for displaying frequency domain (PSD) plots.
FrequencyDisplayPlot::FrequencyDisplayPlot | ( | int | nplots, |
QWidget * | |||
) |
|
virtual |
void FrequencyDisplayPlot::clearMaxData | ( | ) |
void FrequencyDisplayPlot::clearMinData | ( | ) |
const QColor FrequencyDisplayPlot::getMarkerCFColor | ( | ) | const |
const QColor FrequencyDisplayPlot::getMarkerLowerIntensityColor | ( | ) | const |
const bool FrequencyDisplayPlot::getMarkerLowerIntensityVisible | ( | ) | const |
const QColor FrequencyDisplayPlot::getMarkerNoiseFloorAmplitudeColor | ( | ) | const |
const bool FrequencyDisplayPlot::getMarkerNoiseFloorAmplitudeVisible | ( | ) | const |
const QColor FrequencyDisplayPlot::getMarkerPeakAmplitudeColor | ( | ) | const |
const QColor FrequencyDisplayPlot::getMarkerUpperIntensityColor | ( | ) | const |
const bool FrequencyDisplayPlot::getMarkerUpperIntensityVisible | ( | ) | const |
const QColor FrequencyDisplayPlot::getMaxFFTColor | ( | ) | const |
const bool FrequencyDisplayPlot::getMaxFFTVisible | ( | ) | const |
const QColor FrequencyDisplayPlot::getMinFFTColor | ( | ) | const |
const bool FrequencyDisplayPlot::getMinFFTVisible | ( | ) | const |
double FrequencyDisplayPlot::getStartFrequency | ( | ) | const |
double FrequencyDisplayPlot::getStopFrequency | ( | ) | const |
|
slot |
|
slot |
void FrequencyDisplayPlot::plotNewData | ( | const std::vector< double * > | dataPoints, |
const int64_t | numDataPoints, | ||
const double | noiseFloorAmplitude, | ||
const double | peakFrequency, | ||
const double | peakAmplitude, | ||
const double | timeInterval | ||
) |
void FrequencyDisplayPlot::plotNewData | ( | const double * | dataPoints, |
const int64_t | numDataPoints, | ||
const double | noiseFloorAmplitude, | ||
const double | peakFrequency, | ||
const double | peakAmplitude, | ||
const double | timeInterval | ||
) |
|
virtual |
Implements DisplayPlot.
void FrequencyDisplayPlot::setBGColour | ( | QColor | c | ) |
void FrequencyDisplayPlot::setFrequencyRange | ( | const double | , |
const double | , | ||
const double | units = 1000.0 , |
||
const std::string & | strunits = "kHz" |
||
) |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
void FrequencyDisplayPlot::setTraceColour | ( | QColor | ) |
|
slot |
|
virtual |
Reimplemented from DisplayPlot.
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |