Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

make row readonly tablewidget pyqt

item = QTableWidgetItem()
item.setFlags(item.flags() ^ Qt.ItemIsEditable)
tableName.setItem(row, column, item)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #row #readonly #tablewidget #pyqt
ADD COMMENT
Topic
Name
7+3 =