My app is phonebook(educational purposes). When user opens application, QTableWidged is filled with data loaded from .xml file. When user add new phone number, I would like to append this number to QTableWidget, but previously I setRowCount to current value, and now it is one row to little. How can I solve this problem?
My app is phonebook(educational purposes). When user opens application, QTableWidged is filled with data
Share
Doing something like this should work:
This will append a row to the end of your table. You can use the insertRow() function to insert new rows into the middle of your table as well.