From 9bf36359d2cab2cc36adee529429e6b693448154 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Wed, 22 Jun 2011 23:35:19 -0700 Subject: grc: qtgui windows have scrollbars (thanks jason) --- grc/python/flow_graph.tmpl | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'grc') diff --git a/grc/python/flow_graph.tmpl b/grc/python/flow_graph.tmpl index d5e53b52b..0878be4ba 100644 --- a/grc/python/flow_graph.tmpl +++ b/grc/python/flow_graph.tmpl @@ -65,9 +65,18 @@ class $(class_name)(gr.top_block, Qt.QWidget): Qt.QWidget.__init__(self) self.setWindowTitle("$title") self.setWindowIcon(Qt.QIcon.fromTheme('gnuradio-grc')) - self.top_layout = Qt.QVBoxLayout(self) + self.top_scroll_layout = Qt.QVBoxLayout() + self.setLayout(self.top_scroll_layout) + self.top_scroll = Qt.QScrollArea() + self.top_scroll.setFrameStyle(Qt.QFrame.NoFrame) + self.top_scroll_layout.addWidget(self.top_scroll) + self.top_scroll.setWidgetResizable(True) + self.top_widget = Qt.QWidget() + self.top_scroll.setWidget(self.top_widget) + self.top_layout = Qt.QVBoxLayout(self.top_widget) self.top_grid_layout = Qt.QGridLayout() self.top_layout.addLayout(self.top_grid_layout) + #elif $generate_options == 'no_gui' class $(class_name)(gr.top_block): -- cgit From 4c503b6ab621cb15724a6f5ddc6f399d945b42bf Mon Sep 17 00:00:00 2001 From: Alexandru Csete Date: Fri, 1 Jul 2011 11:12:47 -0700 Subject: gnuradio-core: add accessors for gain property of quadrature_demod_cf Date: Tue, 17 May 2011 21:52:02 +0200 Message-ID: From: Alexandru Csete To: patch-gnuradio@gnu.org Subject: [Patch-gnuradio] set/get gain for quadrature_demod Greetings, The attached patch adds set/get gain accessors to the quadrature_demod_cf block, inspired by the similar changes to the frequency_modulator block few days ago. Alex --- grc/blocks/gr_quadrature_demod_cf.xml | 1 + 1 file changed, 1 insertion(+) (limited to 'grc') diff --git a/grc/blocks/gr_quadrature_demod_cf.xml b/grc/blocks/gr_quadrature_demod_cf.xml index a0e630c7e..fad0b3879 100644 --- a/grc/blocks/gr_quadrature_demod_cf.xml +++ b/grc/blocks/gr_quadrature_demod_cf.xml @@ -9,6 +9,7 @@ gr_quadrature_demod_cf from gnuradio import gr gr.quadrature_demod_cf($gain) + set_gain($gain) Gain gain -- cgit