Minor update the QTableWidget

Now the QTableWidget items are used to generate the files.