See in the middle of post http://www.qtcentre.org/threads/2777...getItem-how-to There you find a small code. Do the richt text painting in the paint method.