Hi all,
I played a little bit around with the tutorials and I wondered how to set the TreeView from the TreeModelCompleter as read only...

Some kind of:
Qt Code:
  1. ~Qt::ItemIsEditable
To copy to clipboard, switch view to plain text mode 
...

If I try to overwrite the
Qt Code:
  1. Qt::ItemFlags
To copy to clipboard, switch view to plain text mode 

I get an error, because I can't have a multiple Inheritance with QObject.

I hope you can help me to understand that!
best Regards