Quote Originally Posted by wysota View Post
I meant to not use grabWidget to get the image as you already have it. Why duplicate it?
The m_pm pixmap is the image in one window where I move the mouse. Then in other window 'zoomWindow', the area of the mouse pointer covered is shown. For this I need to have a part of m_pm pixmap only. This part is basically the 'pasteRect'

I used grabwidget to get that part 'pasteRect' of area from m_pm.

If still I'm wrong anywhere, please correct me. If possible with modification in above code.
I'll be thankful to you.

Thanks