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?
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.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.