Results 1 to 2 of 2

Thread: Saving QTableView Column Widths

  1. #1
    Join Date
    Feb 2010
    Location
    Sydney, Australia
    Posts
    111
    Thanks
    18
    Thanked 5 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Question Saving QTableView Column Widths

    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?

  2. #2
    Join Date
    Apr 2009
    Location
    Italy
    Posts
    70
    Thanks
    23
    Thanked 15 Times in 11 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Saving QTableView Column Widths


Similar Threads

  1. QTableView: saving/restoring columns' widths
    By mattc in forum Qt Programming
    Replies: 1
    Last Post: 17th December 2009, 23:05
  2. Dynamic Sizing of QTableView Column Widths
    By tntcoda in forum Qt Programming
    Replies: 1
    Last Post: 17th June 2009, 19:30
  3. Coloring a QTableview column
    By Potch in forum Qt Programming
    Replies: 2
    Last Post: 5th April 2009, 00:18
  4. auto resizing column/row widths
    By raman_31181 in forum Qt Programming
    Replies: 2
    Last Post: 11th September 2008, 19:16
  5. Index (position) changed on saving with QTableView
    By Auryn in forum Qt Programming
    Replies: 2
    Last Post: 22nd July 2008, 09:15

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.