PDA

View Full Version : UI issue.



kaushal_gaurav
13th August 2008, 10:49
Hi,

i need to create a table view which has rows in alternate colors. and in between the rows i need to have a row for seperate category. The data is to be fetched from a model. I also need a check box in first column.

Please see the attached image.

help !!!!

Regards,
GK

spirit
13th August 2008, 11:18
try to create you own delegate.
QItemDelegate

kaushal_gaurav
13th August 2008, 12:41
How would delegates help the cause.
How would i find where to setSpan in QTableView.
Means say i sort on one column and i want the after each category of items in that column a row comes where there is a label for next category (the items to follow in next rows).

Please help.