Maxing the x-axis of the time domain plot represent the actual time of the samples...
[debian/gnuradio] / gr-qtgui / src / lib / TimeDomainDisplayPlot.h
index 88f97cb808694bfd72b9b43ee791dc4de72de2be..5525bbabe956bc2379c33426f0f28449056aff92 100644 (file)
@@ -33,6 +33,8 @@ public:
 
 public slots:
   void resizeSlot( QSize *s );
+  void SetSampleRate(double sr, double units, 
+                    const std::string &strunits);
 
 protected slots:
   void LegendEntryChecked(QwtPlotItem *plotItem, bool on);
@@ -52,6 +54,8 @@ private:
   double* _imagDataPoints;
   double* _xAxisPoints;
 
+  double _sampleRate;
+
   timespec _lastReplot;
 
   int64_t _numPoints;