Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QHeaderView - suppress "descending" sorting
yshurik last edited by
I have some heavy model which is applied to QTreeView through QSortFilterProxyModel.
There are few columns and I need to have sorting by them - user clicking on appropriate sections in QHeaderView.
But I need to suppress Ascending/Descending within single column - Need to disable Descending.
How it can be implemented? - I do not see appropriate API in QHeaderView.