diff options
author | Josh Blum <josh@joshknows.com> | 2011-02-27 23:18:11 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-03-01 17:02:06 -0800 |
commit | 47f621a14c9a6e3696155dd5a223da40bcb7721c (patch) | |
tree | 03ff5e5875416340e3dcef010f176f9872b365d2 /gr-qtgui/grc/qtgui_tab_widget.xml | |
parent | f0537a7da4571bd6aaab273a0588eaef04121648 (diff) |
grc: work on generator for gui flowgraphs to simplify generation
generator does not differentiate between notebooks and controls,
they are all block, but block are now sorted by variables present in the make
also adjusted categories listed in the wx and qt widget related blocks
Diffstat (limited to 'gr-qtgui/grc/qtgui_tab_widget.xml')
-rw-r--r-- | gr-qtgui/grc/qtgui_tab_widget.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-qtgui/grc/qtgui_tab_widget.xml b/gr-qtgui/grc/qtgui_tab_widget.xml index 66597b454e..3c4edfd350 100644 --- a/gr-qtgui/grc/qtgui_tab_widget.xml +++ b/gr-qtgui/grc/qtgui_tab_widget.xml @@ -7,9 +7,10 @@ <block> <name>QT GUI Tab Widget</name> <key>qtgui_tab_widget</key> + <category>QT GUI Widgets</category> <import>from PyQt4 import Qt</import> <make>#set $win = 'self.%s'%$id -$win = Qt.QTabWidget(None) +Qt.QTabWidget(None) #for i, label in enumerate([$label0, $label1, $label2, $label3, $label4]) #if int($num_tabs()) > $i self.$(id)_widget_$(i) = Qt.QWidget() |