I have a QTreeView wich is alread connected to a Model (QStandardItemModel), so the Tree is filled and I can display it.
When I double click on the items, the item edit mode is opened, where I am able to modify the fields content.
I do not want to do that!
I appreciate any help, Sincerly
For 1.
QStandardItem* item = new StandardItem(QString(itemNameString));
item->setEditable(false);
But here, you have to set that for each field, when building up your QStandardItemModel. I don't know, if that is effective for you? Possibly not, when there a too many entries?
For 2. try
ui->treeView->setSelectionBehavior (QAbstractItemView::SelectRows);