Shaitan
10th July 2007, 13:06
Hi all,
I have a QTableView which can be edited by the user, but there is an index column that canīt have duplicated cells (each row has an unique ID).
For this, i check the contents of the edited cell and search in the index column for it.
The problem is that if i find duplicates, i want to revert to the previous data in that cell.
Iīve been trying to write a QString with the cell gets active with its contents, (signal activated), but it never throws this signal... Is there other way to know when a cell gets selected??? (something like a signal for knowing when a cell gets focused)
Thx!!!
I have a QTableView which can be edited by the user, but there is an index column that canīt have duplicated cells (each row has an unique ID).
For this, i check the contents of the edited cell and search in the index column for it.
The problem is that if i find duplicates, i want to revert to the previous data in that cell.
Iīve been trying to write a QString with the cell gets active with its contents, (signal activated), but it never throws this signal... Is there other way to know when a cell gets selected??? (something like a signal for knowing when a cell gets focused)
Thx!!!