Adding a blank row to table on successful editing of the last cell of the last row
Hi
I have used QTableView and created a custom model by inheriting QAbstractTableModel.
Now my requirement is when user edits the last cell of the last row...a new blank row must be added to the table.
I am very new to the QT programming...It would be really helpful if you can give me steps in detail like what signal and slot i need to use, adding row and updating the model and ui etc etc
Thanks in advance
Naag
Re: Adding a blank row to table on successful editing of the last cell of the last ro
You will need to add the row / item to the model , and then emit a signal from the model that it has changed.
Re: Adding a blank row to table on successful editing of the last cell of the last ro
could you please gimme steps to do that.
Thanks in advance
Regards
Nagesh