Hi,

On Wednesday 13 June 2012 17:27:20 Carl Schumann wrote:
> Where MccModel subclassed from QAbstractTableModel.    This did not
> work, specifically it displayed the whole long rich text string in
> black.   How should I be doing multicolored table cells please?

Use a custom delegate instead: derive a class from QItemDelegate and override 
the paint method to do your custom drawing. If you want to use rich text you 
can for example use QTextDocument::drawContents as a helper.


        Konrad

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to