diff options
author | Tom Rondeau | 2009-09-01 21:59:44 -0400 |
---|---|---|
committer | Tom Rondeau | 2009-09-01 21:59:44 -0400 |
commit | 74c747cc9c9115d3d19d627eb5d3a39e6a15714c (patch) | |
tree | 773434e53a4ab020ca9cf32736c263d692f5b72d /gr-utils | |
parent | db8bc5c7a5e701734810d0aabd8b774eda6f6839 (diff) | |
download | gnuradio-74c747cc9c9115d3d19d627eb5d3a39e6a15714c.tar.gz gnuradio-74c747cc9c9115d3d19d627eb5d3a39e6a15714c.tar.bz2 gnuradio-74c747cc9c9115d3d19d627eb5d3a39e6a15714c.zip |
Removing plot picker that addd nothing to the interface.
Diffstat (limited to 'gr-utils')
-rwxr-xr-x | gr-utils/src/python/gr_plot_qt.py | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/gr-utils/src/python/gr_plot_qt.py b/gr-utils/src/python/gr_plot_qt.py index 36c0da485..906bb2d33 100755 --- a/gr-utils/src/python/gr_plot_qt.py +++ b/gr-utils/src/python/gr_plot_qt.py @@ -144,16 +144,6 @@ class gr_plot_qt(QtGui.QMainWindow): Qwt.QwtPicker.AlwaysOn, self.gui.specPlot.canvas()) - #self.picker = Qwt.QwtPlotPicker(self.gui.timePlot.xBottom, - # self.gui.timePlot.yLeft, - # Qwt.QwtPicker.PointSelection, - # Qwt.QwtPlotPicker.CrossRubberBand, - # Qwt.QwtPicker.AlwaysOn, - # self.gui.timePlot.canvas()) - #self.picker.connect(self.picker, - # Qt.SIGNAL('selected(const QwtDoublePoint&)'), - # self.clickMe) - # Set up action when tab is changed self.connect(self.gui.tabGroup, Qt.SIGNAL("currentChanged (int)"), @@ -214,6 +204,7 @@ class gr_plot_qt(QtGui.QMainWindow): self.psdcurve = Qwt.QwtPlotCurve("PSD") self.psdcurve.attach(self.gui.freqPlot) + # Set up specTab plot as a spectrogram self.specdata = SpectrogramData(range(0, 10), range(0, 10)) @@ -340,9 +331,6 @@ class gr_plot_qt(QtGui.QMainWindow): self.spec_f = f self.spec_t = t - def clickMe(self, qPoint): - print qPoint.x() - def psdFFTComboBoxEdit(self, fftSize): self.psdfftsize = fftSize.toInt()[0] self.get_psd() @@ -563,7 +551,6 @@ class gr_plot_qt(QtGui.QMainWindow): self.gui.timePlot.setCanvasBackground(Qt.QColor("white")) self.gui.freqPlot.setCanvasBackground(Qt.QColor("white")) - #self.picker.setTrackerPen(Qt.QPen(blackBrush, 2)) self.timeZoomer.setTrackerPen(Qt.QPen(blackBrush, 2)) self.timeZoomer.setRubberBandPen(Qt.QPen(blackBrush, 2)) self.freqZoomer.setTrackerPen(Qt.QPen(blackBrush, 2)) @@ -585,7 +572,6 @@ class gr_plot_qt(QtGui.QMainWindow): self.gui.timePlot.setCanvasBackground(QtGui.QColor("black")) self.gui.freqPlot.setCanvasBackground(QtGui.QColor("black")) - #self.picker.setTrackerPen(Qt.QPen(whiteBrush, 2)) self.timeZoomer.setTrackerPen(Qt.QPen(whiteBrush, 2)) self.timeZoomer.setRubberBandPen(Qt.QPen(whiteBrush, 2)) self.freqZoomer.setTrackerPen(Qt.QPen(whiteBrush, 2)) @@ -608,7 +594,6 @@ class gr_plot_qt(QtGui.QMainWindow): self.gui.timePlot.setCanvasBackground(QtGui.QColor("black")) self.gui.freqPlot.setCanvasBackground(QtGui.QColor("black")) - #self.picker.setTrackerPen(Qt.QPen(whiteBrush, 2)) self.timeZoomer.setTrackerPen(Qt.QPen(whiteBrush, 2)) self.timeZoomer.setRubberBandPen(Qt.QPen(whiteBrush, 2)) self.freqZoomer.setTrackerPen(Qt.QPen(whiteBrush, 2)) @@ -630,7 +615,6 @@ class gr_plot_qt(QtGui.QMainWindow): self.gui.timePlot.setCanvasBackground(QtGui.QColor("black")) self.gui.freqPlot.setCanvasBackground(QtGui.QColor("black")) - #self.picker.setTrackerPen(Qt.QPen(whiteBrush, 2)) self.timeZoomer.setTrackerPen(Qt.QPen(whiteBrush, 2)) self.timeZoomer.setRubberBandPen(Qt.QPen(whiteBrush, 2)) self.freqZoomer.setTrackerPen(Qt.QPen(whiteBrush, 2)) |