GNU Radio's HOWTO Package
show_text_impl.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2013 Volker Schroer, DL1KSV.
4  *
5  * This is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 3, or (at your option)
8  * any later version.
9  *
10  * This software is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this software; see the file COPYING. If not, write to
17  * the Free Software Foundation, Inc., 51 Franklin Street,
18  * Boston, MA 02110-1301, USA.
19  */
20 #ifndef INCLUDED_DISPLAY_SHOW_TEXT_IMPL_H
21 #define INCLUDED_DISPLAY_SHOW_TEXT_IMPL_H
22 
23 #include <display/show_text.h>
24 #include <QApplication>
25 
26 class show_text_window;
27 
28 namespace gr {
29  namespace display {
30 
31  class show_text_impl : public show_text
32  {
33  private:
34  QWidget *d_parent;
35  QApplication *d_qApplication;
36  show_text_window *d_main_gui;
37 
38  public:
39  show_text_impl(QWidget *parent);
40  ~show_text_impl();
41  PyObject* pyqwidget();
42 
43  // Where all the action really happens
44  int work(int noutput_items,
45  gr_vector_const_void_star &input_items,
46  gr_vector_void_star &output_items);
47  };
48 
49  } // namespace display
50 } // namespace gr
51 
52 #endif /* INCLUDED_DISPLAY_SHOW_TEXT_IMPL_H */
53 
Definition: show_text_impl.h:31
show_text_impl(QWidget *parent)
int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
<+description of block+>
Definition: show_text.h:40
Definition: show_image.h:34
Definition: show_text_window.h:29