[Interest] Rich text in item views

Philippe philwave at gmail.com
Fri Dec 20 12:04:21 CET 2013


I was not searching for a way to avoid delegates, but for a way of
painting. It seems I have found some hints now...

http://qt-project.org/faq/answer/how_can_i_have_richtext_in_my_qtableview

Philippe

On Fri, 20 Dec 2013 12:00:18 +0100
André Somers <andre at familiesomers.nl> wrote:

> Philippe schreef op 20-12-2013 10:07:
> > I would like to paint rich text in item view cells. I am aware of all
> > the delegate stuff to paint custom item cells, etc. but I am not aware
> > of any public Qt class that could paint rich text.
> >
> > Any hint?
> That delegate stuff is really your only way. There is no rich text 
> painting in any of the standard classes provided by Qt for item view. 
> Alternatively, considder if you could use a Quick view for your item 
> view. In QML, making fancy delegates is easy, including displaying rich 
> text.
> 
> André
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest





More information about the Interest mailing list