Important: Please read the Qt Code of Conduct -

QSortFilterProxyModel - set flags

  • How can I programmatically trigger a refresh of the flags routine for the QSortFilterProxyModel? I have a condition in my application that controls the Qt::ItemIsUserCheckable flags. My proxy model has a public flags function but requires a QModelIndex which I do not have when the condition is changed.

    Thanks for your help!

Log in to reply