Qt 6.11 is out! See what's new in the release
blog
How to signal column span from the model?
-
I want my model to be able to tell the view to span certain columns on certain rows.
QAbstractItemModel::span looked promising, but the documentation states "Note: Currently, span is not used."
I could implement a callback from the view and have the model call it when data should span columns, but that feels clumsy. Or maybe I could fudge something with a Qt::UserRole, but again that feels clumsy.
What is the accepted way to have a model signal spanning to a view?