Results 1 to 2 of 2

Thread: save last configuratioon

  1. #1
    Join Date
    Jan 2011
    Posts
    8
    Qt products
    Qt4
    Platforms
    Unix/X11

    Exclamation save last configuratioon

    hey, i have a problem.. here's the scene..i have two buttons: enable and disable button for my project..i want to enable the flash drive blocker so i clicked the enable button, then the button became disabled or not visible, then i closed it. after sometime i open again the dialog, but the enable button was visible.. how can i store the phase of the button when i close the program?

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: save last configuratioon

    QSettings is the usual method. You can save a simple setting like this each time it changes or, for more complex states, you should look in Assistant under "Session Management"
    Last edited by ChrisW67; 21st February 2011 at 06:59.

Similar Threads

  1. qt save
    By doss in forum Qt Programming
    Replies: 2
    Last Post: 3rd April 2009, 07:53
  2. MYSQL save changes
    By eleanor in forum Qt Programming
    Replies: 3
    Last Post: 7th October 2007, 13:27
  3. How to Save....
    By merry in forum Qt Programming
    Replies: 3
    Last Post: 15th March 2007, 12:56
  4. How to save?
    By merry in forum Newbie
    Replies: 7
    Last Post: 13th March 2007, 07:56
  5. What does "Save All" actually save?
    By Mariane in forum Newbie
    Replies: 7
    Last Post: 31st January 2006, 13:23

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.