View Full Version : Save added Data to a GUI

8th June 2010, 16:18
Hello everybody! I have a question... I am making a GUI which an user is able to add data to a QWidgetTree, however If the user adds an Item and then re-opens the GUI the item is no longer there.. how can I make the program save the item that is added once the user closes the program and then opens it again??

thanks in advance! :)

8th June 2010, 16:27
Well, you have to save the data, and load it when the GUI loads again.
Have a look at QSettings.