You have to deal with QTextDocument, but it might be easier to subclass QGraphicsTextItem and draw the border...
Forum Rules
Bookmarks