The property can't work: QSortFilterProxyModel.sortCaseSensitivity doesn't change the pattern and the superclass doesn't have any signals, making it impossible to manually update the results.
We 'could' consider overriding the property to make this work. However, I'm not sure it's particularly useful: in your example, new RegExp("^" + searchTerms, "i") achieves the same as setting the superclass property, as does using a literal regular expression such as /^B/i.
The property can't work: QSortFilterProx yModel. sortCaseSensiti vity doesn't change the pattern and the superclass doesn't have any signals, making it impossible to manually update the results.
We 'could' consider overriding the property to make this work. However, I'm not sure it's particularly useful: in your example, new RegExp("^" + searchTerms, "i") achieves the same as setting the superclass property, as does using a literal regular expression such as /^B/i.