[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mozilla-qt
Subject:    Re: QTTable refresh.
From:       nrumalla () att ! net (NRumalla)
Date:       2003-05-27 14:01:10
[Download RAW message or body]

David W Noon <dwnoon@spamtrap.ntlworld.com> wrote in message news:<barfeq$ji21@ripley.netscape.com>...
> On Friday 23 May 2003 20:23 in
> <803178cc.0305231123.4c47cc60@posting.google.com>, NRumalla
> (nrumalla@att.net) wrote:
> 
> > I am using QTable to update the output of a process in a tabular
> > format. When I invoke 'setText' method table doesn't get re-painted
> > even after I call either 'updateContents' or 'repaintContents' or
> > both. But the table gets re-painted when some physical event happens
> > in that window, like moving the mouse, etc.
> 
> I have seen this too. It seems to be intrinsic to the Qt library: the
> changes only become visible when focus is acquired.

It seems that way. I say this because I had a dummy timer whose
handler does nothing and I see the program working properly. But I
don't like this kludge fix. Hope I can find a better solution.

Naveen.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic