Yes, reimplement QAbstractItemModel::flags() for your model and make sure ItemIsEditable is not returned for indexes from those columns.
Reimplement either QAbstractItemDelegate::createEditor() or QAbstractItemDelegate::setEditorData().Also my second column contains double variables. When you click to it you get a QDoubleSpinBox but it only allows 2 decimals ! How can i change that to lets say 5 ?
Bookmarks