[PyKDE] Window refresh from another process

Phil Thompson phil at riverbankcomputing.co.uk
Wed Jul 2 10:43:01 BST 2003


On Wednesday 02 July 2003 9:22 am, Albert Cervera Areny wrote:
>   Hi, I'm developing a small frontend which runs a XML-RPC server and each
> time it receives an event it adds an item to a QListView and
> prints something in a QLabel.
>
>   The problem is that when the event occurs the window isn't refreshed
> until I move the mouse cursor. The XML-RPC process calls the window
> addEvent function (I've written) and the last thing it does is calling
> self.repaint(0) but it doesn't work.
>
>   Does somebody have a clue of how I could solve this?

Is self.update() any better?

Phil




More information about the PyQt mailing list