PDA

View Full Version : Saving QTableView Column Widths



stefanadelbert
24th February 2010, 05:40
I need to be able to persist save certain charateristics of a QTableView, e.g. column width and column position. I'm already using QSettings in the project, but just to store QMainWindow state and geometry. Is there a good/clever way of storing the layout of a QTableView in QSettings?

mattc
24th February 2010, 17:23
See here:
http://www.qtcentre.org/threads/26675-QTableView-saving-restoring-columns-widths