PDA

View Full Version : QTreeView- editable cells



Pawello
13th September 2012, 12:01
Hi,
I've made program using QTreeView, but data in all cells can be edited by user after doubleclick. How can I disable this utility- I don't want any changes of data made by user. I haven't found anything in documentation. Thanks a lot.

wagmare
13th September 2012, 12:17
check
http://doc.qt.nokia.com/4.7-snapshot/itemviews-simpletreemodel.html
no cells are allowed to edit ... but not in QTreeView ..