make row readonly tablewidget pyqt code example
Example: make row readonly tablewidget pyqt
item = QTableWidgetItem()
item.setFlags(item.flags() ^ Qt.ItemIsEditable)
tableName.setItem(row, column, item)
item = QTableWidgetItem()
item.setFlags(item.flags() ^ Qt.ItemIsEditable)
tableName.setItem(row, column, item)