PDA

View Full Version : how to display one image on centre of another image?



lekshmi
24th August 2011, 12:55
hi
can any one tel how to show an image on the centre of another image on mouse click?

Rachol
24th August 2011, 14:09
To handle mouse click you just reimplement
void QWidget::mousePressEvent ( QMouseEvent * event ).
There are however many different ways of displaying one image on top of another. So please describe your case more and maybe we can then help you. On the other hand, Qt Assistant is a great help for beginners.