currently im using SortRule in my QStandardItemModel that is based on Qt::UserRole
but this definition is globally to all the treeview .
can i define different sort rule to each set of vertial cell's ?
so for example if i have:
@m_model->setHeaderData(0, Qt::Horizontal, QObject::tr("Group"));
m_model->setHeaderData(2, Qt::Horizontal, QObject::tr("Id"));@
the first Group cells will be sorted by Qt::UserRole and the second Id will be sorted by Qt::DisplayRole