[PyKDE] QTableWidget.clearContents diferent behavior in win and Linux

Kerri Reno kreno at yumaed.org
Wed Feb 7 17:39:52 GMT 2007


Paulino,

Just a guess, I'm new to QT, but I think if you do a 
QtCore.QCoreApplication.processEvents() immediately after you 
clearContents it will work the same as on windows.

Kerri

Yuma Educational Computer Consortium
Compass Development Team
Kerri Reno
kreno at yumaed.org      (928) 502-4240




Paulino wrote:
> the function clearContents behaves diferently in windows and in linux:
>
> In windows it works as I expected, the QTableWidget is refreshed 
> imediatly,
> but in Linux the widget is only refreshed when it get the focus again, 
> not imediatly when the button is clicked.
>
> A final user will think that the button is not working... would have 
> to hit the table to see the result.
>
> Any clue?
>
> Thanks
>
> Paulino
>
> _______________________________________________
> PyKDE mailing list    PyKDE at mats.imk.fraunhofer.de
> http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
>




More information about the PyQt mailing list