Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-40726

It would be nice if documentation of few methods has more information

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P4: Low
    • None
    • 5.3.1
    • Documentation
    • 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()) ?

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vertries Nico Vertriest (Inactive)
            qtcomsupport Qt Support
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes