summaryrefslogtreecommitdiff
path: root/grc/python
diff options
context:
space:
mode:
authorTom Rondeau <tom@trondeau.com>2014-02-24 17:48:25 -0500
committerTom Rondeau <tom@trondeau.com>2014-02-24 17:48:25 -0500
commitb9cce7ab281d7ff8dc69559a41e57c36a1eb7ee5 (patch)
tree2e1d5ea437b0e0d514b303fc5170756a2c8d269a /grc/python
parent43edc292c10c51f5ce771fe94c1acbd325851d99 (diff)
qtgui: adds ability to set the graphics style rendering of the qtgui sinks.
Set through gr-qtgui.conf prefs file. Documented in QT GUI section of manual.
Diffstat (limited to 'grc/python')
-rw-r--r--grc/python/flow_graph.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/grc/python/flow_graph.tmpl b/grc/python/flow_graph.tmpl
index fe1155bb50..7c6998ab73 100644
--- a/grc/python/flow_graph.tmpl
+++ b/grc/python/flow_graph.tmpl
@@ -315,6 +315,7 @@ if __name__ == '__main__':
tb.Wait()
#end if
#elif $generate_options == 'qt_gui'
+ Qt.QApplication.setGraphicsSystem(gr.prefs().get_string('qtgui','style','raster'))
qapp = Qt.QApplication(sys.argv)
tb = $(class_name)($(', '.join($params_eq_list)))
#if $flow_graph.get_option('run')