Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QTreeView::setFirstColumnSpanned() for all attached views of a model
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 1.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tgru
    wrote on last edited by
    #1

    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!
    Thomas

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tgru
      wrote on last edited by
      #2

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

      There's no need to do anything that radical.

      [/quote]

      Ok, this one is working.
      But what about
      https://bugreports.qt-project.org/browse/QTBUG-31384
      This is happening in my case too.

      Thanks again,
      Thomas

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved