QItemSelectionModel *selectionModel = mainTable->selectionModel();disconnect(selectionModel, 0, 0, 0);
setFocusPolicy(Qt::NoFocus);
C++ (Qt)void QAbstractItemView::setItemDelegate ( QAbstractItemDelegate * delegate )