diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-10-04 19:08:29 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-10-05 14:19:59 -0300 |
commit | ebe20bd63fa677804a520df6ce1a2fd64a9401ad (patch) | |
tree | 4da28a15e8c68841d57681d9806e28ed8dee06ef /tests/QtGui/bug_172.py | |
parent | 5f21b20e722a41bd3d1d9bbf4c36f8f08aba4f63 (diff) |
Add unit test for bug#172
Diffstat (limited to 'tests/QtGui/bug_172.py')
-rw-r--r-- | tests/QtGui/bug_172.py | 13 |
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) |