Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/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