You do it wrong if you generate pixmaps inside any of the delegate methods (draw, draw ...).
Try to generate thumbnails only once (in a workflow or maybe not even at runtime), and the delegate simply displays them for the corresponding role.
If you do this at runtime, show the default image until a thumbnail has been created (for example, web browsers will not be loaded with pictures that are not already loaded).
kokos source
share