[PyKDE] Bug with QColorDialog::getRgba() ...
Sebastien Auclair
sxa at hotmail.com
Sat Feb 1 13:15:01 GMT 2003
With PYQT Win_Commercial 3.4
The return of the call changes the type of the receiving variable.
Here's a demonstration:
>>> color = qRgba(1,1,1,1)
>>> qRed(color)
1
>>> color = QColorDialog.getRgba (c)
>>> color
(16843009, 1)
>>> qRed(color)
Traceback (most recent call last):
File "<stdin>", line 1, in ?
TypeError: Argument 1 of qRed() has an invalid type
>>>
Thanks !
________________________________________
Seb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20030201/888457b1/attachment.html
More information about the PyQt
mailing list