PDA

View Full Version : ReadOnly problem for QTableView



omprakash
17th July 2008, 15:57
Dear friends,
i have used QTableView in my application.
I want the table to be read only..
but i am not able to do that.
in qt3 i have done it just by setting the property..
but in qt4.3 i am not finding that property..
please help me..

caduel
17th July 2008, 16:02
Try setting QAbstractItemView::setEditTriggers() to QAbstractItemView::NoEditTriggers