Hi, i'm saving a qlist with columns order of tree widget(logical index of a column is a key, and visual index is a value), but when i trying to read it back and set the columns order as it was in previous session it changes order but not as it should. I found only swapSections & moveSections methods in QHeaderView, but when i have about 20 columns i can't figure it out what should I swap with what.
Can anybody help?
Bookmarks