Use file handling technique to save the file.
Use getter method to get the text from the textedit i.e. getText(), and for combo box use getvalue() and save these value to temp and write it into the file through file handling.
I think you know file handling or you can search through the internet.
Bookmarks