summaryrefslogtreecommitdiff
path: root/gr-qtgui/examples/pyqt_time_f.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-qtgui/examples/pyqt_time_f.py')
-rwxr-xr-xgr-qtgui/examples/pyqt_time_f.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/gr-qtgui/examples/pyqt_time_f.py b/gr-qtgui/examples/pyqt_time_f.py
index 464d8939b0..2afb5a119b 100755
--- a/gr-qtgui/examples/pyqt_time_f.py
+++ b/gr-qtgui/examples/pyqt_time_f.py
@@ -168,11 +168,11 @@ class my_top_block(gr.top_block):
pyWin = sip.wrapinstance(pyQt, QtGui.QWidget)
# Example of using signal/slot to set the title of a curve
- pyWin.connect(pyWin, QtCore.SIGNAL("setTitle(int, QString)"),
- pyWin, QtCore.SLOT("setTitle(int, QString)"))
- pyWin.emit(QtCore.SIGNAL("setTitle(int, QString)"), 0, "sum")
- self.snk1.set_title(1, "src1")
- self.snk1.set_title(2, "src2")
+ pyWin.connect(pyWin, QtCore.SIGNAL("setLineLabel(int, QString)"),
+ pyWin, QtCore.SLOT("setLineLabel(int, QString)"))
+ pyWin.emit(QtCore.SIGNAL("setLineLabel(int, QString)"), 0, "sum")
+ self.snk1.set_line_label(1, "src1")
+ self.snk1.set_line_label(2, "src2")
# Can also set the color of a curve
#self.snk1.set_color(5, "blue")