~ubuntu-branches/ubuntu/oneiric/pyside/oneiric

« back to all changes in this revision

Viewing changes to tests/QtGui/bug_172.py

  • Committer: Bazaar Package Importer
  • Author(s): Didier Raboud
  • Date: 2010-10-19 22:52:14 UTC
  • mfrom: (1.1.4 upstream)
  • mto: (13.1.1 sid)
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: james.westby@ubuntu.com-20101019225214-0s9fbpz12x3962qa
Tags: upstream-0.4.2
ImportĀ upstreamĀ versionĀ 0.4.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
from PySide.QtGui import *
 
2
 
 
3
if __name__ == '__main__':
 
4
    app = QApplication([])
 
5
 
 
6
    wdg = QWidget()
 
7
 
 
8
    hbox = QHBoxLayout()
 
9
 
 
10
    vbox = QVBoxLayout()
 
11
    vbox.addLayout(hbox)
 
12
 
 
13
    wdg.setLayout(vbox)