The PyQt documentation and the Qt documentation contradict each other. Let <i> be an QListViewItem and <lv> a QListView. Then Qt original documentation: