cberger at cberger.net
Thu Dec 10 11:29:58 CET 2009
On Thursday 10 December 2009, Dmitry Kazakov wrote:
> 1) Is there any link to read about INDEPENDENT_CANVAS?
> 2) Well, is there any way to move painting decorations and overlay outside
> of paint event? We could prepare your QImage outside paint event, and just
> copy it to the widget inside paintEvent? Is this possible?
Sure. painting decorations takes a QPainter, so we can work outside the paint
event. And it is an excellent idea, the less is done in the paintEvent the
better. And as long as we don't use a QPixmap, it is even a good idea to do it
in a thread.
More information about the kimageshop