Results 1 to 7 of 7

Thread: Saving data from QStandardItemModel to harddrive

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2009
    Location
    New Zealand
    Posts
    54
    Thanks
    23
    Qt products
    Qt4
    Platforms
    Windows

    Default Saving data from QStandardItemModel to harddrive

    Hi,

    I have a QTableView (please see attached) that is set with a QStandardItemModel, its all working properly, and now I would like to try and save the data in the "model" to the harddrive.

    Im pretty new to Qt and not really sure where to begin, I imagine I would set up a button as a signal and attach this to some kind of "save dialog" slot, but I'm not really sure... also does the model data have to be saved in a specific format?


    Thanks
    Attached Images Attached Images
    Last edited by Ferric; 18th January 2010 at 22:41.

Similar Threads

  1. QStandardItemModel Help
    By frenk_castle in forum Newbie
    Replies: 1
    Last Post: 16th January 2010, 17:54
  2. Saving hierarchical structures of data.
    By psih128 in forum Qt Programming
    Replies: 1
    Last Post: 30th July 2009, 08:33
  3. Saving pure plot data to image file
    By Debilski in forum Qwt
    Replies: 4
    Last Post: 7th April 2009, 17:02
  4. Display data from QStandardItemModel in QTreeView
    By jprice01801 in forum Qt Programming
    Replies: 7
    Last Post: 10th January 2007, 09:34
  5. Record update windowd entered data saving
    By MarkoSan in forum Qt Programming
    Replies: 56
    Last Post: 18th January 2006, 18:50

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.