aboutsummaryrefslogtreecommitdiffstats
path: root/tests/QtGui/bug_172.py
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-10-04 19:08:29 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2010-10-05 14:19:59 -0300
commitebe20bd63fa677804a520df6ce1a2fd64a9401ad (patch)
tree4da28a15e8c68841d57681d9806e28ed8dee06ef /tests/QtGui/bug_172.py
parent5f21b20e722a41bd3d1d9bbf4c36f8f08aba4f63 (diff)
Add unit test for bug#172
Diffstat (limited to 'tests/QtGui/bug_172.py')
-rw-r--r--tests/QtGui/bug_172.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/QtGui/bug_172.py b/tests/QtGui/bug_172.py
new file mode 100644
index 000000000..d14c94c5b
--- /dev/null
+++ b/tests/QtGui/bug_172.py
@@ -0,0 +1,13 @@
+from PySide.QtGui import *
+
+if __name__ == '__main__':
+ app = QApplication([])
+
+ wdg = QWidget()
+
+ hbox = QHBoxLayout()
+
+ vbox = QVBoxLayout()
+ vbox.addLayout(hbox)
+
+ wdg.setLayout(vbox)