commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 12/57: qtgui: removing unused NumberDisplay


From: git
Subject: [Commit-gnuradio] [gnuradio] 12/57: qtgui: removing unused NumberDisplayPlot; the number sink doesn't have a canvas like the other plotters do and so doesn't require this.
Date: Wed, 21 May 2014 03:10:25 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

trondeau pushed a commit to branch master
in repository gnuradio.

commit 5e264bb04519e39c208f482cc42d37e9ab9994e6
Author: Tom Rondeau <address@hidden>
Date:   Mon Mar 24 09:59:13 2014 -0700

    qtgui: removing unused NumberDisplayPlot; the number sink doesn't have a 
canvas like the other plotters do and so doesn't require this.
---
 gr-qtgui/include/gnuradio/qtgui/CMakeLists.txt     |  1 -
 .../include/gnuradio/qtgui/NumberDisplayPlot.h     | 54 -------------------
 gr-qtgui/lib/CMakeLists.txt                        |  2 -
 gr-qtgui/lib/NumberDisplayPlot.cc                  | 63 ----------------------
 4 files changed, 120 deletions(-)

diff --git a/gr-qtgui/include/gnuradio/qtgui/CMakeLists.txt 
b/gr-qtgui/include/gnuradio/qtgui/CMakeLists.txt
index bb0d3cf..2b9af62 100644
--- a/gr-qtgui/include/gnuradio/qtgui/CMakeLists.txt
+++ b/gr-qtgui/include/gnuradio/qtgui/CMakeLists.txt
@@ -38,7 +38,6 @@ install(FILES
   HistogramDisplayPlot.h
   number_sink.h
   numberdisplayform.h
-  NumberDisplayPlot.h
   plot_raster.h
   plot_waterfall.h
   qtgui_types.h
diff --git a/gr-qtgui/include/gnuradio/qtgui/NumberDisplayPlot.h 
b/gr-qtgui/include/gnuradio/qtgui/NumberDisplayPlot.h
deleted file mode 100644
index 307d806..0000000
--- a/gr-qtgui/include/gnuradio/qtgui/NumberDisplayPlot.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/* -*- c++ -*- */
-/*
- * Copyright 2014 Free Software Foundation, Inc.
- *
- * This file is part of GNU Radio
- *
- * GNU Radio is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3, or (at your option)
- * any later version.
- *
- * GNU Radio is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with GNU Radio; see the file COPYING.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street,
- * Boston, MA 02110-1301, USA.
- */
-
-#ifndef NUMBER_DISPLAY_PLOT_H
-#define NUMBER_DISPLAY_PLOT_H
-
-#include <stdint.h>
-#include <cstdio>
-#include <vector>
-#include <gnuradio/qtgui/DisplayPlot.h>
-#include <gnuradio/tags.h>
-#include <qwt_plot.h>
-
-/*!
- * \brief QWidget for displaying number plots.
- * \ingroup qtgui_blk
- */
-class NumberDisplayPlot: public DisplayPlot
-{
-  Q_OBJECT
-
-public:
-  NumberDisplayPlot(int nplots, QWidget*);
-  virtual ~NumberDisplayPlot();
-
-  void plotNewData(const std::vector<double> samples);
-
-  void replot();
-
-public slots:
-
-private:
-};
-
-#endif /* NUMBER_DISPLAY_PLOT_H */
diff --git a/gr-qtgui/lib/CMakeLists.txt b/gr-qtgui/lib/CMakeLists.txt
index f46fe83..0145dd1 100644
--- a/gr-qtgui/lib/CMakeLists.txt
+++ b/gr-qtgui/lib/CMakeLists.txt
@@ -39,7 +39,6 @@ set(qtgui_moc_hdrs
     ${qtgui_mod_includedir}/WaterfallDisplayPlot.h
     ${qtgui_mod_includedir}/ConstellationDisplayPlot.h
     ${qtgui_mod_includedir}/HistogramDisplayPlot.h
-    ${qtgui_mod_includedir}/NumberDisplayPlot.h
 )
 QT4_WRAP_CPP(qtgui_moc_srcs ${qtgui_moc_hdrs})
 QT4_WRAP_UI(qtgui_ui_hdrs spectrumdisplayform.ui)
@@ -70,7 +69,6 @@ set(qtgui_srcs
     freqdisplayform.cc
     constellationdisplayform.cc
     histogramdisplayform.cc
-    NumberDisplayPlot.cc
     numberdisplayform.cc
     waterfalldisplayform.cc
     SpectrumGUIClass.cc
diff --git a/gr-qtgui/lib/NumberDisplayPlot.cc 
b/gr-qtgui/lib/NumberDisplayPlot.cc
deleted file mode 100644
index b1fbca9..0000000
--- a/gr-qtgui/lib/NumberDisplayPlot.cc
+++ /dev/null
@@ -1,63 +0,0 @@
-/* -*- c++ -*- */
-/*
- * Copyright 2014 Free Software Foundation, Inc.
- *
- * This file is part of GNU Radio
- *
- * GNU Radio is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3, or (at your option)
- * any later version.
- *
- * GNU Radio is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with GNU Radio; see the file COPYING.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street,
- * Boston, MA 02110-1301, USA.
- */
-
-#ifndef NUMBER_DISPLAY_PLOT_C
-#define NUMBER_DISPLAY_PLOT_C
-
-#include <gnuradio/qtgui/NumberDisplayPlot.h>
-
-#include <qwt_scale_draw.h>
-#include <QColor>
-#include <cmath>
-#include <iostream>
-#include <volk/volk.h>
-
-NumberDisplayPlot::NumberDisplayPlot(int nplots, QWidget* parent)
-  : DisplayPlot(nplots, parent)
-{
-  resize(0, 0);
-
-  // Setup dataPoints and plot vectors
-  // Automatically deleted when parent is deleted
-  for(int i = 0; i < d_nplots; i++) {
-
-  }
-}
-
-NumberDisplayPlot::~NumberDisplayPlot()
-{
-}
-
-void
-NumberDisplayPlot::replot()
-{
-  QwtPlot::replot();
-}
-
-void
-NumberDisplayPlot::plotNewData(const std::vector<double> samples)
-{
-  if(!d_stop) {
-  }
-}
-
-#endif /* NUMBER_DISPLAY_PLOT_C */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]