how can i sort by myself when i click the header? on QTreeWidget
General and Desktop
3
Posts
2
Posters
661
Views
2
Watching
-
when i setSortingEnabled(true), i can click the header, and it will sort ascending or descengding, but it's just sort by the name, and do not care anything else.
how can i sort by myself when i click the header?
i want to sort by the name on basis of the item type(eg, dir, and files).
thank you -
when i setSortingEnabled(true), i can click the header, and it will sort ascending or descengding, but it's just sort by the name, and do not care anything else.
how can i sort by myself when i click the header?
i want to sort by the name on basis of the item type(eg, dir, and files).
thank you