PDA

View Full Version : [Solved] QTableView - How to get content from edited cell



VOT
4th October 2015, 12:37
Hello,
Does anyone know how would I get the currently edited cell's content in a QTableView? I need to know so then I can make these changes to my QSqlTableModel.

Thanks,
VOT.

anda_skoa
4th October 2015, 12:38
The table view, or rather the item delegate used by the view, should already call your model's setData() method.

Cheers,
_

VOT
4th October 2015, 13:20
Thanks, that was the answer to my problem :)