QTreeView::setFirstColumnSpanned() for all attached views of a model

  • The user can insert an item in a QAbstractItemModel (beginInsertRows and so on). Now I would like to call setFirstColumnSpanned() on all attached views (depending on some type of inserted item).

    How can I run some code on all attached views or is there some different approach?

    Thank you!

  • [quote author="Chris Kawa" date="1417438027"]

    There's no need to do anything that radical.


    Ok, this one is working.
    But what about
    This is happening in my case too.

    Thanks again,

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.