Results 1 to 8 of 8

Thread: store QlistWidget

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    3
    Thanked 453 Times in 435 Posts
    Wiki edits
    15

    Default Re: store QlistWidget

    It is not very clear what you want, this what I understand

    1. If you want to store data when app exits, and restore data when app starts, then you can QSettings to save and restore data (Note that you can only save data in QListWidget / QListWidgetItem, you cannot save QListWidget / QListWidgetItem itself)

    2. If you want to store data when internet is disconnected, and restore data when internet restores, then you can use a container to store QListWidgetItem, using QList<QListWidgetItem*> (this would work if item is not already added to table)
    Last edited by Santosh Reddy; 15th July 2011 at 09:32.

  2. The following user says thank you to Santosh Reddy for this useful post:

    jindoniit (15th July 2011)

Similar Threads

  1. Mac App Store
    By serkol in forum Installation and Deployment
    Replies: 20
    Last Post: 1st December 2011, 12:29
  2. Replies: 2
    Last Post: 1st April 2011, 09:32
  3. store number in QByteArray
    By sattu in forum Qt Programming
    Replies: 2
    Last Post: 20th January 2011, 13:27
  4. Query - how to store ?
    By damodharan in forum Qt Programming
    Replies: 2
    Last Post: 31st May 2010, 12:59
  5. Turn off backing store
    By Rayven in forum Qt Programming
    Replies: 4
    Last Post: 8th February 2007, 18:01

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
  •  
Qt is a trademark of The Qt Company.