I have bound a QFileSystemModel to a QTreeView. The QFileSystemModel has readOnly set to false so the user can rename files... However I don't want the user to accidentally rename a file and forget its extension as that will result in its exclusion from the QTreeView since I am filtering the file types...
How can I hide the file extensions keeping the rename functional ?
Thanks
try reimplement
data()
andsetData()
for roleQt::EditRole
: