-
Suggestion
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
5.13.0 RC 3, 5.14.0 RC2, 5.15.2, 6.0.0 Beta2
-
None
There is currently no separate function for the start index of the selection. For example QListwidget have got five functions that can change current position/
setCurrentIndex(const QModelIndex &)
setCurrentItem(QListWidgetItem *)
setCurrentItem(QListWidgetItem *, QItemSelectionModel::SelectionFlags)
setCurrentRow(int)
setCurrentRow(int, QItemSelectionModel::SelectionFlags)
But only one can change current selection start index. This function is setCurrentIndex defined in (void QAbstractItemView::setCurrentIndex(const QModelIndex &index)).
it would be great if you add function setCurrentSelectionStartIndex(const QModelIndex &index)
wich can change currentSelectionStartIndex (defined in QAbstractItemView)
it is necessary for implement some internal selection mechanism.
Now it is very difficult to do!
thank you!