On button clicked I am painting the pixmap on window and masking it according to pixmap. The problem is when i am clicking the button the masking of widget is working fine in windows but in MAC the problem is coming. Some transparent pixels is visible outside the widget area.