problem in using QPainterPath class??