projects
/
debian
/
gnuradio
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Maxing the x-axis of the time domain plot represent the actual time of the samples...
[debian/gnuradio]
/
gr-qtgui
/
src
/
lib
/
TimeDomainDisplayPlot.h
diff --git
a/gr-qtgui/src/lib/TimeDomainDisplayPlot.h
b/gr-qtgui/src/lib/TimeDomainDisplayPlot.h
index 88f97cb808694bfd72b9b43ee791dc4de72de2be..5525bbabe956bc2379c33426f0f28449056aff92 100644
(file)
--- a/
gr-qtgui/src/lib/TimeDomainDisplayPlot.h
+++ b/
gr-qtgui/src/lib/TimeDomainDisplayPlot.h
@@
-33,6
+33,8
@@
public:
public slots:
void resizeSlot( QSize *s );
public slots:
void resizeSlot( QSize *s );
+ void SetSampleRate(double sr, double units,
+ const std::string &strunits);
protected slots:
void LegendEntryChecked(QwtPlotItem *plotItem, bool on);
protected slots:
void LegendEntryChecked(QwtPlotItem *plotItem, bool on);
@@
-52,6
+54,8
@@
private:
double* _imagDataPoints;
double* _xAxisPoints;
double* _imagDataPoints;
double* _xAxisPoints;
+ double _sampleRate;
+
timespec _lastReplot;
int64_t _numPoints;
timespec _lastReplot;
int64_t _numPoints;