Qt 6.11 is out! See what's new in the release
blog
QHeaderView - suppress "descending" sorting
General and Desktop
1
Posts
1
Posters
1.9k
Views
1
Watching
-
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.