Re: QTTable refresh.

[email protected] (NRumalla)
Newsgroups gmane.comp.mozilla.devel.qt
Organization http://groups.google.com/
Message-ID <[email protected]>
David W Noon <[email protected]> wrote in message news:<[email protected]>...
> On Friday 23 May 2003 20:23 in
> <[email protected]>, NRumalla
> ([email protected]) 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.