[Interest] Item position from a QListview in an QStyledItemDelegate

norulez at me.com norulez at me.com
Tue Mar 27 22:36:32 CEST 2012


The idea was to change the font and/or text color for an element. Let's say in column 3 and in row 4.

The QListView shows the items in QListView::IconMode and with the setting QListView::TopToBottom.

Is this possible with an QStyledItemDelegate?
And if so, how?

Best Regards

Am 27.03.2012 um 09:11 schrieb norulez at me.com:

> Hi,
> 
> is there a way to find out the item position (column/row) from an item in a QListView in IconMode? Or maybe in the ItemDelegate?
> 
> Thanks in advance
> 
> Best Regards
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest



More information about the Interest mailing list