I use QTableView + QStandardItemModel to show some data (data stored in some other data structure), and this table view is sortable.
Since it is sortable, when sorting this model, I also need to sort the order of stored data. I try to implement a slot for the sorting signal, but I don't know what signal is emitted when clicking the header to start the sorting action.
I tried the clicked signal, but it's only emitted for data row, not for the headerData. what should I do if I want to do something else while sorting the QtableView + QStandardItemModel ?