Hi,
update on this topic: I figured out that passing the parent does not seem to be the problem. The important lines are in the <make> tag of the XML file, which result in the python flowgraph to:
> self.inspector_qtgui_sink_vf_0 = inspector.qtgui_inspector_sink_vf(4096)
> self._inspector_qtgui_sink_vf_0_win = sip.wrapinstance(self.inspector_qtgui_sink_vf_0.pyqwidget(), Qt.QWidget)
> self.top_layout.addWidget(self._inspector_qtgui_sink_vf_0_win)
I have copied all of the code concerning pyqwidget() from gr-qtwidget (at least I think so), but the flowgraph still fails with the error:
> self._inspector_qtgui_sink_vf_0_win = sip.wrapinstance(self.inspector_qtgui_sink_vf_0.pyqwidget(), Qt.QWidget)
> TypeError: must be integer<K>, not SwigPyObject
So it seems as if the PyObject* pyqwidget() is SWIGged, which is not necessary here. Can anyone tell me how to fix this error?
Cheers,
Sebastian