How a TableWidget /TableWidgetItem can be made to readonly / non-editable?
Thanks & Regards,
Arun
How a TableWidget /TableWidgetItem can be made to readonly / non-editable?
Thanks & Regards,
Arun
See the link http://www.qtcentre.org/forum/f-qt-p...item-9762.html
hope its help.
Anurag Shukla
A man who never makes mistake is the man who never does anything! Theodre Rosvelt!
arunvv (5th February 2008)
I have one more query ?
How to set particular TableWidget cell for given row, column to read only, instead of whole table.
I want to set some of the cells to read only, and other cells open to read/write.
Thanks & Regards,
Arun.
Just like it is advised in that thread; use QTableWidgetItem::setFlags().
J-P Nurmi
You might also want to look at the model/view approach if you are viewing data differnt than it is stored.
Bookmarks