|
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
|
- Re: [PyKDE] Bug with QColorDialog::getRgba() ... Sebastien Auclair
- Re: [PyKDE] Bug with QColorDialog::getRgba() ... Phil Thompson
