X-Git-Url: https://git.gag.com/?p=debian%2Fgnuradio;a=blobdiff_plain;f=gr-qtgui%2Fsrc%2Flib%2FConstellationDisplayPlot.h;fp=gr-qtgui%2Fsrc%2Flib%2FConstellationDisplayPlot.h;h=a441a8bfe81168a2f1e60c6c9e52b7eebedb8f0a;hp=612cd2b3933c4d463e7ca282a950115a04abd83d;hb=fd9980f919b6f05e2fbea404fea322825ce438f0;hpb=2415ccdbf9d97878a0888bbdff30d699ae2326dd diff --git a/gr-qtgui/src/lib/ConstellationDisplayPlot.h b/gr-qtgui/src/lib/ConstellationDisplayPlot.h index 612cd2b3..a441a8bf 100644 --- a/gr-qtgui/src/lib/ConstellationDisplayPlot.h +++ b/gr-qtgui/src/lib/ConstellationDisplayPlot.h @@ -14,15 +14,18 @@ #include #include -class ConstellationDisplayPlot:public QwtPlot{ +class ConstellationDisplayPlot : public QwtPlot +{ Q_OBJECT public: ConstellationDisplayPlot(QWidget*); virtual ~ConstellationDisplayPlot(); - void PlotNewData(const double* realDataPoints, const double* imagDataPoints, - const int64_t numDataPoints); + void PlotNewData(const double* realDataPoints, + const double* imagDataPoints, + const int64_t numDataPoints, + const double timeInterval); virtual void replot(); @@ -30,6 +33,10 @@ public: void set_yaxis(double min, double max); void set_axis(double xmin, double xmax, double ymin, double ymax); + void set_pen_size(int size); + +public slots: + void resizeSlot( QSize *s ); protected slots: void LegendEntryChecked(QwtPlotItem *plotItem, bool on); @@ -48,8 +55,7 @@ private: timespec _lastReplot; int64_t _numPoints; - - double _displayIntervalTime; + int64_t _penSize; }; #endif /* CONSTELLATION_DISPLAY_PLOT_HPP */