Hello, I have a custom model and a custom proxy model for it.
I have noticed that I the removeColumns virtual function does not propagate to my model
bool CustomProxy
::removeColumns (int column,
int count,
const QModelIndex & parent
) {
// source model is a custom model derived from QAbstractTable
return sourceModel()->removeColumns(column, count, parent);
}
bool CustomProxy::removeColumns (int column, int count, const QModelIndex & parent)
{
// source model is a custom model derived from QAbstractTable
return sourceModel()->removeColumns(column, count, parent);
}
To copy to clipboard, switch view to plain text mode
is this normal?
I would expect the proxy to propagate the removeColumns(...) to its source model by default
Bookmarks