[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 01/03: qtgui: fix broken QT tab widgets whe
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 01/03: qtgui: fix broken QT tab widgets when trying to use more than five. |
Date: |
Sun, 29 Mar 2015 01:37:12 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch maint
in repository gnuradio.
commit 9f42087d73e0e9bb1046c31dac1750ace86aece5
Author: Tom Rondeau <address@hidden>
Date: Sat Mar 28 18:12:18 2015 -0700
qtgui: fix broken QT tab widgets when trying to use more than five.
---
gr-qtgui/grc/qtgui_tab_widget.xml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gr-qtgui/grc/qtgui_tab_widget.xml
b/gr-qtgui/grc/qtgui_tab_widget.xml
index 5a99377..1bbadc8 100644
--- a/gr-qtgui/grc/qtgui_tab_widget.xml
+++ b/gr-qtgui/grc/qtgui_tab_widget.xml
@@ -10,7 +10,10 @@
<import>from PyQt4 import Qt</import>
<make>#set $win = 'self.%s'%$id
Qt.QTabWidget()
-#set $all_labels = [$label0, $label1, $label2, $label3,
$label4][:int($num_tabs())]
+#set $all_labels = [$label0, $label1, $label2, $label3, $label4,
+ $label5, $label6, $label7, $label8, $label9,
+ $label10, $label11, $label12, $label13, $label14,
+ $label15, $label16, $label17, $label18,
$label19][:int($num_tabs())]
#for i, label in enumerate($all_labels)
self.$(id)_widget_$(i) = Qt.QWidget()
self.$(id)_layout_$(i) = Qt.QBoxLayout(Qt.QBoxLayout.TopToBottom,
self.$(id)_widget_$(i))