viewport: Add the methods to get the visible QModelIndex
Note that it doesn't return the right result as long as the work on the ViewportAdapter isn't completed.