Can't get this to work. Model and view have already been defined and view shows data - header looks fine.
Qt Code:
view->setHorizontalHeader(header); QByteArray ha; ha = header->saveState();To copy to clipboard, switch view to plain text mode
Compiles fine, runs with no errors.
Problem is the array is empty, but has size 426. No values in it.
What am I doing wrong?




Reply With Quote
Bookmarks