Hi there folks!
I know that to remove a given record from a model, I would need to provide the record to remove. The problem is that the record to be removed is one selected by the user in a table view (obviously linked to the model).
How would I obtain an integer for the row number, that can be used in the following way:
model->removeRows(int row, int count)
model->removeRows(int row, int count)
To copy to clipboard, switch view to plain text mode
As usual sample code and an explanation would be very much appreciated.
Thanks in advance,
Bookmarks