decided to use QPainter.