Thanks a lot for your helps. I've reimplemented sizeHint function. Now, the size of JBalloonTip is correct but it's shape is the rectangle. It is not shown balloon shape. It seems like the call of QPainter::drawPath is ineffective on paintEvent function?

Is there anyone created a widget shaped like attached image, is it a doable work with Qt?