diff options
author | Tom Rondeau <tom@trondeau.com> | 2014-03-24 09:59:13 -0700 |
---|---|---|
committer | Tom Rondeau <tom@trondeau.com> | 2014-05-17 17:45:11 -0400 |
commit | 5e264bb04519e39c208f482cc42d37e9ab9994e6 (patch) | |
tree | 081f547bbd4b4126b69d5127d65f16dc50c11ce8 | |
parent | 74a4b423a3f62eac39b56c430502c8d4b2929c97 (diff) |
qtgui: removing unused NumberDisplayPlot; the number sink doesn't have a canvas like the other plotters do and so doesn't require this.
-rw-r--r-- | gr-qtgui/include/gnuradio/qtgui/CMakeLists.txt | 1 | ||||
-rw-r--r-- | gr-qtgui/include/gnuradio/qtgui/NumberDisplayPlot.h | 54 | ||||
-rw-r--r-- | gr-qtgui/lib/CMakeLists.txt | 2 | ||||
-rw-r--r-- | gr-qtgui/lib/NumberDisplayPlot.cc | 63 |
4 files changed, 0 insertions, 120 deletions
diff --git a/gr-qtgui/include/gnuradio/qtgui/CMakeLists.txt b/gr-qtgui/include/gnuradio/qtgui/CMakeLists.txt index bb0d3cf953..2b9af62138 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 307d806b87..0000000000 --- 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 f46fe838a3..0145dd16f4 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 b1fbca9ded..0000000000 --- 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 */ |