summaryrefslogtreecommitdiff
path: root/gr-qtgui
diff options
context:
space:
mode:
authorTom Rondeau2011-11-27 16:41:59 -0500
committerTom Rondeau2011-11-27 16:41:59 -0500
commite36b920bebc555f6ef0126a38c9ff4ce7a95bd79 (patch)
tree30229ee41de9ba78ae48fd82a4c2caf31aee043f /gr-qtgui
parentc8f9f435ca3006c835ef93de8c437443ea0ec88a (diff)
downloadgnuradio-e36b920bebc555f6ef0126a38c9ff4ce7a95bd79.tar.gz
gnuradio-e36b920bebc555f6ef0126a38c9ff4ce7a95bd79.tar.bz2
gnuradio-e36b920bebc555f6ef0126a38c9ff4ce7a95bd79.zip
docs: added python doxygen docs to gr-qtgui
Diffstat (limited to 'gr-qtgui')
-rw-r--r--gr-qtgui/swig/CMakeLists.txt3
-rw-r--r--gr-qtgui/swig/qtgui_swig.i3
2 files changed, 6 insertions, 0 deletions
diff --git a/gr-qtgui/swig/CMakeLists.txt b/gr-qtgui/swig/CMakeLists.txt
index 34b40fb7e..43c59033c 100644
--- a/gr-qtgui/swig/CMakeLists.txt
+++ b/gr-qtgui/swig/CMakeLists.txt
@@ -29,6 +29,9 @@ set(GR_SWIG_INCLUDE_DIRS
${QWT_INCLUDE_DIRS}
)
+set(GR_SWIG_DOC_FILE ${CMAKE_CURRENT_BINARY_DIR}/qtgui_swig_doc.i)
+set(GR_SWIG_DOC_DIRS ${GR_QTGUI_INCLUDE_DIRS})
+
set(GR_SWIG_LIBRARIES gnuradio-qtgui)
GR_SWIG_MAKE(qtgui_swig qtgui_swig.i)
diff --git a/gr-qtgui/swig/qtgui_swig.i b/gr-qtgui/swig/qtgui_swig.i
index 7cf8873e7..6e5f6e124 100644
--- a/gr-qtgui/swig/qtgui_swig.i
+++ b/gr-qtgui/swig/qtgui_swig.i
@@ -22,6 +22,9 @@
%include "gnuradio.i"
+//load generated python docstrings
+%include "qtgui_swig_doc.i"
+
%{
#include "qtgui_sink_c.h"
#include "qtgui_sink_f.h"