PySide/tests/QtGui/qcursor_test.py
Marcelo Lira 42c9f80b06 Added QCursor test. It is related to bug #630.
Bug #630 - Fails to resolve overload for QCursor(QBitmap, QBitmap, int, int)
http://bugs.openbossa.org/show_bug.cgi?id=630

Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2011-02-10 14:07:56 -03:00

16 lines
440 B
Python

'''Test for Bug 630 - Fails to resolve overload for QCursor(QBitmap, QBitmap, int, int)
http://bugs.openbossa.org/show_bug.cgi?id=630
'''
import unittest
from PySide.QtGui import QBitmap, QCursor, QPixmap
from helper import UsesQApplication
class TestQCursor(UsesQApplication):
def testQCursorConstructor(self):
bmp = QBitmap(16, 16)
cursor = QCursor(bmp, bmp, 16, 16)
if __name__ == '__main__':
unittest.main()