Thank you for helping me.
Now the new column is displaying. With the name: "Notifications". Perfect.
But no contents of the new column is displaying. I expects that there are displaying random numbers.
In the overwritten
QVariant QFileDialogProxyModel::data(const QModelIndex &index, int role/* = Qt:

isplayRole*/) const[LIST]
method I have added a breakpoint to
return QString::number(rand() % 10); // add custom column! at the moment a random number
but the Debugger do not stop here.
And I cannot choose a file anymore. I can select a file, but no file is displayed in the "File Name" QLineEdit and the "OK" Button is disabled.
Bookmarks