How to disable Edit mode in the QTableView?

Viewed 26889

I am using QTableView. It's working fine. But the problem is that if I double click the cell then it changes into edit mode. I need to disable the edit option. How to do that?

3 Answers
Related