PDA

View Full Version : How to display a images use mosaic foramt?



longtrue
7th May 2008, 08:35
I want to display some images using QGraphicsView:A picture display on it by 2 seconds.Then other picture display on it 2 seconds.Between two picture i want to using a mosaic format(or other style) to cover the first picture.How to do it? Thanks.

ashukla
7th May 2008, 13:59
i want to using a mosaic format(or other style) to cover the first picture
Can you explain further in simple words? Whats you want?

jpn
13th May 2008, 09:40
There is no readily available helper class or function in Qt to achieve mosaic effect with two images. You need to do it by hand with QTimer and QPainter::drawPixmap() with suitable source and target rects.