I briefly tried to do this in the same way that basesqltablemodel does it, but that didn't work because basesql derives from QAbstractItemModel, whereas browse derives from QStandardItemModel, which implements headerData itself. I believe it's not possible to override headerData, because the call to the function (via a pointer to QAbstractItemModel, probably) will end up at QStandardItemModel's implementation. So this needs to be rewritten to use the abstract model, which will require some more boilerplate.
I briefly tried to do this in the same way that basesqltablemodel does it, but that didn't work because basesql derives from QAbstractItemModel, whereas browse derives from QStandardItemModel, which implements headerData itself. I believe it's not possible to override headerData, because the call to the function (via a pointer to QAbstractItemModel, probably) will end up at QStandardItemMo del's implementation. So this needs to be rewritten to use the abstract model, which will require some more boilerplate.