Results 1 to 5 of 5

Thread: QTreeView and spanning columns

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2013
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QTreeView and spanning columns

    Well, I haven't found a good solution, but a way to to it.

    I call setFirstColumnSpanned() directly from my model from the data() method when this item is accessed.
    Of course, the model needs to know its view ... and this causes a bit headache but it works for me.

  2. #2

    Default Re: QTreeView and spanning columns

    Hi, can you please post here how did you call the function setFirstColumnSpanned from the data() function. I am having similar problem but didn't find any solution to this.

Similar Threads

  1. Replies: 1
    Last Post: 4th July 2008, 17:17

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.