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

List:       kde-core-devel
Subject:    Re: QPainter logs in stdout
From:       Ingo =?utf-8?q?Kl=C3=B6cker?= <kloecker () kde ! org>
Date:       2010-01-18 22:11:41
Message-ID: 201001182311.45907 () thufir ! ingo-kloecker ! de
[Download RAW message or body]


On Monday 18 January 2010, Christoph Feck wrote:
> On Monday 18 January 2010 22:17:33 Ingo Klöcker wrote:
> > Is this supposed to trigger an immediate repaint? If yes, then IIRC
> > in a similar situation (on Windows) we also tried to use
> > paintEvent(). It didn't work. After digging into Qt's sources we
> > finally resorted to something like
> >   QEvent event( QEvent::UpdateRequest );
> >   QCoreApplication::postEvent( viewport, &event );
> > instead.
>
> QWidget::repaint() ?

Sure. This might also work. IIRC, it didn't work for us. Don't ask me 
why. I did not yet have any incentives to try to fully understand the 
QWidget code.


Regards,
Ingo

["signature.asc" (application/pgp-signature)]

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

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