Qt QTableView and horizontalHeader()->restoreState()
Posted
by cheez
on Stack Overflow
See other posts from Stack Overflow
or by cheez
Published on 2009-07-22T04:13:00Z
Indexed on
2010/04/03
22:43 UTC
Read the original article
Hit count: 342
qt
|qtableview
I can't narrow down this bug, however I seem to have the following problem: - saveState() of a horizontalHeader() - restart app - Modify model so that it has one less column - restoreState() - Now, for some reason, the state of the headerview is totally messed up. I cannot show or hide any new columns, nor can I ever get a reasonable state back
I know, this is not very descriptive but I'm hoping others have had this problem before.
© Stack Overflow or respective owner