I have a QListView and need to access (or calculate) the dimensions of the contents in pixels (not the viewport() but it's contents). I have successfully done such a thing with the verticalHeader and horizontalHeader of a QTableView in the past, but I have no such header information available to me here.
It occurred to me that the scroll bars must have this information available to them somehow, otherwise they could not scale appropriately as I resize this QListView; i.e. if the viewport is too small it must calculate the ratio of the viewport dimensions to the content dimensions.
Does anyone have insight as to how the scroll bars get this information?
Bookmarks