How can the visible rows/columns of a QTableView (and QTreeView) be determined?
More specifically, how can a QModelIndex be created for the currently visible top-left and bottom-right items?