SelectionModel.selectRange

bool selectRange(uint position, uint nItems, bool unselectRest)

Requests to select a range of items in the model.

Parameters

positionthe first item to select
nItemsthe number of items to select
unselectRestwhether previously selected items should be unselected

Returns

true if this action was supported and no fallback should be

tried. This does not mean the range was selected.