diff options
author | Tom Rondeau <trondeau@vt.edu> | 2012-11-12 21:55:23 -0500 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2012-11-12 21:55:23 -0500 |
commit | bbbbf8b042c3443415ae766bf7b6a26134c0119d (patch) | |
tree | a604bad094914ec9cb6d76ce189986befa5e6547 /gr-qtgui/examples/pyqt_waterfall_c.py | |
parent | ea539a77938c81bb046a6d83f3cf3f40eaa33c49 (diff) | |
parent | 8740eb0d9460060ae97f9d252cae81cdcf0e20e5 (diff) |
Merge branch 'qtgui_stylesheets' into next
Conflicts:
gr-qtgui/lib/DisplayPlot.cc
gr-qtgui/lib/DisplayPlot.h
gr-qtgui/lib/displayform.cc
Fixed some function name issues and updated qtgui examples.
Diffstat (limited to 'gr-qtgui/examples/pyqt_waterfall_c.py')
-rwxr-xr-x | gr-qtgui/examples/pyqt_waterfall_c.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gr-qtgui/examples/pyqt_waterfall_c.py b/gr-qtgui/examples/pyqt_waterfall_c.py index c1c5f1f88d..eb7e731dfd 100755 --- a/gr-qtgui/examples/pyqt_waterfall_c.py +++ b/gr-qtgui/examples/pyqt_waterfall_c.py @@ -144,6 +144,10 @@ class my_top_block(gr.top_block): npts = 2048 self.qapp = QtGui.QApplication(sys.argv) + ss = open('dark.qss') + sstext = ss.read() + ss.close() + self.qapp.setStyleSheet(sstext) src1 = analog.sig_source_c(Rs, analog.GR_SIN_WAVE, f1, 0.1, 0) src2 = analog.sig_source_c(Rs, analog.GR_SIN_WAVE, f2, 0.1, 0) |