Details
-
Suggestion
-
Resolution: Done
-
P4: Low
-
None
-
5.3.1
-
None
Description
It would be nice of documentation of QItemSelectionModel::selectedRows(int row =0) also tells if the returned list is sorted or not as it clearly mentions in case of selectedIndexes() that it is not sorted.
Similarly in case of QModelIndex::operator<(const QModelIndex & other) says it will return true if this model index is smaller than the other model index; otherwise returns false.
What does smaller means here? does it means:
QPair<int,int>(lhs_index.row(),lhs_index.row())<QPair<int,int>(rhs_index.row(),rhs_index.row()) ?