Quote Originally Posted by JohannesMunk View Post
That's right. But the default implementation obviously returns the outer rectangle. If you want something different, here is the place to change it.

Joh
Maybe that's the problem: I do not know how to reimplement the two methods, because I have no idea how to get the inner outline of the PNG picture and return it as QPainterPath, any idea?