summaryrefslogtreecommitdiffstats
path: root/tests/QtGui/bug_433.py
blob: 97d897e81695a1e3bb08114e9752a6b2ee4f1216 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from PySide import QtCore, QtGui
import sys

class Test(QtGui.QGraphicsView):
    def __init__(self, parent=None):
        super(Test, self).__init__(parent)
        self.s = QtGui.QGraphicsScene()
        self.setScene(self.s)

a = QtGui.QApplication(sys.argv)
t = Test()
t.show()
QtCore.QTimer.singleShot(0, t.close)
sys.exit(a.exec_())