0

How to save data and use again

think have a mainwindow with a qlinedit and a combobox, and a add button, we write our family members name in qlineedit and add to combobox, but when close mainwindow(application) and run again we didnt see any family member in combobox, how we should write code to work correctly.

15th Feb 2017, 4:39 PM
hamid
hamid - avatar
2 Answers
+ 2
Save data in seperate file like txt. And when you launch your app, load the txt file and build up your ui according to it.
15th Feb 2017, 4:52 PM
Sungmin Woo
Sungmin Woo - avatar
0
I caaaaaaaan :))))))). thaaaaank
15th Feb 2017, 5:01 PM
hamid
hamid - avatar