summaryrefslogtreecommitdiff
path: root/gr-qtgui/src/python/pyqt_example.py
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2010-05-10 20:10:32 -0400
committerTom Rondeau <trondeau@vt.edu>2010-05-10 20:10:32 -0400
commitf20b3e2a48a4b9ae7a8b87b1361749c290d99e39 (patch)
tree8c2f3c303870302f3806017087177749d894e0c3 /gr-qtgui/src/python/pyqt_example.py
parent89ceb6c846e5b859d8fdef4fef84093f18efd3da (diff)
Changes to the examples to fit updates to qtgui.
Diffstat (limited to 'gr-qtgui/src/python/pyqt_example.py')
-rwxr-xr-xgr-qtgui/src/python/pyqt_example.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-qtgui/src/python/pyqt_example.py b/gr-qtgui/src/python/pyqt_example.py
index 4fa8cdd925..7c0cfc6983 100755
--- a/gr-qtgui/src/python/pyqt_example.py
+++ b/gr-qtgui/src/python/pyqt_example.py
@@ -131,9 +131,9 @@ class my_top_block(gr.top_block):
# Wrap the pointer as a PyQt SIP object
# This can now be manipulated as a PyQt4.QtGui.QWidget
- pyWin = sip.wrapinstance(pyQt, QtGui.QWidget)
+ self.pyWin = sip.wrapinstance(pyQt, QtGui.QWidget)
- self.main_box = dialog_box(pyWin, self.ctrl_win)
+ self.main_box = dialog_box(self.pyWin, self.ctrl_win)
self.main_box.show()