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

bool QItemSelectionRange::isValid (  )  const [inline]

Returns true if the selection range is valid; otherwise returns false.

Definition at line 74 of file qitemselectionmodel.h.

Referenced by indexes(), intersects(), QItemSelectionModel::selection(), QTreeView::visualRegionForSelection(), QHeaderView::visualRegionForSelection(), QListView::visualRegionForSelection(), and QTableView::visualRegionForSelection().

        return (tl.isValid() && br.isValid() && tl.parent() == br.parent()
                && top() <= bottom() && left() <= right());

Generated by  Doxygen 1.6.0   Back to index