QHeaderView - suppress "descending" sorting



  • 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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.