Quote Originally Posted by xerionn View Post
Is there any way to set some of the colums of my model to not be editable ?
Yes, reimplement QAbstractItemModel::flags() for your model and make sure ItemIsEditable is not returned for indexes from those columns.

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 ?
Reimplement either QAbstractItemDelegate::createEditor() or QAbstractItemDelegate::setEditorData().