QCanvas is unable to keep back the focus:

Hi Buddies,

In my application QCanvas automatically lose its focus in many situations.

Example :
whenever I try to minimize and maximize the application the QCanvas automatically lose its focus to the next QWidget.

Any help..

Thanks in Advance.