sorting - Qt QTreeWidget preserve sort -


How do you implement a sort sort in Qt QTreeWidget? To wit. I would prefer the previous order of the protected tree as much as possible. This allows the user to click on the "Name" column header and then click on the "Date" column header, and as a result the tree shows the item in the curie room by date and date. Unfortunately, you can not do

Normally, you can Within the QAbstractItemModel you want to implement one.

subclass. A constant type will leave those things whose position is not needed to change in the same place.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -