On Saturday 08 December 2007, DDGG wrote: > from PyQt4 import QtCore > > ch = 1 > print QtCore.QLatin1Char(ch) > > > Traceback (most recent call last): > File "test.py", line 4, in <module> > print QtCore.QLatin1Char(ch) > TypeError: argument 1 of QLatin1Char() has an invalid type > > > Why? QLatin1Char() function needs a argument what type is char, uchar, > as int, isn't it?
No. char and uchar are interpreted as single character strings. Phil _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
