summaryrefslogtreecommitdiffstats
path: root/tests/QtGui/qcursor_test.py
blob: ec758d4f15c937f7bcfa53fa792f6f9ba11cc72c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
'''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()