#no triggers means not editable (you can stil use ctrl c to copy) self.tableWidget.setEditTriggers(QtWidgets.QTableWidget.NoEditTriggers)