Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

QModelIndex QItemSelectionRange::topLeft (  )  const [inline]

Returns the index for the item located at the top-left corner of the selection range.

See also:
top(), left(), bottomRight()

Definition at line 54 of file qitemselectionmodel.h.

Referenced by intersect(), QTreeView::visualRegionForSelection(), QListView::visualRegionForSelection(), and QTableView::visualRegionForSelection().

{ return QModelIndex(tl); }

Generated by  Doxygen 1.6.0   Back to index