Moved unit test of bug 834 from QtCore to QtGui, as it tests QtGui classes.
This commit is contained in:
parent
f70ff13351
commit
29c263eeb8
3 changed files with 1 additions and 1 deletions
|
|
@ -55,6 +55,7 @@ PYSIDE_TEST(bug_778.py)
|
|||
PYSIDE_TEST(bug_785.py)
|
||||
PYSIDE_TEST(bug_793.py)
|
||||
PYSIDE_TEST(bug_811.py)
|
||||
PYSIDE_TEST(bug_834.py)
|
||||
PYSIDE_TEST(bug_836.py)
|
||||
PYSIDE_TEST(bug_844.py)
|
||||
PYSIDE_TEST(customproxywidget_test.py)
|
||||
|
|
|
|||
18
tests/QtGui/bug_834.py
Normal file
18
tests/QtGui/bug_834.py
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
from PySide import QtCore, QtGui
|
||||
|
||||
class Window(QtGui.QMainWindow):
|
||||
def childEvent(self, event):
|
||||
super(Window, self).childEvent(event)
|
||||
|
||||
app = QtGui.QApplication([])
|
||||
window = Window()
|
||||
|
||||
dock1 = QtGui.QDockWidget()
|
||||
dock2 = QtGui.QDockWidget()
|
||||
window.addDockWidget(QtCore.Qt.LeftDockWidgetArea, dock1)
|
||||
window.addDockWidget(QtCore.Qt.LeftDockWidgetArea, dock2)
|
||||
window.tabifyDockWidget(dock1, dock2)
|
||||
|
||||
window.show()
|
||||
QtCore.QTimer.singleShot(0, window.close)
|
||||
app.exec_()
|
||||
Loading…
Add table
Add a link
Reference in a new issue