QPainter logs in stdout

Ingo Klöcker kloecker at kde.org
Mon Jan 18 22:11:41 GMT 2010


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20100118/0a1d146d/attachment.sig>


More information about the kde-core-devel mailing list