So I am making a kind of large app,which will be used by many people.
In a seperate widget(class) I have put a tablewidget which is empty.
User can use this tool to store data and save it.

What I mean by "save", is that once some text is entered,it will be there next time the user opens the program.
Then he might edit all the fields,add/remove colums/rows etc..

The key part here is to make the fields saveable

I have no idea how to do this..maybe there is some text file,so that I save all the data there,then read from it..or something else?

Please help.