[Qt-interest] repaint not working

Doug Stewart doug.dastew at gmail.com
Wed Jun 1 02:02:54 CEST 2011


On Tue, May 31, 2011 at 6:32 PM, Nikos Chantziaras <realnc at arcor.de> wrote:

> On 05/31/2011 04:35 PM, Doug Stewart wrote:
> > We have a project that 3 people are working on. The repaint works in the
> > Mac. the same code compiled on Ubuntu does not work.
> >
> > {
> >
> >      connect(this,  SIGNAL(pointChanged()),  this,  SLOT(repaint()));
> >
> > }
>
> Try update() instead of repaint().  Calling repaint() is a bad idea most
> of the time.
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest


Yes I know that update() is the way to go and yes i tried it, and no it did
not work either.
Is there a simple example of how to implement update() that I can try?

Doug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110531/9f356a59/attachment.html 


More information about the Qt-interest-old mailing list