QPainter logs in stdout

Christoph Feck christoph at maxiom.de
Mon Jan 18 21:42:54 GMT 2010


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() ?




More information about the kde-core-devel mailing list