diff options
author | renatofilho <renato.filho@openbossa.org> | 2010-10-15 18:18:27 -0300 |
---|---|---|
committer | renatofilho <renato.filho@openbossa.org> | 2010-10-15 18:20:10 -0300 |
commit | e7f280f7451b3429fc1e1407225a6b9d27db1888 (patch) | |
tree | 593b889f0a0533a8de5881c0d22289b4e6e95ac5 /tests/QtUiTools/bug_392.py | |
parent | d75bd8367d26e4049b6748cc001ec7482fbda832 (diff) | |
download | pyside-e7f280f7451b3429fc1e1407225a6b9d27db1888.tar.gz pyside-e7f280f7451b3429fc1e1407225a6b9d27db1888.tar.xz pyside-e7f280f7451b3429fc1e1407225a6b9d27db1888.zip |
Removed QtDesigner dependency from QtUiTools module.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'tests/QtUiTools/bug_392.py')
-rw-r--r-- | tests/QtUiTools/bug_392.py | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/tests/QtUiTools/bug_392.py b/tests/QtUiTools/bug_392.py index 9cc8b21..69817ff 100644 --- a/tests/QtUiTools/bug_392.py +++ b/tests/QtUiTools/bug_392.py @@ -2,7 +2,7 @@ import unittest import os from helper import UsesQApplication -from PySide import QtGui, QtDeclarative +from PySide import QtGui from PySide.QtUiTools import QUiLoader class MyWidget(QtGui.QComboBox): @@ -21,15 +21,6 @@ class BugTest(UsesQApplication): result = loader.load(filePath, w) self.assert_(isinstance(result.statusbar.actionFoo, QtGui.QAction)) - def testCustomWidgets(self): - w = QtGui.QWidget() - loader = QUiLoader() - - filePath = os.path.join(os.path.dirname(__file__), 'customwidget.ui') - result = loader.load(filePath, w) - self.assert_(isinstance(result.declarativeView, QtDeclarative.QDeclarativeView)) - self.assert_(isinstance(result.worldTimeClock, QtGui.QWidget)) - def testPythonCustomWidgets(self): w = QtGui.QWidget() loader = QUiLoader() |