[PyQt] argument 1 of KDialog.setButtons() has an invalid type

Benno Dielmann lists at benno-dielmann.de
Sat Aug 2 14:15:19 BST 2008


Hi Chris, 

thanks a lot for the answer, it really saved my day :-). However, I don't 
understand why this works in PyQt4 and not in PyKDE4? I would consider this a 
bug in PyKDE4...

If it's not a bug but a feature it really should be documented somewhere, at 
least in the FAQs. 

Best wishes, 

Benno. 

On Saturday 02 August 2008 14:43:28 Christoph Burgmer wrote:
| Am Saturday, 2. August 2008 schrieb Benno Dielmann:
| > Hi PyKDE4 - Experts,
| >
| > the setButtons() method of KDialog seems to be buggy - there's always an
| > exception
| >
| > argument 1 of KDialog.setButtons() has an invalid type
| >
| > Argument 1 should be the KDialog instance, shouldn't it?
| >
| > Or am I doing something wrong? Please have a look at this example code:
|
| [snip]
|
| See my post "[PyQt] XORing options and result type" from last month and
| other mails in the archive.
|
| Chris
| _______________________________________________
| PyQt mailing list    PyQt at riverbankcomputing.com
| http://www.riverbankcomputing.com/mailman/listinfo/pyqt



More information about the PyQt mailing list