Quote Originally Posted by poporacer View Post
1) a way to iterate through a tableview to get the data. (in QModelIndexClass this will list all items?)

2) how to go to the specified cell and highlight the background color.

3) How to identify the items displayed in the tableView to get the data to populate the html code (the table view can hide several columns and if I use QModelIndex I will have to iterate through each hidden column and check if it is hidden?)
1. You can iterate with QAbstractItemModel.index(row, column) with row from 0 to QAbstractItemModel.rowCount() and column = column with the value to search for

2. Look at http://doc.qt.nokia.com/4.7/modelview.html under 2.2

3. When you only want to export the columns that are visible, then you have to check all columns if they are visible.