How to implement transparent pencil tool in Qt?

Printable View