QT GUI Sink qtgui_sink_x QT GUI Widgets from PyQt4 import Qt from gnuradio.qtgui import qtgui from gnuradio.gr import firdes import sip #set $win = 'self._%s_win'%$id qtgui.$(type.fcn)( $fftsize, \#fftsize $wintype, \#wintype $fc, \#fc $bw, \#bw $name, \#name $plotfreq, \#plotfreq $plotwaterfall, \#plotwaterfall $plottime, \#plottime $plotconst, \#plotconst ) self.$(id).set_update_time(1.0 / $rate) self._$(id)_win = sip.wrapinstance(self.$(id).pyqwidget(), Qt.QWidget) $(gui_hint()($win)) set_frequency_range($fc, $bw) Type type complex enum Name name QT GUI Plot string FFT Size fftsize 1024 int Window Type wintype firdes.WIN_BLACKMAN_hARRIS int part Center Frequency (Hz) fc 0 real Bandwidth (Hz) bw samp_rate real Plot Frequency plotfreq True bool part Plot Waterfall plotwaterfall True bool part Plot Time plottime True bool part Plot Const plotconst True bool part GUI Hint gui_hint gui_hint part Update Rate rate 10 real in $type $num_inputs The GUI hint can be used to position the widget within the application. \ The hint is of the form [tab_id@tab_index]: [row, col, row_span, col_span]. \ Both the tab specification and the grid position are optional.