diff options
author | Josh Blum | 2011-03-01 13:03:36 -0800 |
---|---|---|
committer | Josh Blum | 2011-03-01 17:02:07 -0800 |
commit | a09e0096cf717c137126cd5fb721c0331a1a8df6 (patch) | |
tree | 37b128fd5e87499658f259392486c38478e0e1c3 /gr-qtgui/grc/qtgui_slider.xml | |
parent | 931332448227a6b509a9b39bb68044fa55d8b1cb (diff) | |
download | gnuradio-a09e0096cf717c137126cd5fb721c0331a1a8df6.tar.gz gnuradio-a09e0096cf717c137126cd5fb721c0331a1a8df6.tar.bz2 gnuradio-a09e0096cf717c137126cd5fb721c0331a1a8df6.zip |
grc-qtgui: creaded check box widget with qtgui, cleanup label code
Diffstat (limited to 'gr-qtgui/grc/qtgui_slider.xml')
-rw-r--r-- | gr-qtgui/grc/qtgui_slider.xml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gr-qtgui/grc/qtgui_slider.xml b/gr-qtgui/grc/qtgui_slider.xml index 68000fa2f..e29123878 100644 --- a/gr-qtgui/grc/qtgui_slider.xml +++ b/gr-qtgui/grc/qtgui_slider.xml @@ -16,11 +16,10 @@ $win = Qt.QBoxLayout(Qt.QBoxLayout.TopToBottom) self._$(id)_tool_bar = Qt.QToolBar(self) $(win).addWidget(self._$(id)_tool_bar) -#if $label() -self._$(id)_tool_bar.addWidget(Qt.QLabel($label, None)) -#else -self._$(id)_tool_bar.addWidget(Qt.QLabel("$id", None)) +#if not $label() + #set $label = '"%s"'%$id #end if +self._$(id)_tool_bar.addWidget(Qt.QLabel($label, None)) self._$(id)_counter = Qwt.QwtCounter(None) self._$(id)_counter.setRange($start, $stop, $step) self._$(id)_counter.setNumButtons(2) |