This is not a Qt question as far as I understand.

1. use QFile to store the project data(as xml file)
2. or hold your project data as a member of your tab's parent widget.